I am using Ajax but not adding wizard to target. I will play with
that. Thank you for the suggestion.
Sent from my iPhone
On Oct 24, 2009, at 8:32, "Sven Meier" <s...@meiers.net> wrote:
Hi James,
>but Wicket's implementation seems to only evaluate the condition at
step
>creation and not when I'm changing the state of my radios.
see NextButton#isEnabled() and FinishButton#isEnabled(). As far as I
can see these method should support your usecase. Implementing
ICondition as you did seems right to me.
I assume you're notifying changes of the current radio choice to the
server via AJAX? Are you adding the whole wizard to the request so
the button bar is re-rendered?
Sven
Corbin, James wrote:
I am writing a two step wizard using wicket's wizard implementation
and
having some issues.
I am using Wicket 1.4.1.
My first wizard step contains a RadioChoice with 3 options.
I would like the Finish Button to be enabled on Wizard Step 1 if
either
the first or second radio choice is selected. Also, if the first or
second radio is selected, then the next button should not be enabled.
If the 3rd Radio Choice is selected, then I want the Finish Button
to be
DISABLED, and the next button to be enabled so the user can go to the
final step.
My question....
I'm not sure how to set this up in wicket's wizard implementation. I
tried specifying an ICondition on step two, to only make that step
available if the selected type is Radio Choice Option 3 from step
one,
but Wicket's implementation seems to only evaluate the condition at
step
creation and not when I'm changing the state of my radios
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org