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

selection="open" attribute on a selectOne element

From: Durnell, Carryl <Carryl.Durnell@logicacmg.com>
Date: Thu, 21 Oct 2004 15:59:18 +0100
Message-ID: <A346A4C49F4BD51192250002B33643650263B86E@hamming.logica.co.uk>
To: www-forms@w3.org
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 14:59:34 GMT

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