[ 
http://www.stripesframework.org/jira/browse/STS-853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12469#comment-12469
 ] 

Ben Gunter commented on STS-853:
--------------------------------

Cliff, you're coming across as abusive. You've made your point. You have 
clarified what the problem is, I understand now, and I'll reopen this issue. 
But you should take a moment to reflect on the fact that I am the only person 
currently working on this project, and I do it as a volunteer. I don't owe you 
anything. And, lastly, the source code is publicly available if you would like 
to contribute to the project by fixing this bug and submitting a patch.

This is scheduled to be fixed in 1.5.7.

> Invalid <optgroup> HTML markup generated
> ----------------------------------------
>
>                 Key: STS-853
>                 URL: http://www.stripesframework.org/jira/browse/STS-853
>             Project: Stripes
>          Issue Type: Bug
>          Components: Tag Library
>    Affects Versions: Release 1.5.6
>         Environment: Tomcat 6
>            Reporter: Cliff Jones
>            Assignee: Ben Gunter
>            Priority: Minor
>              Labels: options-collection
>
> The invalid <optgroup> tag is generated using <stripes:options-collection> 
> tag when "partial" attribute is used within a <stripes:form> tag.
> (reformatted for readability)
> <select id="cboSupervisor" name="criteria.supervisor" class="DropBox" 
> onchange="supervisorSelected(this);">
>    <option value="">--- All ---</option>
>    <optgroup label="Active" />
>       <option value="204230">Bartlett, Roberta</option>
>       <option value="306796">Beasley, Teresa</option>
>       <option value="237550">Bersch, Alisha</option>
>    <optgroup label="Retired" />
>       <option value="251149">Acting TL, Ohm</option>
>       <option value="155878">Auer, Kimberly</option>
> </select>
> The invalid use of non-body optgroup element results in the browser (IE) 
> *not* providing the indentation for options belonging to that group when the 
> select is replaced in the DOM via Ajax.
> Note:  The CORRECT output is:
> <select id="cboSupervisor" name="criteria.supervisor" class="DropBox" 
> onchange="supervisorSelected(this);">
>    <option value="">--- All ---</option>
>    <optgroup label="Active" >
>       <option value="204230">Bartlett, Roberta</option>
>       <option value="306796">Beasley, Teresa</option>
>       <option value="237550">Bersch, Alisha</option>
>    </optgroup>
>    <optgroup label="Retired" >
>       <option value="251149">Acting TL, Ohm</option>
>       <option value="155878">Auer, Kimberly</option>
>    </optgroup>
> </select>
> For further information on the correct use of <optgroup>, please see: 
> http://www.w3schools.com/tags/tag_optgroup.asp

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to