Greetings,

I have an action bean A with a property x with getter/setter. The submit
method of A returns a ForwardResolution to action bean B. The property X is
annotated with @Validate:

class A extends BaseAction {

@Validate(on="submit", required=true, mask="...")
private String x;

public Resolution submit() {
   ...
   return ForwardResolution(B.class):
}

public Strign getX() {return x;}
public void setX(Stirng x) { this.x = x;}

In the logs I see something like this:

Could not bind property with name [x] to bean of type: B: Bean class B does
not contain a property called 'x'. As a result the following expression
could not be evaluated: x

Why is the validation is attempted on bean B, instead of A???

Thanks a lot in advance,

-a

-- 
Aaron Stromas
Mobile: +1 703 203 9169
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to