[Opensource] Setting a CSS style

Ben Switzer ben at site85.com
Fri Dec 13 13:19:19 PST 2002


Thanks Mike.

I'll do just that.

Ben

-----Original Message-----
From: opensource-admin at jcorporate.com
[mailto:opensource-admin at jcorporate.com] On Behalf Of Michael Rimov
Sent: Friday, December 13, 2002 3:05 PM
To: opensource at jcorporate.com
Subject: RE: [Opensource] Setting a CSS style


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





_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/




More information about the Opensource mailing list