You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "olivier dupuy (JIRA)" <ji...@apache.org> on 2007/07/03 17:54:28 UTC
[jira] Created: (WW-2026) bug in the portlet demo (missing
processFormExampleForward.action file)
bug in the portlet demo (missing processFormExampleForward.action file)
-----------------------------------------------------------------------
Key: WW-2026
URL: https://issues.apache.org/struts/browse/WW-2026
Project: Struts 2
Issue Type: Bug
Components: Examples
Affects Versions: 2.0.8
Environment: Tomcat 5.5.23 on W2K with the pluto 1.1 portlet support
Reporter: olivier dupuy
Hi,
I was just playing with http://localhost:8080/StrutsPortlet/edit/dummy/test/index.action
tried the <form test> link, entered data and submitted with the following error
>>>>The requested resource (/StrutsPortlet/edit/processFormExampleForward.action) is not available
on the page http://localhost:8080/StrutsPortlet/edit/dummy/test/processFormExampleEdit.action
Web.xml contains this but this processFormExampleForward.action is missing as a file
<action name="processFormExampleEdit"
class="org.apache.struts2.portlet.example.FormExample">
<result name="input">
/WEB-INF/edit/formExampleInput.jsp
</result>
<result name="success">
/edit/processFormExampleForward.action?firstName=${firstName}&lastName=${lastName}
</result>
</action>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-2026) bug in the portlet demo (missing
processFormExampleForward.action file)
Posted by "Nils-Helge Garli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41345 ]
Nils-Helge Garli commented on WW-2026:
--------------------------------------
This works nicely in my test-environment. Are you sure that you're accessing the portlet correctly through the portal? The URLs you're referring to seems like ordinary "servlet URLs". You can only access the portlets by deploying them in a portlet container and adding them to a portal page, and not through a direct URL.
> bug in the portlet demo (missing processFormExampleForward.action file)
> -----------------------------------------------------------------------
>
> Key: WW-2026
> URL: https://issues.apache.org/struts/browse/WW-2026
> Project: Struts 2
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.0.8
> Environment: Tomcat 5.5.23 on W2K with the pluto 1.1 portlet support
> Reporter: olivier dupuy
>
> Hi,
> I was just playing with http://localhost:8080/StrutsPortlet/edit/dummy/test/index.action
> tried the <form test> link, entered data and submitted with the following error
> >>>>The requested resource (/StrutsPortlet/edit/processFormExampleForward.action) is not available
> on the page http://localhost:8080/StrutsPortlet/edit/dummy/test/processFormExampleEdit.action
> Web.xml contains this but this processFormExampleForward.action is missing as a file
> <action name="processFormExampleEdit"
> class="org.apache.struts2.portlet.example.FormExample">
> <result name="input">
> /WEB-INF/edit/formExampleInput.jsp
> </result>
> <result name="success">
> /edit/processFormExampleForward.action?firstName=${firstName}&lastName=${lastName}
> </result>
> </action>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WW-2026) bug in the portlet demo (missing
processFormExampleForward.action file)
Posted by "James Holmes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Holmes reassigned WW-2026:
--------------------------------
Assignee: James Holmes
> bug in the portlet demo (missing processFormExampleForward.action file)
> -----------------------------------------------------------------------
>
> Key: WW-2026
> URL: https://issues.apache.org/struts/browse/WW-2026
> Project: Struts 2
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.0.8
> Environment: Tomcat 5.5.23 on W2K with the pluto 1.1 portlet support
> Reporter: olivier dupuy
> Assignee: James Holmes
> Attachments: Olivier Dupuy.vcf
>
>
> Hi,
> I was just playing with http://localhost:8080/StrutsPortlet/edit/dummy/test/index.action
> tried the <form test> link, entered data and submitted with the following error
> >>>>The requested resource (/StrutsPortlet/edit/processFormExampleForward.action) is not available
> on the page http://localhost:8080/StrutsPortlet/edit/dummy/test/processFormExampleEdit.action
> Web.xml contains this but this processFormExampleForward.action is missing as a file
> <action name="processFormExampleEdit"
> class="org.apache.struts2.portlet.example.FormExample">
> <result name="input">
> /WEB-INF/edit/formExampleInput.jsp
> </result>
> <result name="success">
> /edit/processFormExampleForward.action?firstName=${firstName}&lastName=${lastName}
> </result>
> </action>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2026) bug in the portlet demo (missing
processFormExampleForward.action file)
Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Husted updated WW-2026:
---------------------------
Fix Version/s: Future
Setting Fix Version to "future" for issues without a set fix version.
> bug in the portlet demo (missing processFormExampleForward.action file)
> -----------------------------------------------------------------------
>
> Key: WW-2026
> URL: https://issues.apache.org/struts/browse/WW-2026
> Project: Struts 2
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.0.8
> Environment: Tomcat 5.5.23 on W2K with the pluto 1.1 portlet support
> Reporter: olivier dupuy
> Assignee: James Holmes
> Fix For: Future
>
> Attachments: Olivier Dupuy.vcf
>
>
> Hi,
> I was just playing with http://localhost:8080/StrutsPortlet/edit/dummy/test/index.action
> tried the <form test> link, entered data and submitted with the following error
> >>>>The requested resource (/StrutsPortlet/edit/processFormExampleForward.action) is not available
> on the page http://localhost:8080/StrutsPortlet/edit/dummy/test/processFormExampleEdit.action
> Web.xml contains this but this processFormExampleForward.action is missing as a file
> <action name="processFormExampleEdit"
> class="org.apache.struts2.portlet.example.FormExample">
> <result name="input">
> /WEB-INF/edit/formExampleInput.jsp
> </result>
> <result name="success">
> /edit/processFormExampleForward.action?firstName=${firstName}&lastName=${lastName}
> </result>
> </action>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2026) bug in the portlet demo (missing
processFormExampleForward.action file)
Posted by "olivier dupuy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
olivier dupuy updated WW-2026:
------------------------------
Attachment: Olivier Dupuy.vcf
Hi,
To remind you, my environment is Tomcat 5.5.23 + pluto 1.1 portlet
libraries.
If you have a pointer to the right configuration and/or URL to use for a
portlet, feel free...
I fixed it by a redirect, see the 2 lines to change to make a redirect
but somehow the parameters are not passed properly for the second
request
So I am confused as the example sells a "forward"... So this must not be
the right solution
Maybe your action mapper environment is different from the one shipped
in this demo
Replace in Struts.xml
...
<action name="processFormExampleEdit"
class="org.apache.struts2.portlet.example.FormExample">
<result name="input">
/WEB-INF/edit/formExampleInput.jsp
</result>
<result name="success">
/edit/processFormExampleForward.action?firstName=${firstName}&lastNa
me=${lastName}
</result>
</action>
...
by
...
<action name="processFormExampleEdit"
class="org.apache.struts2.portlet.example.FormExample">
<result name="input">
/WEB-INF/edit/formExampleInput.jsp
</result>
<result name="success" type="redirect-action">
<<<<<<<<<<
processFormExampleForward.action?firstName=${firstName}&lastName=${l
astName} <<<<<<<<<<<<
</result>
</action>
...
Thanks / Merci
Olivier DUPUY
> bug in the portlet demo (missing processFormExampleForward.action file)
> -----------------------------------------------------------------------
>
> Key: WW-2026
> URL: https://issues.apache.org/struts/browse/WW-2026
> Project: Struts 2
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.0.8
> Environment: Tomcat 5.5.23 on W2K with the pluto 1.1 portlet support
> Reporter: olivier dupuy
> Attachments: Olivier Dupuy.vcf
>
>
> Hi,
> I was just playing with http://localhost:8080/StrutsPortlet/edit/dummy/test/index.action
> tried the <form test> link, entered data and submitted with the following error
> >>>>The requested resource (/StrutsPortlet/edit/processFormExampleForward.action) is not available
> on the page http://localhost:8080/StrutsPortlet/edit/dummy/test/processFormExampleEdit.action
> Web.xml contains this but this processFormExampleForward.action is missing as a file
> <action name="processFormExampleEdit"
> class="org.apache.struts2.portlet.example.FormExample">
> <result name="input">
> /WEB-INF/edit/formExampleInput.jsp
> </result>
> <result name="success">
> /edit/processFormExampleForward.action?firstName=${firstName}&lastName=${lastName}
> </result>
> </action>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-2026) bug in the portlet demo (missing
processFormExampleForward.action file)
Posted by "Nils-Helge Garli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nils-Helge Garli resolved WW-2026.
----------------------------------
Resolution: Cannot Reproduce
Probably because the portlet was not accessed correctly (through a portlet container).
> bug in the portlet demo (missing processFormExampleForward.action file)
> -----------------------------------------------------------------------
>
> Key: WW-2026
> URL: https://issues.apache.org/struts/browse/WW-2026
> Project: Struts 2
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.0.8
> Environment: Tomcat 5.5.23 on W2K with the pluto 1.1 portlet support
> Reporter: olivier dupuy
> Fix For: Future
>
> Attachments: Olivier Dupuy.vcf
>
>
> Hi,
> I was just playing with http://localhost:8080/StrutsPortlet/edit/dummy/test/index.action
> tried the <form test> link, entered data and submitted with the following error
> >>>>The requested resource (/StrutsPortlet/edit/processFormExampleForward.action) is not available
> on the page http://localhost:8080/StrutsPortlet/edit/dummy/test/processFormExampleEdit.action
> Web.xml contains this but this processFormExampleForward.action is missing as a file
> <action name="processFormExampleEdit"
> class="org.apache.struts2.portlet.example.FormExample">
> <result name="input">
> /WEB-INF/edit/formExampleInput.jsp
> </result>
> <result name="success">
> /edit/processFormExampleForward.action?firstName=${firstName}&lastName=${lastName}
> </result>
> </action>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WW-2026) bug in the portlet demo (missing
processFormExampleForward.action file)
Posted by "James Holmes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Holmes reassigned WW-2026:
--------------------------------
Assignee: (was: James Holmes)
> bug in the portlet demo (missing processFormExampleForward.action file)
> -----------------------------------------------------------------------
>
> Key: WW-2026
> URL: https://issues.apache.org/struts/browse/WW-2026
> Project: Struts 2
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.0.8
> Environment: Tomcat 5.5.23 on W2K with the pluto 1.1 portlet support
> Reporter: olivier dupuy
> Fix For: Future
>
> Attachments: Olivier Dupuy.vcf
>
>
> Hi,
> I was just playing with http://localhost:8080/StrutsPortlet/edit/dummy/test/index.action
> tried the <form test> link, entered data and submitted with the following error
> >>>>The requested resource (/StrutsPortlet/edit/processFormExampleForward.action) is not available
> on the page http://localhost:8080/StrutsPortlet/edit/dummy/test/processFormExampleEdit.action
> Web.xml contains this but this processFormExampleForward.action is missing as a file
> <action name="processFormExampleEdit"
> class="org.apache.struts2.portlet.example.FormExample">
> <result name="input">
> /WEB-INF/edit/formExampleInput.jsp
> </result>
> <result name="success">
> /edit/processFormExampleForward.action?firstName=${firstName}&lastName=${lastName}
> </result>
> </action>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.