[ http://mc4j.org/jira/browse/STS-173?page=comments#action_10430 ] 
            
Tim Fennell commented on STS-173:
---------------------------------

Brian,

Could you explain a little more about how you would see these attributes being 
used?  Why not a single 'group' attribute like:
   <s:options-collection collection="${c}" label="name" value="id" 
sort="type,name" group"type.description"/>

The way I see it, this still takes a single collection, but renders an option 
group tag every time the value of the property defined by 'group' changes.


> Support for <optgroup>
> ----------------------
>
>                 Key: STS-173
>                 URL: http://mc4j.org/jira/browse/STS-173
>             Project: Stripes
>          Issue Type: New Feature
>          Components: Tag Library
>            Reporter: Brian Nørremark
>         Assigned To: Tim Fennell
>            Priority: Minor
>             Fix For: Release 1.5
>
>
> See: http://www.w3schools.com/tags/tag_optgroup.asp
> I know that this may be accomplished by writing the <optgroup>-tags manually, 
> a more delicate sollution would however be nice.
> Adding a <stripes:optgroup>-tag would fix part of the problem. Optgroup may 
> however also be used in options-collection and options-enumeration be adding 
> four properties: groups="collection" grouplabel="group.name" 
> groupindex="group.id" groupby="item.group.id".

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

       

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to