--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> What is an action property? I thought it is a private attribute in an
> action class with its getter and setter methods but now I think it's 
> wrong as I defined such an attribute "brand" but it can't be used 
> in OGNL: <s:if test="#brand...">...

You would not want to use the "#" character, just "brand".

I'm not sure the scoping of the property itself is relevant, but the
accessors should follow the JavaBean specification.

> In the result page of the action, I can output value of the "brand" using
> ${brand} but how and where can I put the value into value stack so that I
> can use OGNL to access it?

The action is pushed onto the value stack and its properties are available on
the stack; this is handled by the framework.

d.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to