[jira] [Commented] (WW-3861) Using namespace in Portlet URLs does not work anymore

2013-10-14 Thread Dmitri (JIRA)

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

Dmitri commented on WW-3861:


Yes, JSR286 adds few missing things, but above logic remains.


 Using namespace in Portlet URLs does not work anymore
 -

 Key: WW-3861
 URL: https://issues.apache.org/jira/browse/WW-3861
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Portlet
Affects Versions: 2.3.4
 Environment: GateIn 3.2
Reporter: Thomas Delhoménie
 Fix For: 2.3.17

 Attachments: WW-3861.patch


 I just tried the sample portlet apps 
 (http://svn.apache.org/viewvc/struts/struts2/trunk/apps/portlet/).
 The link example using a namespace (edit mode - dummy test) does not work 
 anymore (it used to work in 2.3.3).
 The namespace returned by the 
 org.apache.struts2.portlet.util.PortletUrlHelper.buildUrl method does not 
 prepend the portlet mode in this case (/dummy instead of /edit/dummy).



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (WW-3861) Using namespace in Portlet URLs does not work anymore

2013-10-13 Thread Dmitri (JIRA)

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

Dmitri commented on WW-3861:


Im testing JSR168 helper, portlet mode is part of JSR168 (view, edit, help), 
portlet namespace is struts2 addition that allows multiple portlets code 
reusability,

from  example above it should be: /portletNamespace/portletMode/portletAction,

action: index, namespace: /, portletMode: view = /view/index.action
action: index, namespace: /user, portletMode: edit = /user/edit/index.action
action: index, namespace: /view, portletMode: view = /view/view/index.action
action: index, namespace: /edit, portletMode: view = /edit/view/index.action 



 Using namespace in Portlet URLs does not work anymore
 -

 Key: WW-3861
 URL: https://issues.apache.org/jira/browse/WW-3861
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Portlet
Affects Versions: 2.3.4
 Environment: GateIn 3.2
Reporter: Thomas Delhoménie
 Fix For: 2.3.17

 Attachments: WW-3861.patch


 I just tried the sample portlet apps 
 (http://svn.apache.org/viewvc/struts/struts2/trunk/apps/portlet/).
 The link example using a namespace (edit mode - dummy test) does not work 
 anymore (it used to work in 2.3.3).
 The namespace returned by the 
 org.apache.struts2.portlet.util.PortletUrlHelper.buildUrl method does not 
 prepend the portlet mode in this case (/dummy instead of /edit/dummy).



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (WW-4219) portlet namespace is ignored by s:url and s:a tags

2013-10-11 Thread Dmitri (JIRA)

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

Dmitri commented on WW-4219:


Jsr168Dispatc E com.opensymphony.xwork2.util.logging.commons.CommonsLogger 
error Could not find action
 There is no Action mapped for action name 
test1. - [unknown location]
at 
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
at 
org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
at 
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
at 
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
at 
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)
at 
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:457)
at 
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.render(Jsr168Dispatcher.java:325)
at 
com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
at 
com.ibm.wps.propertybroker.standard.filter.C2APortletFilter.doFilter(C2APortletFilter.java:183)
at 
com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)
at 
com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:573)

 portlet namespace is ignored by s:url and s:a tags
 --

 Key: WW-4219
 URL: https://issues.apache.org/jira/browse/WW-4219
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Portlet
Affects Versions: 2.3.4
Reporter: Dmitri
 Fix For: 2.3.17


 starting from version 2.3.4 portletNamespace from portlet.xml is ignored by 
 s:url and s:a/ tags, when portlet plugin is used, action mapping error is 
 displayed.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (WW-4219) portlet namespace is ignored by s:url and s:a tags

2013-10-11 Thread Dmitri (JIRA)

 [ 
https://issues.apache.org/jira/browse/WW-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitri updated WW-4219:
---

Attachment: success.jsp
struts.xml
portlet.xml

 portlet namespace is ignored by s:url and s:a tags
 --

 Key: WW-4219
 URL: https://issues.apache.org/jira/browse/WW-4219
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Portlet
Affects Versions: 2.3.4
Reporter: Dmitri
 Fix For: 2.3.17

 Attachments: portlet.xml, struts.xml, success.jsp


 starting from version 2.3.4 portletNamespace from portlet.xml is ignored by 
 s:url and s:a/ tags, when portlet plugin is used, action mapping error is 
 displayed.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (WW-4219) portlet namespace is ignored by s:url and s:a tags

2013-10-11 Thread Dmitri (JIRA)

 [ 
https://issues.apache.org/jira/browse/WW-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitri updated WW-4219:
---

Attachment: test-portletapp.zip

demo project, run it on pluto 2.0.3

 portlet namespace is ignored by s:url and s:a tags
 --

 Key: WW-4219
 URL: https://issues.apache.org/jira/browse/WW-4219
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Portlet
Affects Versions: 2.3.4
Reporter: Dmitri
 Fix For: 2.3.17

 Attachments: portlet.xml, struts.xml, success.jsp, test-portletapp.zip


 starting from version 2.3.4 portletNamespace from portlet.xml is ignored by 
 s:url and s:a/ tags, when portlet plugin is used, action mapping error is 
 displayed.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (WW-4219) portlet namespace is ignored by s:url and s:a tags

2013-10-11 Thread Dmitri (JIRA)

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

Dmitri commented on WW-4219:


I added complete maven prject that can be build and run on pluto 2.0.3,
also I notice that similar issue was already reported issue# WW-3861,

thanks for quick response.

 portlet namespace is ignored by s:url and s:a tags
 --

 Key: WW-4219
 URL: https://issues.apache.org/jira/browse/WW-4219
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Portlet
Affects Versions: 2.3.4
Reporter: Dmitri
 Fix For: 2.3.17

 Attachments: portlet.xml, struts.xml, success.jsp, test-portletapp.zip


 starting from version 2.3.4 portletNamespace from portlet.xml is ignored by 
 s:url and s:a/ tags, when portlet plugin is used, action mapping error is 
 displayed.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (WW-4219) portlet namespace is ignored by s:url and s:a tags

2013-10-11 Thread Dmitri (JIRA)

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

Dmitri commented on WW-4219:


WW-3861 is around portlet mode, not portlet namespace so it a different issue. 

 portlet namespace is ignored by s:url and s:a tags
 --

 Key: WW-4219
 URL: https://issues.apache.org/jira/browse/WW-4219
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Portlet
Affects Versions: 2.3.4
Reporter: Dmitri
 Fix For: 2.3.17

 Attachments: portlet.xml, struts.xml, success.jsp, test-portletapp.zip


 starting from version 2.3.4 portletNamespace from portlet.xml is ignored by 
 s:url and s:a/ tags, when portlet plugin is used, action mapping error is 
 displayed.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (WW-3861) Using namespace in Portlet URLs does not work anymore

2013-10-11 Thread Dmitri (JIRA)

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

Dmitri commented on WW-3861:


I think the problem is in PortletUrlHelper.buildUrl line 95, calling 
prependNamespace(namespace, portletMode, false); flag boolean for namespace is 
always false.  

 Using namespace in Portlet URLs does not work anymore
 -

 Key: WW-3861
 URL: https://issues.apache.org/jira/browse/WW-3861
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Portlet
Affects Versions: 2.3.4
 Environment: GateIn 3.2
Reporter: Thomas Delhoménie
 Fix For: 2.3.17

 Attachments: WW-3861.patch


 I just tried the sample portlet apps 
 (http://svn.apache.org/viewvc/struts/struts2/trunk/apps/portlet/).
 The link example using a namespace (edit mode - dummy test) does not work 
 anymore (it used to work in 2.3.3).
 The namespace returned by the 
 org.apache.struts2.portlet.util.PortletUrlHelper.buildUrl method does not 
 prepend the portlet mode in this case (/dummy instead of /edit/dummy).



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (WW-4219) portlet namespace is ignored by s:url and s:a tags

2013-10-11 Thread Dmitri (JIRA)

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

Dmitri commented on WW-4219:


I think the problem is in PortletUrlHelper.buildUrl line 95, calling 
prependNamespace(namespace, portletMode, false); flag boolean for namespace is 
always false.

 portlet namespace is ignored by s:url and s:a tags
 --

 Key: WW-4219
 URL: https://issues.apache.org/jira/browse/WW-4219
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Portlet
Affects Versions: 2.3.4
Reporter: Dmitri
 Fix For: 2.3.17

 Attachments: portlet.xml, struts.xml, success.jsp, test-portletapp.zip


 starting from version 2.3.4 portletNamespace from portlet.xml is ignored by 
 s:url and s:a/ tags, when portlet plugin is used, action mapping error is 
 displayed.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (WW-4219) portlet namespace is ignored by s:url and s:a tags

2013-10-10 Thread Dmitri (JIRA)
Dmitri created WW-4219:
--

 Summary: portlet namespace is ignored by s:url and s:a tags
 Key: WW-4219
 URL: https://issues.apache.org/jira/browse/WW-4219
 Project: Struts 2
  Issue Type: Bug
  Components: Plugin - Portlet
Affects Versions: 2.3.4
Reporter: Dmitri


starting from version 2.3.4 portletNamespace from portlet.xml is ignored by 
s:url and s:a/ tags, when portlet plugin is used, action mapping error is 
displayed.  




--
This message was sent by Atlassian JIRA
(v6.1#6144)