[ http://issues.apache.org/jira/browse/TAPESTRY-700?page=comments#action_12356310 ]
Mind Bridge commented on TAPESTRY-700: -------------------------------------- I am trying to reproduce this problem, but cannot -- the sorting appears to work fine even if you have a non-ASCII7 character in it (I have tried cyrillic and chinese as well). I am guessing that the problem has to do with the encoding and deciding of the sorting request. Do you happen to use Tomcat 5? If so, add useBodyEncodingForURI ="true" to your <Connector> element in server.xml -- that will ensure that the requiest is decoded correctly and will help in other cases as well. In general, it is a good idea to use ASCII7 for column names, and add the locale-specific title of the column in the corresponding .properties file. For example, in your case the column could be locale:localitaOutlet, and in the .properties file of your component the following could be added: locale=Località The title of your column will then be Località and the sorting will always work, even if the non-ASCII7 decoding does not work. > contrib:TableView doesn't sort columns with a non ASCII name > ------------------------------------------------------------ > > Key: TAPESTRY-700 > URL: http://issues.apache.org/jira/browse/TAPESTRY-700 > Project: Tapestry > Type: Bug > Components: Contrib > Versions: 4.0 > Environment: Win XP / Tomcat 5.0 / JDK 142 > Reporter: Paolo Donà > Priority: Minor > > I have a contrib:TableView defined this way: > <component type="contrib:TableView" id="tableView"> > <binding name="source" value="ognl:impianti"/> > <binding name="columns" value="Codice:codice, Paese:descRegione , > Località:localitaOutlet"/> > <binding name="persist" value="literal:client:page"/> > </component> > The third column doesn't sort and doesn't show the sorting arrow. > Changing the column name from "Località" to "Localita" solves the problem. > So I suppose the column doesn't sort if the column name has a non ASCII char > in it. > Paolo -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
