You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by JOSE FELIX HERNANDEZ BARRIO <jo...@isthari.com> on 2010/07/16 11:26:49 UTC

what is the meaning of default values ?

hi,

what is the meaning of default values ?
i have the following definition in a cnd file

- kpn:adjuntoContrato (boolean) = 'false'

but if i don't create the property it doesn't exist in the node



thx

-- 
Jose Hernandez
675599600
Isthari
http://www.isthari.com

Re: what is the meaning of default values ?

Posted by Stefan Guggisberg <st...@day.com>.
On Fri, Jul 16, 2010 at 11:26 AM, JOSE FELIX HERNANDEZ BARRIO
<jo...@isthari.com> wrote:
> hi,
>
> what is the meaning of default values ?
> i have the following definition in a cnd file
>
> - kpn:adjuntoContrato (boolean) = 'false'

the default value is applicable for 'autocreated' properties,
i.e.

   - kpn:adjuntoContrato (boolean) = 'false' autocreated

the property will be automatically created with the parent node
and the value will be set to 'false'.

cheers
stefan


>
> but if i don't create the property it doesn't exist in the node
>
>
>
> thx
>
> --
> Jose Hernandez
> 675599600
> Isthari
> http://www.isthari.com
>