[jira] [Commented] (WW-4417) s:form fails to output context/namespace when used with regex pattern matcher

2016-02-28 Thread Lukasz Lenart (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15171535#comment-15171535
 ] 

Lukasz Lenart commented on WW-4417:
---

I cannot reproduce the issue, it works the same in both cases.

> s:form fails to output context/namespace when used with regex pattern matcher
> -
>
> Key: WW-4417
> URL: https://issues.apache.org/jira/browse/WW-4417
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core Actions
>Affects Versions: 2.3.16.3
>Reporter: Peter Björkman
> Fix For: 2.3.25
>
>
> Just changed my config to enable regex in action names. In struts.xml:
> {code:xml}
> 
> {code}
> Works great! But as a side effect, s:forms no longer outputs the correct path 
> to my actions.
> The code below:
> {code:html}
>  enctype="multipart/form-data" method="post">
> {code}
> used to output:
> {code:html}
>  action="/mycontext/news/uploadImagesSave!execute.action" method="post" 
> enctype="multipart/form-data">
> {code}
> but now I only get:
> {code:html}
>  enctype="multipart/form-data">
> {code}
> The context and namespace is stripped out. I verified that just changing back 
> the patternMatcher fixes the issue. I'm using struts 2.3.16.3. Anyone has any 
> ideas on how to fix it?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (WW-4417) s:form fails to output context/namespace when used with regex pattern matcher

2016-01-29 Thread Lukasz Lenart (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15123785#comment-15123785
 ] 

Lukasz Lenart commented on WW-4417:
---

I'm marking this to be fixed in 2.3.25 but just to check if adding 
{{namespace}} attribute will fix the issue

> s:form fails to output context/namespace when used with regex pattern matcher
> -
>
> Key: WW-4417
> URL: https://issues.apache.org/jira/browse/WW-4417
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core Actions
>Affects Versions: 2.3.16.3
>Reporter: Peter Björkman
> Fix For: 2.3.25
>
>
> Just changed my config to enable regex in action names. In struts.xml:
> {code:xml}
> 
> {code}
> Works great! But as a side effect, s:forms no longer outputs the correct path 
> to my actions.
> The code below:
> {code:html}
>  enctype="multipart/form-data" method="post">
> {code}
> used to output:
> {code:html}
>  action="/mycontext/news/uploadImagesSave!execute.action" method="post" 
> enctype="multipart/form-data">
> {code}
> but now I only get:
> {code:html}
>  enctype="multipart/form-data">
> {code}
> The context and namespace is stripped out. I verified that just changing back 
> the patternMatcher fixes the issue. I'm using struts 2.3.16.3. Anyone has any 
> ideas on how to fix it?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (WW-4417) s:form fails to output context/namespace when used with regex pattern matcher

2014-11-13 Thread Lukasz Lenart (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14211917#comment-14211917
 ] 

Lukasz Lenart commented on WW-4417:
---

Following discussion http://markmail.org/message/fqtiquxlgjfsioss

 s:form fails to output context/namespace when used with regex pattern matcher
 -

 Key: WW-4417
 URL: https://issues.apache.org/jira/browse/WW-4417
 Project: Struts 2
  Issue Type: Bug
  Components: Core Actions
Affects Versions: 2.3.16.3
Reporter: Peter Björkman
 Fix For: 2.3.x


 Just changed my config to enable regex in action names. In struts.xml:
 constant name=struts.patternMatcher value=regex /
 Works great! But as a side effect, s:forms no longer outputs the correct path 
 to my actions.
 The code below:
 s:form id=uploadImage action=uploadImagesSave!execute 
 enctype=multipart/form-data method=post
 used to output:
 form id=uploadImage 
 action=/mycontext/news/uploadImagesSave!execute.action method=post 
 enctype=multipart/form-data
 but now I only get:
 form id=uploadImage action=uploadImagesSave!execute.action method=post 
 enctype=multipart/form-data
 The context and namespace is stripped out. I verified that just changing back 
 the patternMatcher fixes the issue. I'm using struts 2.3.16.3. Anyone has any 
 ideas on how to fix it?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)