Pat Farrell wrote:
Aaron Porter wrote:
I forgot to mention that your forms in a wizard need to use only stripes
form fields. The stripes form tag keeps track of which fields exist and
generates the hidden field. It does that to prevent people from
injecting fields that you didn't intend to receive.

Can you expand on this?
Do you mean all input fields need to be like:

 <td class="value">${actionBean.passphrase}</td>

or is there another definition?

Do you have a .jsp example page? I don't see any in the wiki or bugzooki
source.

It looks like RegisterActionBean in the Bugzooky example is marked with @Wizard but I just found it with grep and haven't examined it.

Your flow should look something like this:

Start event in ActionBean -> entry.jsp
Post to next event in ActionBean -> page2.jsp
Post to next event in ActionBean -> page3.jsp
....
Post to final event in ActionBean -> complete.jsp

All fields on each page should be stripes input fields (<s:text>, <s:select>, etc), not plain HTML input fields (<input>, <select>, etc).

I believe you need to forward to the entry page from your ActionBean or use <s:useActionBean> but I could be wrong.

Aaron
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to