RE: [S2] How to apply formatting to s:property?

2007-08-01 Thread Big Stick
D- 

Should that doc be updated? 


I thought you could simply use the "key" attr now. 

Scott 

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



RE: RE : Orthognal OGNL!

2007-07-09 Thread Big Stick
I always thought a stack implied levels! Am I strange to think maybe the stack 
search should consider this capability? 

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



RE: RE : Orthognal OGNL!

2007-07-09 Thread Big Stick
But it's a property on the Action! 

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



RE: OGNL

2007-04-26 Thread Big Stick
That's my point Dave! I think this doc needs to be updated.

...references to Action properties can omit the # marker...


-Original Message-
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: 4/26/07 5:24 PM
Subject: Re: OGNL

--- [EMAIL PROTECTED] wrote:
> I encountered a situation today that seems to
> disprove the following documentation.  I have an 
> Action class with a property that my JSP can only
> access if I DO NOT include the #.  If I prepend the
> #, it is not found.
> 
> "The Action instance is always pushed onto the value
> stack. Because the Action is on the stack, and the 
> stack is the OGNL root, references to Action
> properties can omit the # marker. But, to access
> other objects in the ActionContext, we must use the
#
> notation so OGNL knows not to look in the root 
> object, but for some other object in the
> ActionContext.""\

If you include the "#" doesn't OGNL *not* look at the
root (your action), so it would try to find a non-root
object with the name you've given it?

I mean, if my action exposes

public String getStringBean() { ... }

and I use



it's going to look at *rest* of the stack for
something called "stringBean", not at my action, which
is on the root. If I use



then it will display (or, obviously,
value="stringBean").

Maybe I'm misunderstanding what you're saying.

d.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



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