Re: Tiles 2 Lifecycycle

2007-04-24 Thread Antonio Petrelli
2007/4/23, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Hi Antonio -- I have been teaching for the past couple weeks and now returning to S2/Tiles. I would like to understand how Tiles affects the S2 lifecycle. AFAIK Tiles affects S2 only in rendering the results. What I mean is if you are using a

Re: Tiles 2 Lifecycycle

2007-04-23 Thread stanlick
Hi Antonio -- I have been teaching for the past couple weeks and now returning to S2/Tiles. I would like to understand how Tiles affects the S2 lifecycle. Scott On 4/15/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: 2007/4/13, stanlick <[EMAIL PROTECTED]>: > > Antonio -- > > Can you explain

Re: Tiles 2 Lifecycycle

2007-04-15 Thread Antonio Petrelli
2007/4/13, stanlick <[EMAIL PROTECTED]>: Antonio -- Can you explain this using this example? I am sorry, I did not understand you and gave you a bad answer. But I am wondering what you exactly wanted: do you want to inject beans in Tiles definitions, or JSP pages? Or possibly in the view prep

Re: Tiles 2 Lifecycycle

2007-04-13 Thread stanlick
Antonio -- Can you explain this using this example? course.page My class "course" is wired up in Spring. The course.page tiles definition cab be found below. The course.jsp allows CRUD operations for a Course. All four methods in the

Re: Tiles 2 Lifecycycle

2007-04-13 Thread Dave Newton
--- stanlick <[EMAIL PROTECTED]> wrote: > Wouldn't it be easier if you could redirect to > yourself without involving another action for this > purpose? Sure. The action you redirect to wouldn't need to be a separate action; it could be the same one. But a tile isn't an action, so you wouldn

Re: Tiles 2 Lifecycycle

2007-04-13 Thread Antonio Petrelli
2007/4/13, stanlick <[EMAIL PROTECTED]>: Wouldn't it be easier if you could redirect to yourself without involving another action for this purpose? I use tile definitions as the target for all my requests. Once the user successfully does a task related to that "page," I'd like to represent the

Re: Tiles 2 Lifecycycle

2007-04-13 Thread stanlick
Wouldn't it be easier if you could redirect to yourself without involving another action for this purpose? I use tile definitions as the target for all my requests. Once the user successfully does a task related to that "page," I'd like to represent the tile with freshly injected beans. Can you

Re: Tiles 2 Lifecycycle

2007-04-11 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > So is there a way to redirect to a tile definition? Not that I know of; so far if I'm returning a result from an action that needs a redirect I've been redirecting to an action with a tile "success" or "input" result. d. > > > > On 4/11/07, Dave Newton <[EMAIL P

Re: Tiles 2 Lifecycycle

2007-04-11 Thread stanlick
So is there a way to redirect to a tile definition? On 4/11/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- [EMAIL PROTECTED] wrote: > course.page > > Shouldn't returning SUCCESS from my action result in > a new Action class instance and it's dependencies > being injected? No; it's not a redi

Re: Tiles 2 Lifecycycle

2007-04-11 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > course.page > > Shouldn't returning SUCCESS from my action result in > a new Action class instance and it's dependencies > being injected? No; it's not a redirect. It's just like you put a JSP value in for the result. d.