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

Rene Gielen updated WW-2109:
----------------------------

    Description: 
It is documented that the html id for the renedered form will be determined as 
follows:
1. the id attribute value if specified
2. if an 'action' attribute is specified, it will be used as the id in case of 
no id attribute value given

The code is a little messed up here.

  was:
It is documented that the html id for the renedered form will be determined as 
follows:
1. the id attribute value if specified
2. if an 'action' attribute is specified, it will be used as the id in case of 
no id attribute value given

Actually, this is not the way it works. 

     Issue Type: Improvement  (was: Bug)
        Summary: id resolution for <s:form> does not work as documented / needs 
cleanups  (was: "Intelligent" id resolution for <s:form> does not work as 
documented)

After looking deeper, the id generation from action attribute does work, but 
needs minor cleanups

> id resolution for <s:form> does not work as documented / needs cleanups
> -----------------------------------------------------------------------
>
>                 Key: WW-2109
>                 URL: https://issues.apache.org/struts/browse/WW-2109
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Views
>    Affects Versions: 2.0.9
>            Reporter: Rene Gielen
>            Assignee: Rene Gielen
>            Priority: Minor
>             Fix For: 2.0.10, 2.1.0
>
>
> It is documented that the html id for the renedered form will be determined 
> as follows:
> 1. the id attribute value if specified
> 2. if an 'action' attribute is specified, it will be used as the id in case 
> of no id attribute value given
> The code is a little messed up here.

-- 
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