Re: StringResourceModel object value = null

2013-07-19 Thread Sven Meier
Hi, it's java.text.MessageFormat which renders null parameters as 'null'. I'd suggest you use a custom model that uses two different StringResourceModels depending on the present parameters. Sven On 07/19/2013 10:13 AM, Tommy Sadiq Hinrichsen wrote: Hey I'm using a Stringresourcemodel to d

StringResourceModel object value = null

2013-07-19 Thread Tommy Sadiq Hinrichsen
Hey I'm using a Stringresourcemodel to display a custom message label. Its constructed like this. new Label("maxAmount", new StringResourceModel("bookkeeping.amount.to.move",null, new Object[]{ new PropertyModel(this, "valueReport.lastValuationDate"), new PropertyM