You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rene Gielen (JIRA)" <ji...@apache.org> on 2007/08/14 12:16:34 UTC

[jira] Created: (WW-2109) "Intelligent" id resolution for does not work as documented

"Intelligent" id resolution for <s:form> does not work as documented
--------------------------------------------------------------------

                 Key: WW-2109
                 URL: https://issues.apache.org/struts/browse/WW-2109
             Project: Struts 2
          Issue Type: Bug
          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

Actually, this is not the way it works. 

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


[jira] Updated: (WW-2109) id resolution for does not work as documented / needs cleanups

Posted by "Rene Gielen (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (WW-2109) id resolution for does not work as documented / needs cleanups

Posted by "Rene Gielen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rene Gielen closed WW-2109.
---------------------------

    Resolution: Fixed

fixed in SVN:
- proper use of escape() in any case
- doc updates
- code 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.