Re: How to use insert and delete actions

mb this helps (for delete):

<xforms:trigger>
<xforms:label>Delete current meeting</xforms:label>
<xforms:delete nodeset="instance('data')/meeting[position() = 
index('meetings_index')]" at="1"/>
</xforms:trigger>


Catherine Poinsignon wrote:
> Hi all,
> I am trying to use the insert and delete actions to insert a new record 
> in my instance data or delete an existing record. Do do that, I hace the 
> following instance :
>  
>  
>             <xforms:trigger>
>                 <xforms:label>New meeting</xforms:label>
>     <xforms:insert at="index('meetings_index')"
>                     nodeset="meeting" position="after"/>
>     <xforms:setvalue ref="meeting[index('meetings_index')]/title">New 
> Meeting</xforms:setvalue>
>             </xforms:trigger>
>  
> But it does not work : neither the delete, neither the new !!!
> Could you please help me ?
> Thanks in advance...

-- 
Alexander Anokhin
AVTOVAZ JSC
email:ava@vaz.ru
icq:123275798

Received on Tuesday, 8 February 2005 11:53:44 UTC