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

deleting nodesets in the instance data after an input field has been filled out

From: Roman Huditsch <roman.huditsch@hico.com>
Date: Mon, 23 Dec 2002 16:00:55 +0100
Message-ID: <0C79A363CB0321418927D0CB1AD0403C095AC8@hicoetsrv000006.hico.local>
To: <www-forms@w3.org>

Hello again,

I would like to define an input element (within a repeat named "topicRepeat") which sould trigger a delete action after the user has filled it out. 
I thought about something like:

<p class="padding">
	<xforms:input ref="/tm:topicMap/tm:topic/tm:occurrence/tm:resourceRef" class="resourceRef">
		<xforms:label>Link address: </xforms:label>
		<xforms:hint>Geben Sie hier bitte die entsprechende Linkaddresse ein</xforms:hint>
		<xforms:action ev:event="xforms-value-changed">
			<xforms:delete nodeset="/tm:topicMap/tm:topic/tm:occurrence[tm:resourceData]"  at="xforms:index('topicRepeat')"/>
		</xforms:action>
	</xforms:input>
</p>

But unfortunaltely it doesn't work. 
Is there some code error or a logical one?
Or is it just not implemented yet in X-Smiles?
I also tried it with the event xforms-activate, but no progress either.

wbr,
Roman
Received on Monday, 23 December 2002 10:01:52 GMT

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