You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jennifer Grucza (JIRA)" <ji...@apache.org> on 2006/06/27 21:24:17 UTC

[jira] Created: (WW-1364) Select tag does not support optgroup

Select tag does not support optgroup
------------------------------------

         Key: WW-1364
         URL: http://issues.apache.org/struts/browse/WW-1364
     Project: Struts Action 2
        Type: Improvement

  Components: Views  
    Reporter: Jennifer Grucza
    Priority: Minor


(Copied from WebWork JIRA)

The WebWork select tag does not appear to offer any support for the OPTGROUP HTML tag (http://www.w3.org/TR/html4/interact/forms.html#edef-OPTGROUP). In Struts, you can specify options in the body of the select tag, which allows you to put optgroups wherever you need them. The optgroup tag can be useful for making long select boxes easier to use.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (WW-1364) Select tag does not support optgroup

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1364?page=all ]

tm_jee updated WW-1364:
-----------------------

    Fix Version: 2.0.0
        Version: WW 2.2.2
      Assign To: tm_jee

> Select tag does not support optgroup
> ------------------------------------
>
>          Key: WW-1364
>          URL: http://issues.apache.org/struts/browse/WW-1364
>      Project: Struts 2
>         Type: Improvement

>   Components: Views
>     Versions: WW 2.2.2
>     Reporter: Jennifer Grucza
>     Assignee: tm_jee
>     Priority: Minor
>      Fix For: 2.0.0

>
> (Copied from WebWork JIRA)
> The WebWork select tag does not appear to offer any support for the OPTGROUP HTML tag (http://www.w3.org/TR/html4/interact/forms.html#edef-OPTGROUP). In Struts, you can specify options in the body of the select tag, which allows you to put optgroups wherever you need them. The optgroup tag can be useful for making long select boxes easier to use.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (WW-1364) Select tag does not support optgroup

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/WW-1364?page=comments#action_37681 ] 

tm_jee commented on WW-1364:
----------------------------

fixed. changes at :-

Adding         src/main/java/org/apache/struts2/components/OptGroup.java
Adding         src/main/java/org/apache/struts2/views/freemarker/tags/OptGroupModel.java
Sending        src/main/java/org/apache/struts2/views/freemarker/tags/StrutsModels.java
Adding         src/main/java/org/apache/struts2/views/jsp/ui/OptGroupTag.java
Adding         src/main/java/org/apache/struts2/views/velocity/components/OptGroupDirective.java
Adding         src/main/resources/template/simple/optgroup.ftl
Sending        src/main/resources/template/simple/select.ftl
Adding         src/test/java/org/apache/struts2/views/jsp/ui/OptGroupTest.java
Adding         src/test/resources/org/apache/struts2/views/jsp/ui/OptGroup-1.txt
Adding         src/test/resources/org/apache/struts2/views/jsp/ui/OptGroup-2.txt
Adding         src/test/resources/org/apache/struts2/views/jsp/ui/OptGroup-3.txt
Transmitting file data ...........
Committed revision 419952.

> Select tag does not support optgroup
> ------------------------------------
>
>          Key: WW-1364
>          URL: http://issues.apache.org/struts/browse/WW-1364
>      Project: Struts 2
>         Type: Improvement

>   Components: Views
>     Versions: WW 2.2.2
>     Reporter: Jennifer Grucza
>     Assignee: tm_jee
>     Priority: Minor
>      Fix For: 2.0.0

>
> (Copied from WebWork JIRA)
> The WebWork select tag does not appear to offer any support for the OPTGROUP HTML tag (http://www.w3.org/TR/html4/interact/forms.html#edef-OPTGROUP). In Struts, you can specify options in the body of the select tag, which allows you to put optgroups wherever you need them. The optgroup tag can be useful for making long select boxes easier to use.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (WW-1364) Select tag does not support optgroup

Posted by "tm_jee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1364?page=all ]
     
tm_jee resolved WW-1364:
------------------------

    Resolution: Fixed

> Select tag does not support optgroup
> ------------------------------------
>
>          Key: WW-1364
>          URL: http://issues.apache.org/struts/browse/WW-1364
>      Project: Struts 2
>         Type: Improvement

>   Components: Views
>     Versions: WW 2.2.2
>     Reporter: Jennifer Grucza
>     Assignee: tm_jee
>     Priority: Minor
>      Fix For: 2.0.0

>
> (Copied from WebWork JIRA)
> The WebWork select tag does not appear to offer any support for the OPTGROUP HTML tag (http://www.w3.org/TR/html4/interact/forms.html#edef-OPTGROUP). In Struts, you can specify options in the body of the select tag, which allows you to put optgroups wherever you need them. The optgroup tag can be useful for making long select boxes easier to use.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira