RE: Localization for table component

2008-07-13 Thread Jeremy Thomerson
In your properties file for the page, try:

id-of-table-in-modal-window.datagrid.no-records-found

Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device


-Original Message-
From: Cristi Manole [EMAIL PROTECTED]
Sent: Saturday, July 12, 2008 5:20 PM
To: users@wicket.apache.org
Subject: Localization for table component

Hello,

I have a page with a table component on it. I use the following keys to
localize it and it works great
datagrid.no-records-found
NavigatorLabel

On the same page I define a div which is a modal window. On the modal window
I have another table component which I want to localize (with different text
messages).

My problem is that although I define another properties file with the name
of the (modal window) panel, the properties are still read from the page
properties file.

How can I do what I'm looking for?

Tks,
Cristi Manole


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Localization for table component

2008-07-13 Thread Cristi Manole
nope. it does not work. i changed both properties files to have the
component ids and  now i get the default value in both, meaning it's not
localizing at all.

i think the keys are hard coded. I will extend the classes...

did it work for you? maybe i;m doing smth wrong

On Sun, Jul 13, 2008 at 3:28 PM, Jeremy Thomerson [EMAIL PROTECTED]
wrote:

 In your properties file for the page, try:

 id-of-table-in-modal-window.datagrid.no-records-found

 Jeremy Thomerson
 http://www.wickettraining.com
 -- sent from a wireless device


 -Original Message-
 From: Cristi Manole [EMAIL PROTECTED]
 Sent: Saturday, July 12, 2008 5:20 PM
 To: users@wicket.apache.org
 Subject: Localization for table component

 Hello,

 I have a page with a table component on it. I use the following keys to
 localize it and it works great
 datagrid.no-records-found
 NavigatorLabel

 On the same page I define a div which is a modal window. On the modal
 window
 I have another table component which I want to localize (with different
 text
 messages).

 My problem is that although I define another properties file with the name
 of the (modal window) panel, the properties are still read from the page
 properties file.

 How can I do what I'm looking for?

 Tks,
 Cristi Manole


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Localization for table component

2008-07-12 Thread Cristi Manole
Hello,

I have a page with a table component on it. I use the following keys to
localize it and it works great
datagrid.no-records-found
NavigatorLabel

On the same page I define a div which is a modal window. On the modal window
I have another table component which I want to localize (with different text
messages).

My problem is that although I define another properties file with the name
of the (modal window) panel, the properties are still read from the page
properties file.

How can I do what I'm looking for?

Tks,
Cristi Manole