RE: Mixing JSTL with scriptlet and problematic evaluation order

2004-12-14 Thread ogjunk-taglib
t; > -Original Message- > From: Rahul P Akolkar [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 8:15 PM > To: Tag Libraries Users List > Subject: Re: Mixing JSTL with scriptlet and problematic evaluation > order > > > value="Blah.do?sortId=

Re: Mixing JSTL with scriptlet and problematic evaluation order

2004-12-13 Thread Rahul P Akolkar
onclick="javascript:window.open('${encodedUrl}', ...)" > Because I couldn't find a nice JSTL solution, I tried it with a mixture > of JSTL and the scriptlet: > > ...&title=' + '<%= URLEncoder.encode("", > "UTF-8") %>' > > Guess what this results in? > Well, the scriptlet part must be getting

Mixing JSTL with scriptlet and problematic evaluation order

2004-12-13 Thread ogjunk-taglib
Hello, I have a variable in the request context that I'm accessing with JSTL. The text value of the variable is used in a JavaScript call (at the end). The problem is that the text value contains an apostrophe (a single quote). Since single quotes are used in the JavaScript call, this causes th

RE: Mixing JSTL with scriptlet and problematic evaluation order

2004-12-13 Thread Christian Taylor
g the session ID if necessary. -Christian -Original Message- From: Rahul P Akolkar [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 8:15 PM To: Tag Libraries Users List Subject: Re: Mixing JSTL with scriptlet and problematic evaluation order onclick="ja