|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Wizard Event ListenerHi,
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@... (+57) 1 750 8842 ICQ#: 210521656 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Wizard Event ListenerHello Federico,
Have you taken a look at the tlddocs? I'd recommend you start there. There is also wizard example code in the example.war found on the Woodstock download page. https://woodstock.dev.java.net/Download.htm Good luck, Cathy 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@... > (+57) 1 750 8842 > ICQ#: 210521656 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Wizard Event ListenerThanks for your reply Kathy,
Yes i have, and in fact I have based my wizard on the example's source code. The only significant difference with the examples is that i am using facelets. Could facelets combined with the client state saving and the woodstock wizard, cause the event listener to null out or otherwise fail? There is no information in the server logs, is it possible to specify a level for the woodstock components? Thanks! -- Federico Vela Product Specialist fvela@... (+57) 1 750 8842 ICQ#: 210521656 Cathy Mucci wrote: > Hello Federico, > > Have you taken a look at the tlddocs? I'd recommend you start there. > There is also wizard example code in the example.war found on the > Woodstock download page. > > https://woodstock.dev.java.net/Download.htm > > Good luck, > Cathy > > > 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@... >> (+57) 1 750 8842 >> ICQ#: 210521656 >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Wizard Event ListenerHi 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@... > (+57) 1 750 8842 > ICQ#: 210521656 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Wizard Event ListenerHi 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@... (+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@... >> (+57) 1 750 8842 >> ICQ#: 210521656 >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Wizard Event ListenerHi 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@... > (+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@... >>> (+57) 1 750 8842 >>> ICQ#: 210521656 >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@... >>> For additional commands, e-mail: users-help@... >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Wizard Event ListenerVanessa,
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@... (+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@... >> (+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@... >>>> (+57) 1 750 8842 >>>> ICQ#: 210521656 >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@... >>>> For additional commands, e-mail: users-help@... >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@... >>> For additional commands, e-mail: users-help@... >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Wizard Event ListenerWorked like a charm, Thanks Vanessa!!!
It seems the rule of thumb is to only add an event listener to the steps that require it, not a global one like what I was trying to do. -- Federico Vela 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@... >> (+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@... >>>> (+57) 1 750 8842 >>>> ICQ#: 210521656 >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@... >>>> For additional commands, e-mail: users-help@... >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@... >>> For additional commands, e-mail: users-help@... >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free Forum Powered by Nabble | Forum Help |