Jonas Eriksson wrote:
It works for me. I'm using velocity but it should not matter (I think).
Have you tried adding the parameter directly to the tag, like
#tag (TextField "name='thename'" "params.required=true" ...)
I'm using jsp, so I can only add parameters and stuff that's defined in
the taglib file :( That's why I tried to add a ww:param tag between the
ww:form tag
In my modified controlheader.vm I then have the following check
#if ($parameters.required)
#set ($requiredParam = " req")
#end
In some other places I have used the #bodytag with external parameters,
like
#bodytag (Component "template=/views/comp/imagelist.vm")
#param("imageList" $list)
#end
In imagelist.vm
#set ($imageList = $parameters.imageList)
Yes, I have created some templates also, that works quite nice
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork