Vanessa,
Thank you for your reply!!!
This definitely has the right ring to it, i have noticed that the START
event gets fired appropriately, but the others don't.
Also I am using 4.1.1 and putting the event listener for the entire wizard.
I will try your suggestion and keep the list posted!
Vanessa, thank you very much for your valuable help!!!
Best regards,
--
Federico Vela
Product Specialist
PaySett International Corporation
fvela_at_paysett.com
(+57) 1 750 8842
ICQ#: 210521656
Vanessa Black wrote:
>
> Hi Federico,
>
>
> I've noticed that (in 4.1.1 of the component) event.getStep() seems to
> return null - So I'm not using it in a wizard listener. Instead I add a
> listener to the actual wizard step that I'm listenening for (and not to
> the entire wizard):
>
>
> class SelectDrivesStepEventListener implements WizardEventListener {
> public boolean handleEvent(WizardEvent event) {
> if (event.getEvent() == WizardEvent.NEXT) {//if the event that
> occurs on this step is a NEXT
> //do something useful
> }
> return true;
> }
>
> //remaining listener methods
>
> }
>
> This listener method gets fired only on the particular step because I
> added the listener only to this particular wizard step.
>
> Hope this is helpful,
>
> Vanessa
>
>
> Federico Vela wrote:
>> Hi Vanessa,
>>
>> Thank you for your reply.
>>
>> Since the begging, I inadvertently I have already followed your
>> recommendation. I first built the wizard without an event listener,
>> and I was able to move back and forth the steps, and even branch.
>>
>> When i plug the listener attribute is when it starts silently failing.
>>
>> :(
>>
>> Thanks for your help anyway. Any other ideas?
>> --
>> Federico Vela
>> Product Specialist
>> PaySett International Corporation
>>
>> fvela_at_paysett.com
>> (+57) 1 750 8842
>> ICQ#: 210521656
>>
>>
>> Vanessa Black wrote:
>>> Hi Federico,
>>>
>>> I've seen this behavior (wizard not moving onto next step) in my
>>> wizard when there is a problem with the jsp in the subsequent steps.
>>> What I did was build the wizard a step at a time. I worked on the
>>> layout of the steps before building in any deeper behavior and as I
>>> worked on each step I made it the first and only step of the wizard
>>> to make sure that there were no problems with the jsp. Then I built
>>> up the wizard adding one page at a time.
>>>
>>> Hope that helps,
>>>
>>> Vanessa
>>>
>>> Federico Vela wrote:
>>>> Hi,
>>>>
>>>> I'm learning to use the wizard component, and its event listener.
>>>>
>>>> Without the event listener the wizard works fine.
>>>>
>>>> I have configured everything seemingly correct, so that when the
>>>> wizard pops up, the START event gets correctly broadcast.
>>>>
>>>> However, in that screen i press next, the wizard stays in that step.
>>>> and no events are broadcast.
>>>>
>>>> What could cause the event listener attribute to fail?
>>>>
>>>> Any ideas or documentation on the wizard component?
>>>>
>>>> Thanks!
>>>> --
>>>> Federico Vela
>>>> Product Specialist
>>>> PaySett International Corporation
>>>>
>>>> fvela_at_paysett.com
>>>> (+57) 1 750 8842
>>>> ICQ#: 210521656
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>>>> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>>> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>
>
>