I am forwarding this question to Gerald - who is not on this
mailing-list, but created a wizard for an auctioning system we are
currently working on.

regards,

Martin

On 10/26/05, Colin Chalmers <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'd like to know how others are building wizard types of applications
> using JSF/Backing Beans.
>
> I realise that Shale & WebFlow are going to help on this but was
> wondering how others are doing it with *standard * JSF tools.
>
> I have a booking process that needs to gather information in five steps
> before persisting the data. I have (at least) two backing beans; one
> called Booking which gathers the data from the 5  different steps and
> has session scope, the other called BookingController which actually
> controls the flow through the 5 diff. steps by capturing the diff.
> submit events, this bean has request scope. I thought this better than
> defining a diff. bean per page, which is what some people seem to be
> implementing, but am not completely happy with the result. In order to
> actually get the info into the database etc I still have to copy
> properties from my backing bean into a domain Object for persistance via
> Hibernate; ie seperate beans for name, address & flight info. It might
> be better to try and fill the domain objects eralier through filling in
> the form and passing in via the backing bean; ie cut out the middle man
> :-)      but would still have a problem holding on to data in session.
>
> Could I have done this better/different/easier without the use of
> Shale/WebFlow & utilising request scope better?
>
> I look forward to your comments.
>
> /Colin
>


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German

Reply via email to