[Opensource] Setting a CSS style

Michael Rimov rimovm at centercomp.com
Fri Dec 13 12:04:43 PST 2002


At 10:42 AM 12/13/2002 -0500, you wrote:
>The problem I had with using the struts taglib is that I don't know that
>name of the input before hand.  I've nested the input tag in an
>ElementIterator tag.  I can't leave the property attribute empty with
>the struts taglib. :(
>
>I'll have time after this project to make the modifications that will
>allow the nesting of an attribute tag inside an input tag.  Just in a
>bit of a crunch right now.

I believe you can write a struts attribute straight.  You have to use 
<logic:iterate> for the row, and then use the name of logic:iterate tag for 
the <bean:write/>... but the Expresso extended tags have the ability to 
write attributes as well using @ notation.  So it should be something like 
this:

<bean:write name="eachInput" property="@myAttribute"/>

Where eachInput is the name of the logic:iterate tag.

You can check the jsp pages for DBMaint for clarification.

HTH!
                                                 -Mike








More information about the Opensource mailing list