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:
wh
hezjing wrote:
Hi
I have a form with multiple buttons,
and my action class looks like the following,
public String execute() throws Exception {
if (action.equals("resetPassword")) {
userService.resetPassword(user);
} else if (action.equals("delete")) {
use
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
-
T
Hi
I have a form with multiple buttons,
and my action class looks like the following,
public String execute() throws Exception {
if (action.equals("resetPassword")) {
userService.resetPassword(user);
} else if (action.equals("delete")) {
userService.delete(use
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 ba
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 execut
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:
even without displayformat it doesn't work.
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 inter
--- 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 <
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:
> BookAction-save-
--- 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 i
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 Cas
--- 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 thi
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 a
14 matches
Mail list logo