How about some code? On Wed, Apr 13, 2011 at 12:15 PM, eugenebalt <[email protected]> wrote: > New Ajax issue: > > I have a CheckBoxMultipleChoice which is disabled upon initialization. > > There is another component which can enable this CheckBoxMultipleChoice in > Ajax IF a certain condition is true. There is no "else". If the condition is > not true, then the Ajax shouldn't touch the CheckBoxMultipleChoice at all. > At the end of the Ajax code I do a > target.addComponent(CheckBoxMultipleChoice). > > Here's what I'm finding: even if the condition is NOT true, the Ajax still > enables my CheckBoxMultipleChoice, *unless* I do an explicit "else" to keep > the field disabled. Any ideas why? > > Thanks > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Ajax-is-Modifying-Field-When-It-Shouldn-t-tp3447617p3447617.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] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
