On May 6, 2016 9:05 PM, "David Beer" wrote:
>
> Hi Guys
>
> I am trying to utilise the placeholder tag in input components. So say I
> have a TextField that mapps to the html placeholder="Enter Name">. How can I get wicket to add the placeholder tag
> so that I can
Hi David, the most straightforward way i can think of is using a
StringResourceModel in conjuntion with a AttributeModifier heres a basic
example:
//inside your page or panel:TextField myField = new TextField("myField")IModel
mPlaceHolder = new StringResourceModel("myField.placeholder",this,
Hi Guys
I am trying to utilise the placeholder tag in input components. So say I
have a TextField that mapps to the html . How can I get wicket to add the placeholder tag
so that I can populate via properties.
Thanks
David