struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Monttez" <mont...@gmail.com>
Subject [S2] - Strange error: "<s:url>" tag not working for "<s:div>"
Date Fri, 23 Mar 2007 15:38:43 GMT
Hi!


The url tag:

<@s2.url id="urlMenu" namespace="/Menu" action="getTreeMenu">
  <@s2.param name="decorate" value="false" />
</@s2.url>


This tag works properly for a link.. as follows:

<a href="${urlMenu}">test</a>    
Result:
"http://localhost:8088/WebStageCMS_v2/Menu/getTreeMenu.action?decorate=false
"



But the same tag does not work for the "div" tag:

  <@s2.div id="menu" theme="ajax" href="${urlMenu}">
    Loading content...
  </@s2.div>



Here I'm getting this error:

Struts Problem Report
Struts has detected an unhandled exception:
Messages: 	There is no Action mapped for namespace / and action name
ebStageCMS_v2/Menu/getTreeMenu.


Note that "ebStageCMS_v2"  without the first letter "W" (WebStage..)


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


Mime
View raw message