Re: s:form does not output the correct path to action

2014-11-12 Thread Lukasz Lenart
2014-11-12 12:22 GMT+01:00 Lukasz Lenart : >> > "multipart/form-data" method="post"> > > this missing "namespace" attribute This is the key problem here - you must specify this attribute when referencing action outside its package Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --

Re: s:form does not output the correct path to action

2014-11-12 Thread Lukasz Lenart
2014-11-10 15:22 GMT+01:00 Peter Björkman : > Hi! Just changed my config to enable regex in action names. In struts.xml: > > > > Works great! But as a side effect, s:forms no longer outputs the correct > path to my actions. > > The code below: > > "multipart/form-data" method="post"> this missin

Re: s:form does not output the correct path to action

2014-11-12 Thread Lukasz Lenart
2014-11-10 15:45 GMT+01:00 Peter Björkman : > Thanks for your reply! Yes I've read that, and I have those other two > configs also: > > > > > > The action that the form is pointing to is completely unrelated and has no > wildcards in the action name, so I don't think it should be affected by > t

Re: s:form does not output the correct path to action

2014-11-10 Thread Peter Björkman
Thanks for your reply! Yes I've read that, and I have those other two configs also: The action that the form is pointing to is completely unrelated and has no wildcards in the action name, so I don't think it should be affected by this configuration change. Regards Peter On Mon, Nov 10, 20

Re: s:form does not output the correct path to action

2014-11-10 Thread Lukasz Lenart
Have you read that http://struts.apache.org/release/2.3.x/docs/wildcard-mappings.html#WildcardMappings-AdvancedWildcards Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2014-11-10 15:22 GMT+01:00 Peter Björkman : > Hi! Just changed my config to enable regex in action names. In stru

s:form does not output the correct path to action

2014-11-10 Thread Peter Björkman
Hi! Just changed my config to enable regex in action names. In struts.xml: Works great! But as a side effect, s:forms no longer outputs the correct path to my actions. The code below: used to output: but now I only get: The context and namespace is stripped out. I verified that just cha