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: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to