You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "J. Garcia" <jo...@gmail.com> on 2012/10/13 11:08:28 UTC

additional params for tags in JSP

Hi,
If I want to have an additinal attribute, say, in a textfield tag, in a
JSP, and use it in the freemarker template for the corresponding tag,
text.ftl:

- can it be done without extending the tag library?
- how are the additional attributes passed in the JSP?
- how are they retrieved in the corresponding freemarker template?

Cheers,
J. Garcia

Re: additional params for tags in JSP

Posted by Lukasz Lenart <lu...@apache.org>.
2012/10/13 J. Garcia <jo...@gmail.com>:
> Hi,
> If I want to have an additinal attribute, say, in a textfield tag, in a
> JSP, and use it in the freemarker template for the corresponding tag,
> text.ftl:
>
> - can it be done without extending the tag library?
> - how are the additional attributes passed in the JSP?
> - how are they retrieved in the corresponding freemarker template?

Dynamic Attributes ? I cannot find more info, just this [1] but I'm
sure there were more (I wrote something about that)

[1] http://struts.apache.org/2.x/docs/freemarker-tags.html


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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