Re: some escape character

2006-08-04 Thread Barbara Baughman
When in doubt, I find the most straightforward way to do it is to: #set($q='') #set ($AJAXurl = $link.setAction(ShowRegionAddForm)) #button(ADD javascript:retrieveURL($q$AJAXurl$q))br This approach takes less brainpower to implement and is easier to read than escape characters, which I don't

Re: some escape character

2006-08-04 Thread dizzi
Oh as i wrote - simple solution, thx :) Have a nice day On Fri, 04 Aug 2006 15:45:23 +0200, Barbara Baughman [EMAIL PROTECTED] wrote: When in doubt, I find the most straightforward way to do it is to: #set($q='') #set ($AJAXurl = $link.setAction(ShowRegionAddForm)) #button(ADD

Re: some escape character

2006-08-04 Thread Nathan Bubna
I can't recall if quote escaping was actually added to Velocity 1.5 yet or not, but i'm at least sure we came to the consensus that double quote escaping should be done as follows for backwards compatibility. #button( ADD javascript:retrieveURL($AJAXurl) At least, i think so. Perhaps someone

Re: some escape character

2006-08-04 Thread Will Glass-Husain
I don't think we currently allow this. Is it in JIRA? If not, I'll add it a bit later. Will On 8/4/06, Nathan Bubna [EMAIL PROTECTED] wrote: I can't recall if quote escaping was actually added to Velocity 1.5 yet or not, but i'm at least sure we came to the consensus that double quote