Bugs item #949187, was opened at 2004-05-06 07:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=949187&group_id=73068

Category: main tag library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matt Raible (mraible)
Assigned to: Nobody/Anonymous (nobody)
Summary: class and style attributes are not reset in EL Tag 

Initial Comment:
This might apply to the regular tag (not just EL), but
I'm using the EL, so that's where it's happening.

I'm trying to use the following to set a different
class on my <display:column>, but it only works when
all rows have "positionList.internal == 'true'".  

<display:table id="positionList" name="${positionList}">
    <c:choose>
        <c:when test="${positionList.internal == 'true'}">
            <c:set var="class" value="highlight"/>
        </c:when>
        <c:otherwise><c:set var="class"
value="noHighlight"/></c:otherwise>
    </c:choose>
    <display:column property="name" sort="true"
headerClass="sortable" 
        class="${class}" href="${detailPath}"
paramId="${paramId}" 
        paramProperty="id" titleKey="positionForm.name"/>
</display:table>

I tried using the "style" attribute to do this same
thing, but no dice there either.  I'm using
displaytag-1.0-rc1 from last week.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=949187&group_id=73068


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to