Use a TextTemplate to deliver a config JSON or something similar. See https://github.com/wicketstuff/core/blob/master/jdk-1.5-parent/autocomplete-tagit-parent/autocomplete-tagit/src/main/java/org/wicketstuff/tagit/TagItAjaxBehavior.java#L109 for example
On Wed, Nov 23, 2011 at 8:52 PM, Philipp Schreiber <[email protected]> wrote: > Hi, > > Im porting a pure html/javascript app to wicket. The problem is that inside > the javascript some resources are referenced with a fixed path. Is there a > easy way to set these resources paths?? > > Thanks > Philipp > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/add-resources-to-javascript-tp4101004p4101004.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
