cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <ive...@apache.org>
Subject Re: [Announcement] XMLForm 0.81 available in Scratchpad
Date Mon, 06 May 2002 12:59:08 GMT

Great question.

I held on selectMany, because I wanted other peoples input.
There are different ways it can be implemented.

One possible implementation is to convert a selectMany in a similar way as
selectOne.
During transformation (XMLFormTransformet) list all values from the
underlying collection (as <value> tags).
Then when transforming all enlisted <item> tags in xmlform2html.xsl, convert
selectmany  to <select MULTIPLE>, mark as selected all <item> tags which
have values matching the value of <value> tags.
This is just one option. Additionally some support for the selectUI
attribute would make sence.
It's XSD type is:
  <xsd:simpleType name="selectUIType">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="radioGroup"/>
      <xsd:enumeration value="checkboxGroup"/>
      <xsd:enumeration value="pulldown"/>
      <xsd:enumeration value="listbox"/>
      <xsd:enumeration value="combo"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name

What do you think?

I haven't started on the implementation, so if you have the itch, feel free
the scratch it.


Cheers,

Ivelin




----- Original Message -----
From: <mratliff@collegenet.com>
To: <cocoon-dev@xml.apache.org>
Sent: Friday, May 03, 2002 6:49 PM
Subject: Re: [Announcement] XMLForm 0.81 available in Scratchpad


>
> Ivelin,
>
> Have you figured out how you want to handle multiple-select widgets in
xmlform?
> I'm doing a lot of testing/extension of xmlform and don't want to
duplicate
> efforts.  Even work in progress, or general suggestions how to proceed
would
> help...
>
> --Michael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message