Re: Multivalue or single?

2006-06-20 Thread Marcel Reutegger
On 6/19/06, David Kennedy [EMAIL PROTECTED] wrote: If I have a node, the name of a property and a single value, how can I determine if I need to add the value to an array and use the multivalue setter or not? You'll have to ask the NodeType of the node: NodeType nt =

Patrik Hitzelberger/CRP-GL/LU is out of the office.

2006-06-20 Thread Patrik Hitzelberger
I will be out of the office starting 20.06.2006 and will not return until 26.06.2006. Best regards, Patrik Hitzelberger

Re: Multivalue or single?

2006-06-20 Thread Jukka Zitting
Hi, On 6/20/06, Marcel Reutegger [EMAIL PROTECTED] wrote: On 6/19/06, David Kennedy [EMAIL PROTECTED] wrote: If I have a node, the name of a property and a single value, how can I determine if I need to add the value to an array and use the multivalue setter or not? You'll have to ask the

Re: Unable to lock node. Node has pending changes: /counter

2006-06-20 Thread Torgeir Veimo
On Mon, 2006-06-19 at 16:56 +0200, Marcel Reutegger wrote: On 6/19/06, Torgeir Veimo [EMAIL PROTECTED] wrote: Would it be correct to call refresh(false) on the counter node in case of an exception? I only ever modify the value property when the node is created and in the

Re: Unable to lock node. Node has pending changes: /counter

2006-06-20 Thread Torgeir Veimo
On Tue, 2006-06-20 at 09:21 +0100, Torgeir Veimo wrote: On Mon, 2006-06-19 at 16:56 +0200, Marcel Reutegger wrote: On 6/19/06, Torgeir Veimo [EMAIL PROTECTED] wrote: Would it be correct to call refresh(false) on the counter node in case of an exception? I only ever modify the value