Hello, Thank you Igor. it is what I've looked for. Another solution is using VelocityPanel, which I did not wanted to use..
- paul igor.vaynberg wrote: > > you can use TextTemplateHeaderContributor to externalize the template > and define replacement vars. > > -igor > > On Fri, Oct 30, 2009 at 10:09 AM, paul wolanski <mikola...@gmail.com> > wrote: >> >> Hello Martin, >> Hmmm it looks like a little bit dirty trick, because I will have to print >> out whole initialization between <script> tags... >> I'll try to find another way to resolve that. >> Thank you for help Martin. >> I appreciate that. >> >> Cheers, >> Paul >> >> >> martin-g wrote: >>> >>> make <script> element a Wicket citizen :-) >>> <script wicket:id="myScript">...</script> >>> >>> El vie, 30-10-2009 a las 14:32 +0100, pawel wolanski escribió: >>>> Hello, >>>> Yesterday I've faced with problem with generating javascript code. >>>> On page I've inserted code: >>>> i.e.: >>>> >>>> <wicket:extend> >>>> <form><script type="text/javascript"> >>>> appInitialize("here should be generated string"); // >>>> generated string should be pasted as a param >>>> .... >>>> </wicket:extend> >>>> >>>> I want to mention, that I would not mix my application with velocity, >>>> which IMHO could be here the easiest solution.. >>>> >>>> Thank you in advance for all answers. >>>> Cheers, >>>> Paul >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>> >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/problem-with-generation-text-in-javascript-code-tp26130184p26133706.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://old.nabble.com/problem-with-generation-text-in-javascript-code-tp26130184p26163580.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org