You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Timofey Korolyov <tk...@linux-online.ru> on 2004/01/12 22:53:31 UTC

tableColumns question

Hello there!
I've found out that when I'm doing things like this:
ITableColumnModel objColumnModel = new ExpressionTableColumnModel(new
String[] {
				"ID", "id",
				"Title", "title.string"				
		}, true); 

Sorting in columns works perfectly, but when I change
"Title" to its russian equivalent "Название", sorting breaks and doesn't
work at all.
Is it a bug or a feature? ;-)

thanks
Tim

Re: tableColumns question

Posted by Mindbridge <mi...@yahoo.com>.
Hi,

This is most likely due to a problem with the encoding of links in the
version that you are using (it is not specific to TableColumns). It has been
fixed, and the fix is in the CVS, so it will be a part of the next version.

In the mean time, the workaround I would suggest is to create
ExpressionTableColumns with latin names, but with the display names you want
(the cyrillic ones, I presume). That should work fine.

Also, starting from the next version, columns and data can be defined in an
easier manner. Have a look at the Component Reference on the Tapestry site
(http://jakarta.apache.org/tapestry/doc/ComponentReference/index.html). It
has the new stuff now.

Best regards,
-mb

----- Original Message ----- 
From: "Timofey Korolyov" <tk...@linux-online.ru>
To: <ta...@jakarta.apache.org>
Sent: Monday, January 12, 2004 11:53 PM
Subject: tableColumns question


Hello there!
I've found out that when I'm doing things like this:
ITableColumnModel objColumnModel = new ExpressionTableColumnModel(new
String[] {
"ID", "id",
"Title", "title.string"
}, true);

Sorting in columns works perfectly, but when I change
"Title" to its russian equivalent "Название", sorting breaks and doesn't
work at all.
Is it a bug or a feature? ;-)

thanks
Tim


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