Use some simple JavaScript and CSS.
--- On Mon, 10/6/08, RemiClaude <[EMAIL PROTECTED]> wrote: > From: RemiClaude <[EMAIL PROTECTED]> > Subject: How to force Struts to reevaluate logic:equal on client side? > To: user@struts.apache.org > Date: Monday, October 6, 2008, 9:00 AM > Hi all; > > I have 2 rows in my table. Each row should be displayed or > not depending of > the value of a radio button which can be "F" or > "M". So, when I clik on "F", > I need to display the row with id="repIn" and > when I click on "M" the row > with id="repOut". > > I do not need the server for this, all should be done > client side. > > This is my code: > > <p> > <tr id="repIn"> > <br> > <logic:equal name="DetailFluxBoomerangForm" > property="Canal" value="F"> > <br> > <td >inputPath</td> > <br> > <td><html:text property="RepInto" > styleClass="champ" size="60" > readonly="true"/></td> > <br> > </logic:equal><br> > </tr> > <p> > > > <p> > <tr id="repOut"> > <br> > <logic:equal name="DetailFluxBoomerangForm" > property="Canal" value="M"> > <br> > <td >outputPath</td> > <br> > <td><html:text property="RepOuto" > styleClass="champ" size="60" > readonly="true"/></td> > <br> > </logic:equal><br> > </tr> > <p> > > Can anyone help me please? > > thank you > -- > View this message in context: > http://www.nabble.com/How-to-force-Struts-to-reevaluate-logic%3Aequal-on-client-side--tp19837465p19837465.html > Sent from the Struts - User mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]