Give it a try, but I think OGNL only looks for get, set, and is methods when you give it a property. Since show isn't one of those three, you have to write it out and also put the parentheses to let it know it's a method call and not a property.

Todd

On Apr 3, 2005, at 10:19 AM, Ed Greenberg wrote:


--On Saturday, April 02, 2005 2:02 AM -0500 Todd O'Bryan <[EMAIL PROTECTED]> wrote:


Not by using the property notation. But OGNL will let you call a method.
Just use:


value="ognl:showComponent()"

It has the disadvantage that it doesn't look like an OGNL property call,
but the advantage that you can name the method whatever you want.


Todd


Excuse the ognl newbie question, but couldn't one say ognl:component, just the same?


---------------------------------------------------------------------
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]



Reply via email to