private String buildScriptInternal ( final String url ) { StringBuilder builder = new StringBuilder ( ) ; builder . append ( "window.location.href = '" ) ; builder . append ( url ) ; builder . append ( "'; return false;" ) ; return builder . toString ( ) ; }
Creates the required script for the supplied URL