You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bu...@apache.org on 2004/05/15 05:34:03 UTC

DO NOT REPLY [Bug 29002] New: - contrib:Table booleans not sortable - but indicates they are

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29002>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29002

contrib:Table booleans not sortable - but indicates they are

           Summary: contrib:Table booleans not sortable - but indicates they
                    are
           Product: Tapestry
           Version: 3.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Contrib
        AssignedTo: tapestry-dev@jakarta.apache.org
        ReportedBy: michael@actrix.gen.nz


The contrib:Table component anotates boolean columns with sorting indicators,
but sorting doesn't actually work.

The work-around is to turn the booleans into strings, for example:

    <component id="tableViewUsers" type="contrib:Table">
        <!-- Define colname:javaname, ... -->
        <binding name="columns">
            'ID:UserId,IsEnabled:Enabled:newBoolean(IsEnabled).toString()'
        </binding>
        <binding name="source" expression='Users'/>
    </component>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org