[ http://issues.apache.org/jira/browse/BEEHIVE-507?page=history ]
     
Eddie O'Neil resolved BEEHIVE-507:
----------------------------------

      Assign To: Nathan Jantz  (was: Eddie O'Neil)
     Resolution: Fixed
    Fix Version: V1

This is fixed with SVN 160494 with a BVT added in SVN 160581.  The two JSP 
functions described previously in the issue have been added with a JUnit BVT.

> it's hard to build data grid UI that is aware of a column's sort direction
> --------------------------------------------------------------------------
>
>          Key: BEEHIVE-507
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-507
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Eddie O'Neil
>     Assignee: Nathan Jantz
>      Fix For: V1

>
> When building grid UI, it's often useful to build a custom header cell that 
> can render images (text, etc) that reflects the direction of the current 
> sort.  This isn't easy today and requires writing code to make it work.  A 
> better solution would be to have a set of JSP 2.0 functions that can be 
> invoked from the JSP as:
> <c:if test="${netuidata:isSortedAscending(dataGrid.state.sortModel, 
> 'customerid')}">
>     <netui:image 
> src="${pageContext.request.contextPath}/resources/images/up.gif" 
> border="false" />
> </c:if>
> <c:if test="${netuidata:isSortedDescending(dataGrid.state.sortModel, 
> 'customerid')}">
>     <netui:image 
> src="${pageContext.request.contextPath}/resources/images/down.gif" 
> border="false" />
> </c:if>
>   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to