- From: Durnell, Carryl <Carryl.Durnell@logicacmg.com>
- Date: Fri, 22 Oct 2004 15:00:33 +0100
- To: Mark Birbeck <mark.birbeck@x-port.net>
- Cc: www-forms@w3.org
- Message-ID: <A346A4C49F4BD51192250002B33643650263B92F@hamming.logica.co.uk>
Thanks for that - I'll look into changing it to only use one model if I can, as I can't see anything else wrong with it. _____ From: Mark Birbeck [mailto:mark.birbeck@x-port.net] Sent: 21 October 2004 17:39 To: 'Durnell, Carryl' Cc: www-forms@w3.org Subject: RE: selection="open" attribute on a selectOne element Carryl, Wow! I believe that's now a collectors' item ;) But on your general point, yes @selection="open" should work the way you describe. Mark PS There is some ambiguity as to whether you should be allowed to use a different model on the xf:itemset than on the xf:select1. The consensus at the moment is that they should not be from different models, so watch out there, too. Mark Birbeck CEO x-port.net Ltd. e: Mark.Birbeck@x-port.net t: +44 (0) 20 7689 9232 w: http://www.formsPlayer.com/ <http://www.formsplayer.com/> Download our XForms processor from http://www.formsPlayer.com/ <http://www.formsplayer.com/> -----Original Message----- From: Durnell, Carryl [mailto:Carryl.Durnell@logicacmg.com] Sent: 21 October 2004 16:33 To: Mark Birbeck Cc: www-forms@w3.org Subject: RE: selection="open" attribute on a selectOne element Hi Mark, We are using quite an old implementation - the "Working Draft 18 January 2002" version, which would explain the use of deprecated tags. However, this version still describes the use of this attribute, so I thought it should work! Cheers, Carryl _____ From: Mark Birbeck [mailto:mark.birbeck@x-port.net] Sent: 21 October 2004 16:24 To: 'Durnell, Carryl' Cc: www-forms@w3.org Subject: RE: selection="open" attribute on a selectOne element 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/ <http://www.formsplayer.com/> Download our XForms processor from http://www.formsPlayer.com/ <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. 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. 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 Friday, 22 October 2004 14:00:58 UTC