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
-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
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
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
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
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
__
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
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 &
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
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
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
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
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
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
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
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
16 matches
Mail list logo