tags:

views:

323

answers:

2

i have problem related with wicket and extjs i have one textfield in extjs and i want to add wicket:id to it how i can add it? because in ext textfield has limitted properties.

A: 

You'll have to use the DOM to add custom attributes to the markup. See Ext.Element.

Jonathan Julian
A: 

If you want to add a wicket:id then I presume that you are wanting to add a wicket component with that wicket:id to your page / component. For this to work that wicket:id will need to be present in the html for your page / component at render time. Therefore adding it to the DOM with javascript wont help you as wicket will never see it.

There are a few ext-js wicket integrations which may help you, but I haven't used them. Try searching on the wicket mail list: http://old.nabble.com/Apache-Wicket-f13974.html

Richard