You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Adam Gray <ad...@gmail.com> on 2012/01/27 00:26:05 UTC

Re: JavaScriptReference with TextTemplate only returns the first retrieved value

I just ran into this today.  Has this been solved yet (in 1.4)?

On Tue, Aug 23, 2011 at 10:23 PM, Doug Leeper <do...@yahoo.com> wrote:

> 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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>