Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
Hello, I'm trying to add internationalization to my wicket application using Wicket 1.4 final. In order to customize labels I don't use wicket:message but use Label subclasses. So, both the Wiki page General i18n in Wicket an Wicket in Action state that I may define a property file for

Re: Label i18n in 1.4 final

2009-08-04 Thread Eyal Golan
As far as I remember, you need to call the proprty 'header' header = Sidebar Header! Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Tue, Aug 4,

Re: Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
Hi, yes, this does work but would interfere with a page-level label called header, doesn't it? That's why the component-path up to the page is used as a prefix, I thought... On 04.08.2009, at 16:21, Eyal Golan wrote: As far as I remember, you need to call the proprty 'header' header =

RE: Label i18n in 1.4 final

2009-08-04 Thread Craig McIlwee
...@gmx.net] Sent: Tuesday, August 04, 2009 10:54 AM To: users@wicket.apache.org Subject: Re: Label i18n in 1.4 final Hi, yes, this does work but would interfere with a page-level label called header, doesn't it? That's why the component-path up to the page is used as a prefix, I thought

Re: Label i18n in 1.4 final

2009-08-04 Thread Sven Meier
Shouldn't that be: sidebar.header.header = Sidebar Header! ?? Sven On Di, 2009-08-04 at 16:53 +0200, Robin Sander wrote: sidebar.header = Sidebar Header! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
encapsulation by adding knowledge of the panel's inner workings to the page? -Original Message- From: Robin Sander [mailto:robin.san...@gmx.net] Sent: Tuesday, August 04, 2009 10:54 AM To: users@wicket.apache.org Subject: Re: Label i18n in 1.4 final Hi, yes, this does work but would interfere

Re: Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
Yes, you're right!! In case of a simple label there seem to be too many name parts for my understanding. So, I always need a last part for the ResourceModel, right? (like panel-idt.label-id.resource-key) Imagine a form with many textfields each with a SimpleFormComponentLabel and an