You can add <param> elements to the body of your UI tags to add more
parameters and customize your templates to use these extra parameters

> -----Original Message-----
> From: Taavi Tiirik [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 24, 2003 3:46 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] description field for ui controls
> 
> 
> I would like to add optional "description" attribute to the 
> input fields. Field description could be included in the 
> label or it could be described by a custom tag that is placed 
> just before or after the input field tag but I feel it makes 
> sense to add this to the tag itself as a separate optional attribute.
> 
> Take a look at the added picture of input fields that are 
> rendered using tags like this: #tag( TextField "label='Field 
> label'" "name='text'" "value=text" "description='Description 
> text explaining what kind of input is expected in this field'")
> 
> This requires adding getter and setter methods to the 
> AbstractUITag, modifying taglib for jsp tags and modifying 
> controlheader or controlfooter template as well. And of 
> course this feature would be entirely optional.
> 
> Well, what do you think? After all, we all want to create 
> better user interfaces for our apps.
> 
> taavi.
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to