> I'm not sure I understand your point. The only way to create, 
> say a text 
> area in a cell with display tag is to have a decorator to do 
> this. The 
> decorator will then have to create the HTML code for the text 
> area. For 
> this text area to be usable as a form input I need to be able 
> to specify 
> the name - the name to be used has to be specified in the 
> HTML for the 
> text area and therefore needs to be know in the decorator. If the 
> decorator can't work out what to call the text area you cannot use it 
> for the form.

Just use the implict object support in the 1.0 tags, like:

<display:table name="peopleList" id="person" varStatus="status">
<display:column title="name"> <input value="<c:out
value="${person.name}"/>" name="<c:out value="${status.count}"/>"/>
</display:column>
</display:table>

Where varStatus is an unimplemented feature; the alternative
would be to just hold a i++ counter of the iterations.

> 
> Using tables with editable areas is a common solution to data entry - 
> very common. The reason I am so interested in extending 
> Display Tag to 
> use this is that 90% of the data entry in the webapp I 
> develop at work 
> uses table-based display. I'm not even sure I'm asking for 
> the display 
> tag to do much more than it was designed for. I want to write a 
> decorator to do this, but the decorator doesn't get enough contextual 
> information to be able to name the form controls. If I had a similar 
> amount of information as is provided to Swing's TableCellRenderer it 
> would be a very simple matter to write the required ColumnDecorator.
> 
> -- 
> sam
> http://www.magpiebrain.com/
> 
> 
> 
> 
> -------------------------------------------------------
> 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/ 
> _______________________________________________
> displaytag-devel mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-devel
> 
> 


-------------------------------------------------------
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/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to