Hello,
I've 2 components ComponentA & ComponentB.
ComponentB extends ComponentA.
ComponentA.html looks like this :
<wicket:panel>
<form wicket:id="form">
...
<wicket:child />
....
</form>
</wicket:panel>
and ComponentB looks like this :
<wicket:extend>
...
Link
...
</wicket:extend>
My need is always enabled the link in componentB, even if the form is not
enabled.
My problem is that my tag is always disabled when i disable (i.e. call
form.setEnabled(false)) event if I call link.setEnable(true) in my code,
I tried to replace it with a <button> but it shows a <button> tag with
disabled="disabled" attribute in the generated html.
Did somebody has this problem before with Wicket ?
Thanks,
Ludovic.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/setEnabled-true-doesn-t-enable-a-subcomponent-tp2715172p2715172.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]