Hi, I guess #getInputName() is called before #onComponentTag() where you set the variable. Try by using org.apache.wicket.Component#getMarkupAttributes in #getInputName().
On Mon, Nov 18, 2013 at 7:45 AM, Arjun Dhar <[email protected]> wrote: > Sir i get that, but what I'd like is that I supply the field name as an > attribute in the Comonent itself in the HTML and that is fed to > getInputName() to return. > > This way I can supply the names in HTML itself. > If you see > > > ..am trying to derive the tag attribute "name" from the html and then > supplying it to: > > But in getInputName is coming null > > Overriding getInputName does work. However im trying to make it clean by > supplying the name via HTML. > 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-tp4662465p4662475.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
