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

Alvin Singh updated WW-2789:
----------------------------

    Description: 
Having issues with this version of struts and struts tags when trying to render.

For example when my action extention is .action the following should render the 
action attribute with the extension ".action". This works fine -

<s:form action="createSpace" method="post" cssClass="form"> - renders - <form 
class="form" method="post" action="/createSpace.action" onsubmit="return true;" 
name="createSpace" id="createSpace">

This doesn't - 

<s:form action="createSpace!save" method="post" cssClass="form"> - renders - 
<form class="form" method="post" action="createSpace!save" onsubmit="return 
true;" id="createSpace_save">



  was:
Having issues with this version of struts and struts tags when trying to render.

For example when my action extention is .action the following should render the 
action attribute with the extension ".action". This works fine -

<s:form action="createSpace" method="post" cssClass="form"> - renders - <form 
class="form" method="post" action="/createSpace.action" onsubmit="return true;" 
name="createSpace" id="createSpace">

This doesn't - 

<s:form action="createSpace!save.action" method="post" cssClass="form"> - 
renders - <form class="form" method="post" action="createSpace!save.action" 
onsubmit="return true;" id="createSpace_save">




Sorry I screwed up my second example - updated.

> Struts tags and dynamic method invocation
> -----------------------------------------
>
>                 Key: WW-2789
>                 URL: https://issues.apache.org/struts/browse/WW-2789
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.1.2
>         Environment: mac, jdk1.5, tomcat6
>            Reporter: Alvin Singh
>
> Having issues with this version of struts and struts tags when trying to 
> render.
> For example when my action extention is .action the following should render 
> the action attribute with the extension ".action". This works fine -
> <s:form action="createSpace" method="post" cssClass="form"> - renders - <form 
> class="form" method="post" action="/createSpace.action" onsubmit="return 
> true;" name="createSpace" id="createSpace">
> This doesn't - 
> <s:form action="createSpace!save" method="post" cssClass="form"> - renders - 
> <form class="form" method="post" action="createSpace!save" onsubmit="return 
> true;" id="createSpace_save">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to