W3C home > Mailing lists > Public > www-forms@w3.org > October 2004

RE: selection="open" attribute on a selectOne element

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Thu, 21 Oct 2004 16:23:39 +0100
To: "'Durnell, Carryl'" <Carryl.Durnell@logicacmg.com>
Cc: <www-forms@w3.org>
Message-ID: <005501c4b781$f0e68580$6701a8c0@W100>
Carryl,
 
<selectOne> had its name changed a very long time ago to <select1>, and
<caption> is now <label> ... so I think the first question is what
implementation are you using?
 
Regards,
 
Mark
 

Mark Birbeck
CEO
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/

Download our XForms processor from
http://www.formsPlayer.com/ 

-----Original Message-----
From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On Behalf
Of Durnell, Carryl
Sent: 21 October 2004 15:59
To: www-forms@w3.org
Subject: selection="open" attribute on a selectOne element


Hi,
 
I'm trying to get a field that shows a value pulled from the database, but
then allows the user to either accept this value, or input a new value - I
had understood this was possible using the selection="open" attribute on a
selectOne element, but can't get it to work.  The field displays the value
pulled from the database, but doesn't allow me to input an alternative
value.
 
It could be that I am merely missing some code to handle the input
correctly, or something else, I'm not sure - see code snippet below:
 
       <xf:selectOne selectUI="menu" ref="/data/xmit_num" model="pagedata"
id="LPStoPSXmitNum" selection="open">
        <xf:itemset nodeset="//configset/configitem" model="existingconfig">
         <xf:caption ref="lps_to_ps_xmit_num"/>
         <xf:value ref="lps_to_ps_xmit_num"/>
        </xf:itemset>
       </xf:selectOne>
 
Any and all advice gratefully received!
Carryl

Carryl Durnell
FASTWIRE Consultant
____________________________

LogicaCMG

75 Hampstead Rd., Stephenson House
London
UK
T: +44 20 7446 1775 (direct)
F: +44 20 7446 1777
E:  <blocked::mailto:Carryl.Negus@logicacmg.com>
Carryl.Durnell@logicacmg.com 
www.logicacmg.com

 

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
Received on Thursday, 21 October 2004 15:23:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:59 GMT