W3C home > Mailing lists > Public > www-forms@w3.org > December 2002

retaining previous settings in a select1

From: Roman Huditsch <roman.huditsch@hico.com>
Date: Mon, 16 Dec 2002 09:34:53 +0100
Message-ID: <0C79A363CB0321418927D0CB1AD0403C095ABE@hicoetsrv000006.hico.local>
To: <www-forms@w3.org>

Hello all,

Over the weekend I tried to work again on my XForms-based editor and doing this I came up with some more questions. 
I have a select1 within a repeat element where I can choose a name from names already contained within my instance data. 
So far so good. 
There is also a button for inserting new elements to my instance data. And there is the problem. 
When I had a name selected within the select1 and clicked the insert-button, new form fields appear as desired, but my previous name-selection doesn't show the right (selected) name any more. 
The intersting thing is that when I submit the instance data, the values are set correctly. So I assume that there is either some kind of rendering bug or some error in my code. 
What I would like to have is that all my previous settings are retained when new form fields are inserted.
Can you help me with this problem, please?

<xforms:select1 ref="tm:instanceOf/tm:topicRef/@xlink:href" class="topicInstanceOf">
			<xforms:value />
	<xforms:itemset nodeset="/tm:topicMap/tm:topic/tm:baseName/tm:baseNameString[string-length()!=0]">
		<xforms:label ref="." />
		<xforms:value ref="../../@id" />

Received on Monday, 16 December 2002 03:35:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:07 UTC