I use window.open(url,"selectWindow","status=no,width=610,height=480,scrollbars=no")
in JSF.
The url looks something like this :
/abcxyz.jsf?param1=value1&param2=value2
which would show in the popup window like :
/abcxyz.jsf?param1=value1¶m2=value2
The problem is, the value2
is a string which has an &
in it. Say, value2 = ab&12
. How can I make sure that the value2
is read as ab&12
and that it doesn't break after ab
because of the &
symbol?