You should create a js code on the server side, this way you can pass to js
the resourceKey value at the runtime.


Andrew Moore wrote:
> 
> Hi,
> I've got a bit of javascript as below:
> Show help here
> 
> The only problem is, is that instead of just passing through
> help.username.title to the javascript method showHelp, I'm actually
> wanting to pass through
> <wicket:message key="help.username.title">help title</wicket:message>
> 
> but I just can't work out how to do it (if it's possible at all)
> It all gets very confusing with all those single and double quotes.
> 
> Anyone know how to do this?
> 

-- 
View this message in context: 
http://www.nabble.com/Putting-wicket%3Amessage-tag-into-javascript-tf4266067.html#a12141511
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to