struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From niels <nielss...@gmail.com>
Subject struts2: sent value to freemarker template
Date Wed, 09 Jan 2008 14:51:05 GMT
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


Thanks in advance,
NIELS




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message