Hi,

We are using display tag (Jar version displaytag-1.0-b2.jar) in our project and we wanted to highlight a specific row inside the table based on some criteria.

Our table looks like

 

<display:table name=”sessionScope.MyForm”  property=”myList” id=”tab”>

<logic:equal name=”displayCurrent” value=”Y”>

<display:column class=”alertbg”>

            …………………..

</display:column>

</logic:equal>

<logic:notEqual name=”displayCurrent” value=”Y”>

<display:column>

            ……………………

</display:column>

</logic:notEqual>

</display:table>

--------------------------------------------------

STYLE we are using is

.alertbg{

            background-color: #ffffcc;

            }

--------------------------------------------------

The problem we are facing is, once the background color sets to #ffffcc, it is getting retained for the rest of rows (even when we change the value of the class attribute).

And we would be thankful, for any one who can help us resolving this.

 

With Regards,

Saravanan S.V.

 

Reply via email to