Re: Tag s:url

2009-02-03 Thread Dave Newton

Moacyr Prado wrote:

I`m using a tag url but this tag are not evaluate a expression
"[0].getActionsName" on action parameter.Is it normal?

example:




The last Action called has getActionName() and getLinkText() methods.

In browser shows http://localhost/App/[0].getActionName[]


I'm not sure that the "action" attribute is evaluated; there was a 
recent thread about this but I don't recall the outcome. You could 
always try to force evaluation via %{}.


Even if it's not evaluated, though, for future reference the OGNL 
expression could be noticeably shorter: "actionName" and "linkText".


Dave


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Tag s:url

2009-02-03 Thread Moacyr Prado
Hi,

I`m using a tag url but this tag are not evaluate a expression
"[0].getActionsName" on action parameter.Is it normal?

example:




The last Action called has getActionName() and getLinkText() methods.

In browser shows http://localhost/App/[0].getActionName[]

Can anybody help me?