You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by zer0 <ze...@libertysurf.fr> on 2008/04/17 14:37:24 UTC

Re: struts2: sent value to freemarker template

I have the same trouble. Has anyone solve this problem ?
Thanks,


niels-15 wrote:
> 
> I want to pass a value to my fielderror.ftl
> 
> lik this:
> 
> <s:fielderror>
> 	<s:param name="foo" value="bar"/>
> </s:fielderror>
> 
> 
> 
> Does someone knows how to retrief the value in de template?
> 
> ${parameters.foo}
> 
> gives me the error:
> freemarker.core.InvalidReferenceException: Expression Expression  
> parameters.foo is undefined
> 

-- 
View this message in context: http://www.nabble.com/struts2%3A-sent-value-to-freemarker-template-tp14713516p16743959.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org