RE: Struts 2: Providing Tiles Controller-like Functionality

2008-06-24 Thread Brad A Cupit
Asleson, Ryan wrote: I've thought about writing a PreResultListener snip/ I've tried ActionInvocation.getResult(), but it only returns null. Is there a way to get the current Result object before it is actually executed? Looking at the code for DefaultActionInvocation, it seems that

Struts 2: Providing Tiles Controller-like Functionality

2008-06-23 Thread Asleson, Ryan
Hello, We're moving from a Struts 1.x with Tiles development model to Struts 2 and Sitemesh. One thing we miss with from Tiles is the ability to back a JSP with a Controller. The Controller guaranteed that whenever a JSP was rendered, certain behavior was executed to prepare data for the

Re: Struts 2: Providing Tiles Controller-like Functionality

2008-06-23 Thread Antonio Petrelli
2008/6/23 Asleson, Ryan [EMAIL PROTECTED]: One thing we miss with from Tiles is the ability to back a JSP with a Controller. The Controller guaranteed that whenever a JSP was rendered, certain behavior was executed to prepare data for the JSP. For example, the loading of data for drop-down

RE: Struts 2: Providing Tiles Controller-like Functionality

2008-06-23 Thread Brad A Cupit
, 2008 8:36 AM To: Struts Users Mailing List Subject: Struts 2: Providing Tiles Controller-like Functionality Hello, We're moving from a Struts 1.x with Tiles development model to Struts 2 and Sitemesh. One thing we miss with from Tiles is the ability to back a JSP with a Controller

RE: Struts 2: Providing Tiles Controller-like Functionality

2008-06-23 Thread Asleson, Ryan
Message- From: Brad A Cupit [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2008 10:19 AM To: Struts Users Mailing List Subject: RE: Struts 2: Providing Tiles Controller-like Functionality Asleson, Ryan wrote: I'm familiar with the Struts 2 Preparable interface, but I don't like this because