does adding namespace="/" to the url tag make any difference? There is a good chance that it is related to "" vs "/" namespace.
musachy On Tue, Sep 29, 2009 at 12:18 AM, RogerV <roger.var...@googlemail.com> wrote: > > Hi > > I'm having problems getting my head around how the convention plugin derives > it's URL's. In my jsp I have this snippet > > <s:if test="%{ccfGroups[#status.index].id > 0}"> > <s:url value="deletegroup" var="url"> > <s:param name="deleteId" value="%{ccfGroups[#status.index].id}" /> > </s:url> > <s:submit type="button" label="Delete" action="%{url}"/> > </s:if> > > which generates the HTML snippet > > <button type="submit" id="ccfgroup___url_" > name="action:deletegroup?deleteId=3" value="Submit"> > Delete > </button> > > In my action I have the anotation > > @Action("deletegroup") > public String delete() { > return "saved"; > } > > and config-browser shows that the I have an Action Name of "deletegroup" > defined with a class of > com.vasilikon.actions.EditCCFGroup (which is where I placed the @Action > annotation) and a result type of "saved" defined. However, when I press the > the "delete" button I get the "There is no Action mapped for namespace / and > action name deletegroup?deleteId=" message. > > What am I missing? > > Regards > -- > View this message in context: > http://www.nabble.com/Convention-Confusion-tp25658114p25658114.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org