Re: [Wicket-user] Question about StringResourceModel

2006-11-28 Thread Nick Heudecker
Got this sorted out. The problem was on my end - the model object was null. Apologies. On 11/28/06, Johan Compagner <[EMAIL PROTECTED]> wrote: please add an issue to our jira. On 11/27/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: > > I just had a chance to test "notice.notice". Here's what

Re: [Wicket-user] Question about StringResourceModel

2006-11-28 Thread Johan Compagner
please add an issue to our jira. On 11/27/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: I just had a chance to test "notice.notice". Here's what I got: java.util.MissingResourceException: Unable to find resource: notice for component: regInProgress On 11/26/06, Martijn Dashorst <[EMAIL PR

Re: [Wicket-user] Question about StringResourceModel

2006-11-27 Thread Nick Heudecker
I just had a chance to test "notice.notice". Here's what I got: java.util.MissingResourceException: Unable to find resource: notice for component: regInProgress On 11/26/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: Have you tried "notice.notice=My text with ${foo}" ? Martijn On 11/26/

Re: [Wicket-user] Question about StringResourceModel

2006-11-26 Thread Martijn Dashorst
Have you tried "notice.notice=My text with ${foo}" ? Martijn On 11/26/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: > I'm using Wicket 1.2.3, but tried it with 1.2.2 as well. The output I get > is exactly what's in the properties file. No parameter replacement is > performed. > > > On 11/26/06

Re: [Wicket-user] Question about StringResourceModel

2006-11-26 Thread Nick Heudecker
I'm using Wicket 1.2.3, but tried it with 1.2.2 as well. The output I get is exactly what's in the properties file. No parameter replacement is performed. On 11/26/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: To the best of my knowledge this should work, as it is an exact copy from the jav

Re: [Wicket-user] Question about StringResourceModel

2006-11-26 Thread Martijn Dashorst
To the best of my knowledge this should work, as it is an exact copy from the javadoc. Can you be more specific to what version of Wicket you're using, and what you /do/ get on the browser window? Martijn On 11/26/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: > I'm trying to get the following wor

Re: [Wicket-user] Question about StringResourceModel

2006-11-26 Thread Erik van Oosten
Could you be more specific in what you want to achieve? If you want to use a simple message (no arguments) from a resource bundle add(new Label("notice", new ResourceModel("notice"))); would be sufficient. Do you need info on where to put the messages? Erik. Nick Heudecker schreef: > I'm

[Wicket-user] Question about StringResourceModel

2006-11-26 Thread Nick Heudecker
I'm trying to get the following working and I'm not having much luck: 1. IModel model = new LoadableDetachableModel() { 2. protected Object load() { 3. return session.getRegistrationToken ().getPerson(); 4. } 5. }; 6. 7. add(new Lab