override getInputName() and return the string you want.

-igor

On Sun, Nov 17, 2013 at 5:21 AM, Arjun Dhar <dhar...@yahoo.com> wrote:
> http://microformats.org/wiki/hcard-input-examples#person_billing_shipping_input
>
> To ensure browsers can Auto fill Input form fields for E-Commerce forms and
> common fields. I want to ensure the fieldNames match this convention.
>
> I tried a test class something like
>
>
> ..but it does not respect the input field provided; specially if the INput
> field is Bound via CompoundPropertyModel. Say shippingAddress contains city.
> Then the field is still named "shippingAddress:city".
>
> How best to overcome this so I can standardize my field Names via HTML.
> I dont want to be writing HTML "field names" in Java code. That would suck.
>
> thanks
>
>
>
>
> -----
> Software documentation is like sex: when it is good, it is very, very good; 
> and when it is bad, it is still better than nothing!
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Enfocing-INPUT-field-names-to-respect-hCard-formats-tp4662465.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to