Hi, I'm trying to use the xml validation, the validation is executing and
detecting errors, but after the validation the method save gets called
instead of invoking the input action it's executing the 'success' action.
I've tried several things but still can't see what's missing, I'm using
Spring
--- Martin Castellanos [EMAIL PROTECTED] wrote:
Hi, I'm trying to use the xml validation, the validation is executing and
detecting errors, but after the validation the method save gets called
instead of invoking the input action it's executing the 'success' action.
I've tried several things
Action Class is: com.maca.web.BookAction
Validation file is placed next to the class: BookAction-save-validation.xml
Validation file for the book entity is: Book-validation.xml and it's placed
next to the Book class
On Feb 3, 2008 12:20 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- Martin
--- Martin Castellanos [EMAIL PROTECTED] wrote:
Action Class is: com.maca.web.BookAction
Validation file is placed next to the class: BookAction-save-validation.xml
Validation file for the book entity is: Book-validation.xml and it's placed
next to the Book class
Signature means How is your
Oh, it's just a regular bean, doesn't implements or extends anything
On Feb 3, 2008 12:32 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- Martin Castellanos [EMAIL PROTECTED] wrote:
Action Class is: com.maca.web.BookAction
Validation file is placed next to the class:
--- Martin Castellanos [EMAIL PROTECTED] wrote:
Oh, it's just a regular bean, doesn't implements or extends anything
That'll be an issue.
The workflow interceptor depends on the ValidationAware interface to decide
if it should modify the result.
Dave
On Feb 3, 2008 12:32 PM, Dave Newton
Thanks, I extended DefaultActionSupport and now it's working
On Feb 3, 2008 12:47 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- Martin Castellanos [EMAIL PROTECTED] wrote:
Oh, it's just a regular bean, doesn't implements or extends anything
That'll be an issue.
The workflow interceptor
Hi All,
I:'ve been battling this for many hours.
I hope someone can help.
Using JDK 1.5, Struts 2.0.11
My property:
shoot_date of type Date
has get and set and on execute()
set's the default date to today's date
setShoot_Date(new Date);
on the form:
s:datetimepicker name=shoot_date
Hi Serge,
You'll find many emails in this forum relating to DatePicker problems.
Some of the solutions are here: http://cwiki.apache.org/S2WIKI/vault.html
In this case though, is it possible you've forgotten the s:head tag at
the top of the page?
Serge Bornow wrote:
Hi All,
I:'ve been
I'm not sure what the JavaBean convention would be for a property with an
underscore.
Have you tried it as shootDate (with corresponding
getShootDate/setShootDate methods)?
Dave
--- Serge Bornow [EMAIL PROTECTED] wrote:
My property:
shoot_date of type Date
has get and set and on execute()
hezjing wrote:
Hi
In http://struts.apache.org/2.0.11/docs/submit.html, the submit tag
has an action attribute that says set action attribute.
May I know how can we make use of this action attribute?
Any example?
Thank you!
It simply overrides the action attribute of the form:
s:submit
hezjing wrote:
Hi
I have a form with multiple buttons,
s:form namespace=/user action=updateUser method=post
s:submit name=action value=resetPassword key=button.resetPassword /
s:submit name=action value=delete key=button.delete /
/s:form
and my action class looks like the following,
Hi
In http://struts.apache.org/2.0.11/docs/submit.html, the submit tag
has an action attribute that says set action attribute.
May I know how can we make use of this action attribute?
Any example?
Thank you!
--
Hez
-
To
Hi
I have a form with multiple buttons,
s:form namespace=/user action=updateUser method=post
s:submit name=action value=resetPassword key=button.resetPassword /
s:submit name=action value=delete key=button.delete /
/s:form
and my action class looks like the following,
public String
14 matches
Mail list logo