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 > 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 createResul

RE: Struts 2: Providing Tiles Controller-like Functionality

2008-06-23 Thread Asleson, Ryan
-Original 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

RE: Struts 2: Providing Tiles Controller-like Functionality

2008-06-23 Thread Brad A Cupit
lto:[EMAIL PROTECTED] Sent: Monday, June 23, 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

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-d

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 JSP

RE: Please Help: Problem in implementing Tiles Controller

2007-02-21 Thread Strachan, Paul
IL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 22 February 2007 5:17 AM To: Struts Users Mailing List Subject: Please Help: Problem in implementing Tiles Controller __ Hi Dave, Thanks for pointing me towards the link, it was of great help. Here is what i did. And i am a

Please Help: Problem in implementing Tiles Controller

2007-02-21 Thread sriharsha . chevuru
__ Hi Dave, Thanks for pointing me towards the link, it was of great help. Here is what i did. And i am also pasting the error i am getting. Step1: I created the following definition in my tiles-defs.xml tiles-defs.xml Step2: I have the code of the controller i

Re: JNDI with tiles controller

2004-12-21 Thread Jim Douglas
I appreciate your response. DAO with JDNI retrieving data from a through a tiles controller ended up working and for those who may go down this path setting up a context on Tomcat 5.5.4 is very different so beware. Jim From: Eddie Bush <[EMAIL PROTECTED]> Reply-To: Eddie Bush &

Re: JNDI with tiles controller

2004-12-20 Thread Eddie Bush
NDI Howtos and, in fact, even DataSource Howtos. It's really best to go to horse and get things from his mouth. Good Luck! Eddie On Mon, 20 Dec 2004 18:54:32 +, Jim Douglas <[EMAIL PROTECTED]> wrote: > My first question is a design one. Is JDNI the best way to access a > d

JNDI with tiles controller

2004-12-20 Thread Jim Douglas
My first question is a design one. Is JDNI the best way to access a database from a Tiles controller? If so, this is the JDNI class problem I have. This is the tomcat/conf/catalina/localhost/myapp.xml file, username SYSDBA password password driverClassName

RE: Tiles controller

2004-12-18 Thread David G. Friedman
Sent: Saturday, December 18, 2004 3:31 PM To: Struts Users Mailing List Subject: RE: Tiles controller Jim, I think I see your problem: The getDataSource() method is only available in an Action, not in a Controller. You could mix the two and make your action subclass a TilesAction. That would

RE: Tiles controller

2004-12-18 Thread David G. Friedman
AM To: [EMAIL PROTECTED] Subject: Tiles controller I have problems compiling when I move code from an Action to a Tiles Controller The line that won't compile is, DataSource dataSource = getDataSource(request, "userDB"); ..and the error message is RetrieveFormController.j

Tiles controller

2004-12-18 Thread Jim Douglas
I have problems compiling when I move code from an Action to a Tiles Controller The line that won't compile is, DataSource dataSource = getDataSource(request, "userDB"); ..and the error message is RetrieveFormController.java:110: cannot find symbol symbol : metho

Tiles + Controller Exception Handling

2004-07-02 Thread Ricardo Cortes
Hi, What are most of you doing to handle exceptions in your Tiles' Controllers? I've set up error pages correctly in my web.xml and the specific tiles that need specific error page handling. That is working just fine. However, if an exception is thrown in one of my Tiles' Controllers then th

Re: exception in Tiles controller

2004-04-21 Thread Niall Pemberton
nt: Tuesday, April 20, 2004 9:49 PM I'd like for an exception in a Tiles controller to go to a dedicated error page. Right now it seems the tag is swallowing the exception. The tag just prints the exception out on a half-completed page. Any i

exception in Tiles controller

2004-04-20 Thread Lowery, Mat
I'd like for an exception in a Tiles controller to go to a dedicated error page. Right now it seems the tag is swallowing the exception. The tag just prints the exception out on a half-completed page. Any ideas? Thanks, Mat Lowery "The sender believes that this E-Mail and any a