[SPAM] - RE: [opencms-dev] OpenCMS Schema question. - Email found in subject
Anthony Roy
aroy at hpi.co.uk
Thu Aug 17 15:10:07 CEST 2006
Thanks for the quick reply.
>
> No, it's a limitation.
>
Are there any workarounds? I tried adding a default like so:
<defaults>
<default element="Title" value="${property.Title}"/>
</defaults>
But the Title that was inserted wasn't the one of the XML document as I
had expected, but "Dialog - New resource xmlcontent" which I guess is
the Title of the resource dialog file.
Cheers,
Anthony.
> <xsd:annotation>
> <xsd:appinfo>
> ...
> <mappings>
> <mapping element="Title" mapto="property:Title" />
> </mappings>
> ...
> </xsd:appinfo>
> </xsd:annotation>
>
> Now, this has half of the effect that I want: if I set the
> Title field of the XML document, it automatically updates the
> Title property of the file. However, if I change the Title
> property, it does not update the Title element - it behaves
> like a one-way mapping.
>
> Is this a limitation of OpenCMS, or am I missing something?
>
> Thanks,
>
>
> Anthony Roy.
>
>
> This email and any files transmitted with it are confidential
> and are intended solely for the use of the individual or
> entity to whom they are addressed. This communication
> represents the originator's personal views and opinions,
> which do not necessarily reflect those of HPI Limited. If you
> are not the original recipient or the person responsible for
> delivering the email to the intended recipient, be advised
> that you have received this email in error, and that any use,
> dissemination, forwarding, printing, or copying of this email
> is strictly prohibited. If you received this email in error,
> please immediately notify postmaster at hpi.co.uk.This message
> has been scanned by Anti-Virus. Recipients are advised to
> apply their own virus checks to this message on delivery.
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list To
> change your list options, or to unsubscribe from the list,
> please visit http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit http://lists.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list