But can you put param tags in the ww:textfield tag? > -----Original Message----- > From: Patrick Lightbody [mailto:[EMAIL PROTECTED] > Sent: Monday, November 24, 2003 10:26 PM > To: [EMAIL PROTECTED] > Subject: RE: [OS-webwork] description field for ui controls > > > Even better: > > <ww:textfield label="'label'" name="'name'"> > <param name="description" value="'desc'"/> > </ww:textfield> > > We won't be adding any more fields (style, class, or > description) to the UI tags before the 2.0 release -- but you > are free to extend the UI widgets as you need. > > Alternatively, if the ww:param syntax is too much, you could > always make your own taglib that extends TextfieldTag that > adds the correct logic. > > -Pat > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Francisco Hernandez > Sent: Monday, November 24, 2003 1:45 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] description field for ui controls > > if you dont want to modify the tag classes you could just use: > > <ww:set name="description" value="'description Text'" /> > <ww:textfield label="'label'" name="'name'" /> > > and in the templates add: > $stack.findValue("#description") > > its not as clean but it works. > > Taavi Tiirik wrote: > > 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 > > > ------------------------------------------------------- > 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 >
------------------------------------------------------- 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