Have you tried adding the parameter directly to the tag, like #tag (TextField "name='thename'" "params.required=true" ...)
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)
About the text in the param I have no idea.
Cheers Jonas
Joris Verschoor wrote:
hello
I'm trying to extend the form tag by adding ww:param in the body of the tag, and accessing that info in form.vm, but when displaying $!parameters, I don't get any parameters i added. Any ideas on how to extend the tags, without creating new java tagfiles?
Also, I'd like to be able to put text / html in a param like: <ww:param name="body"> some html or text </ww:param>
Is this possible?
------------------------------------------------------- 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
------------------------------------------------------- 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