In WW1 how do I get to a specific view via a URL?
For example: when I use the link a href=my.actionlink/a that will take
me to the SUCCESS view of the action called 'my'. How would I get to the
INPUT view of the action called 'my'?
Thanks,
Chris
Your view will be based on the return value of the execute() method of
your Action. If you're extending ActionSupport, this is delegated to
doExecute() and wrapped with some logic (to call validate() which
calls doValidate() on your subclass, if you override it). If you return
Action.INPUT from
Create conditions that cause the action to return INPUT.
On Tue, 16 Sep 2003, Chris Widhelm wrote:
In WW1 how do I get to a specific view via a URL?
For example: when I use the link a href=my.actionlink/a that will take
me to the SUCCESS view of the action called 'my'. How would I get to
I have created a page that has dynamically
generated fields in WW1, via the iterator tag. What is the best way to
access those fields within my action.
Thanks,
Chris
Title: Message
Make
your Action ParameterAware to get all of the params
-Original Message-From: Chris Widhelm
[mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003
12:49 PMTo:
[EMAIL PROTECTED]Subject: [OS-webwork]
Dynamic field generation
I have created a
I got the Xwork project from CVS (java.net) and tried to build it with ant but the
following errors
occurred:
Buildfile: build.xml
java:
[mkdir] Created dir: C:\j2sdk1.4.1_02\xwork\build\java
[javac] Compiling 82 source files to C:\j2sdk1.4.1_02\xwork\build\java
[javac]
Title: Message
There's been talk of un-deprecating it for 1.3 since it will never be
removed...
-Original Message-From: Chris Widhelm
[mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003
1:21 PMTo:
[EMAIL PROTECTED]Subject: Re: [OS-webwork]
Dynamic field
Do a clean build... BaseActionSupport is no more...
-Original Message-
From: Samuel Mota [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 1:45 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] Build from CVS
I got the Xwork project from CVS (java.net) and tried to
Title: Struggling with WebWork2/XWork configuration...
I've been struggling with getting WebWork2 running for the last 2 days and am currently stuck with the xwork.xml file not being recognized as evidenced by the following logfile segment:
SEVERE: Could not load XWork configuration file,
Without looking in to this too clearly -- one thing is to make sure
xwork.jar and webwork.jar are in WEB-INF/lib and not any other classloader
(like tomcat's common/lib directory).
From: Peter White [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [OS-webwork]
Sorry that I didn't post this comment to the mailing list to begin with.
It is also on the Wiki, probably not the best place for a meaningful
technical discussion.
September 15, 2003 pazu, 9 hours, 27 minutes ago.
--
Just one thing bothers me: if
Shouldn't there be a class with a psvm to execute the Xwork environment?
I am writing some Xwork documentation and an example, and I was
surprised that there isn't a way to run XWork as a standalone command
processor from the command line.
---
I just started using WebWork2 yesterday, and I'm sold. A new
techonology hasn't kept me smiling for so long thinking this is right
since I first started playing with Ruby.
I'm writing a vanilla database backed webapp for my client, and I'm
trying to decide where I should put the persistence
anyone know if its possible to save action errors and have them
available to the action redirected to when using redirect result?
im using this now:
action name=templateDelete class=template.TemplateDeleteAction
result name=success
type=redirecttemplateList.action/result
Title: Message
When
you say it's in Tomcat's WEB-INF/classes, is this for your webapp, or some
Tomcat directory outside your webapp?
-Original Message-From: Peter White
[mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 6:18
PMTo: [EMAIL PROTECTED]Subject:
It's assumed to be used as part of an application... That said, a
command-line dispatcher would be pretty cool.
-Original Message-
From: James Cook [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 10:45 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] Xwork Entry Point
this is exactly how im doing things with hibernate aswell, a few things
I can think of is putting the hibernate session creation code in a
servlet filter or xwork interceptor but thats going to cause some
problems anyways if the session were to be put in a un-usable state
somewhere in your
It would have to be passed in the session... A redirect is a new
request...
-Original Message-
From: Francisco Hernandez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 11:40 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] preserving error messages when using
redirect
Title: Message
What's
the path to your Tomcat? Does it have a space in it?
Is
your xwork.xml all lowercase, or is it Xwork.xml?
grasping at straws
-Original Message-From: Peter White
[mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003
12:18 AMTo:
[EMAIL
Title: Message
It's all lowercase and the literal path is
"/tomcat/webapps/fullcircle/WEB-INF/classes". I'm actually developing with the
Tomcat ant tasks and deploying from an exploded WAR directory so my "build"
directory is acting as /tomcat/webapps/fullcircle.
I don't believe this should
20 matches
Mail list logo