[opencms-dev] Mappings (sometimes) not working.
Carl Alex Friis Nielsen
cfn at kb.dk
Mon Apr 16 10:41:43 CEST 2007
It might be a locale related issue.
If you have multiple locales in your resource and change a mapped
element in one of the locales, only siblings in that specific locales
(locale property of the resource or inherited from a folder in its
path) will be affected.
If you change the value of a mapped element in a locale which differs
from the locale of the resource nothing will happen.
Cheers,
Carl
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org@KB On Behalf Of EdCincy
> <edcincy at yahoo.com>
> Sent: Thursday, April 12, 2007 6:23 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Mappings (sometimes) not working.
>
>
>
> I am having a mapping problem that is driving me insane. The
> mappings I make
> don't seem to "stick" on some files.
>
> Here is a XSD snippet...
>
> <xsd:sequence>
> <xsd:element name="Name" type="OpenCmsString" />
> </xsd:sequence>
>
>
> Then the mapping...
>
> <mappings>
> <mapping element="Name"
> mapto="property:NavText" />
> </mappings>
>
>
> When a new XML content document is created, sometimes this
> works (i.e. maps
> the name to the NavText) and sometimes not. I can even go
> into previously
> created files, make changes, and save the changes and the
> mapping may or may
> not take effect.
>
> When you make changes to a schema, will those new changes
> take effect when
> you open, edit and then save a previoulsy created document?
> Or do you have
> to recreate the document all over again?
>
> Why does this work on some docs but not on others when they
> all use the same
> schema? I'm viewing the site in "offline" mode so caching
> should not be an
> issue.
>
> Had ANYONE had this same experience?
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Mappings-%28sometimes%29-not-working.-tf
3566509.html#a9962832
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
_______________________________________________
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