I have encountered this issue as well...and I believe I know the reason for
this behavior.

The TextTemplateResourceReference eventually is bound to the Application
shared resources.  It never gets reset.  So the
TextTemplateResourceReference will always use the first "variables" used  to
substitute in the template.

I believe the correct way to do achieve this behavior is to couple the text
template substitution with a dynamic web resource.

Am I correct on this?

Has anyone done this before?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/JavaScriptReference-with-TextTemplate-only-returns-the-first-retrieved-value-tp1877334p3764346.html
Sent from the Users forum 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

Reply via email to