Re: Bean access from several pages in request scope

2007-03-14 Thread Dave Newton
--- Balazs Michnay <[EMAIL PROTECTED]> wrote: > Could you please provide a concrete example? > I don't really understand what an "'edit' CRUD-type > action" is. Your "modify" button is basically a link to the form that allows you to edit an instance of the bean. As a URL it might look like: /edit

Re: Bean access from several pages in request scope

2007-03-14 Thread Balazs Michnay
Sure; use the id to retrieve the bean (just like you would for a normal 'edit' CRUD-type action) and pre-populate the form. Could you please provide a concrete example? I don't really understand what an "'edit' CRUD-type action" is. > use the id to retrieve the bean How do I retrieve it? Should I

Re: Bean access from several pages in request scope

2007-03-14 Thread Dave Newton
--- Balazs Michnay <[EMAIL PROTECTED]> wrote: > Is there a way to access all the data from the form > page when someon pushes the "Modify" button without > setting the bean scope to session? Sure; use the id to retrieve the bean (just like you would for a normal 'edit' CRUD-type action) and pre-po

Bean access from several pages in request scope

2007-03-14 Thread Balazs Michnay
Dear Struts users, I have a form bean with request scope. When submitting the form, the bean can be accessed from the "next page" as expected. On the next page I'd like to show a "Modify" button that goes back to the previous page with all the values entered, so the bean must accessed again. If