cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27147] - Cocoon Forms field styling: selection lists with optgroups
Date Thu, 06 Oct 2005 13:12:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27147>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27147


m.pfingsthorn@hippo.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10484|0                           |1
        is obsolete|                            |




------- Additional Comments From m.pfingsthorn@hippo.nl  2005-10-06 15:12 -------
Created an attachment (id=16610)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16610&action=view)
Implements OptGroups in Static/Dynamic Selection lists for CForms

The patch implements optgroups for the current cforms trunk.
StaticSelectionList as well as the DynamicSelectionList now support it. Define
like this:

<fd:selection-list>
  <fd:item value=""><fd:label>mylabel</fd:label></fd:item>
  <fd:optgroup>
    <fd:label>grouplabel</fd:label>
    <fd:item value="1"><fd:label>subitem 1</fd:label></fd:item>
    <fd:item value="2"><fd:label>subitem 2</fd:label></fd:item>
  </fd:optgroup>
</fd:selection-list>

The forms-field-styling.xsl currently only renders optgroups and nested items
in  a dropdown list. Radio-/Checkboxes and output types are not implemented
yet.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message