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

Category: main tag library
>Group: planned for 1.0
Status: Open
Resolution: None
>Priority: 9
Submitted By: Matt Raible (mraible)
>Assigned to: fabrizio giustina (fgiust)
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.

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

>Comment By: fabrizio giustina (fgiust)
Date: 2004-05-16 22:47

Message:
Logged In: YES 
user_id=798060

confirmed, both in the standard and EL version.
Testcase added in CVS (ColumnPooling2Test)

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

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: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to