Hi all,
I'm not sure, if I do something wrong, but I never get such a property
working.
Is this way not possible?
Code:
new StringResourceModel(label, this, model);
properties file:
label=${dateOfCreation, date, dd.MM.yy}
This is working...
Code:
new StringResourceModel(label, this, null,
Hi,
StringResourceModel uses Java's MessageFormat for its parameters, so
only the {0} syntax is supported.
Use ${dateOfCreation} for Wicket's placeholder replacement - this one
uses Wicket's converters instead.
Regards
Sven
On 04/30/2014 11:03 AM, Patrick Davids wrote:
Hi all,
I'm not
Hi Sven,
Java's MessageFormat
Ah, yes, thanx...
regards
Patrick
Am 30.04.2014 11:21, schrieb Sven Meier:
Hi,
StringResourceModel uses Java's MessageFormat for its parameters, so
only the {0} syntax is supported.
Use ${dateOfCreation} for Wicket's placeholder replacement - this one
Hello, new to Wicket so I apologize if this is an easy architecture issue. We
are using version 1.4.18.
I have a form with a ListChoice using a model to pull data from a db. Based
on the selection in the ListChoice I need to hide/show a WebMarkupContainer
(wmc) that contains a label and text
Hi,
Please read :
http://wicket.apache.org/guide/guide/bestpractices.html#bestpractices_5
http://www.mail-archive.com/dev@wicket.apache.org/msg07123.html
You can override isVisible() or do the setVisible into the onConfigure()
method.
Regards,
Gabriel.
--
View this message in context: