Ok, I get it, thank you.
On 22/4/2010 21:55, Martin Makundi wrote:
Hi!
You can call component.setMarkupId(component.getId());
**
Martin
2010/4/22 Alexandros Karypidis<akary...@yahoo.gr>:
Hi,
When I add an AjaxFormComponentUpdatingBehavior to a component (a
TextField<String> in particular though I don't think that matters), Wicket
assigns an HTML "id" attribute to the component by taking the "wicket:id"
value I specified and appending a character.
So, if my original HTML had:<input wicket:id="birthday" id="xxxxx"
type="text" />
At runtime I get:<input wicket:id="birthday" id="birthdayX" type="text" />
This messes up some static CSS/Javascript I have in the page, which relies
on locating hte component using its original id.
Is there a way to prevent this?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org