[opencms-dev] Probleme when editing an OpenCmsString with HtmlWidget defined

Achim Westermann Achim.Westermann at gmx.de
Tue Jun 23 17:38:31 CEST 2009


Hi Sven, 

yes, indeed at least the outer complex type has to be unique. Most often my recommendation is to copy the xsd to a text editor and then copy the first outer type without leading "OpenCms" and tailing pluras "s" and replace it with the new name: 

<xsd:element name="OnlineForms" type="OpenCmsOnlineForms"/>
...

-->

<xsd:element name="GreenLeaves" type="OpenCmsGreenLeaves"/>
...

Kind Regards,
Achim.
-------------------
Achim Westermann

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org

-------- Original-Nachricht --------
> Datum: Tue, 23 Jun 2009 16:57:39 +0200
> Von: Sven Kiesow <Sven.Kiesow at interone.de>
> An: The OpenCms mailing list <opencms-dev at opencms.org>
> Betreff: Re: [opencms-dev] Probleme when editing an OpenCmsString with HtmlWidget defined

> Hi Achim,
> 
> what exactly do you mean by "the outer XML structure naming"? The naming 
> of the xsd:complexType?
> 
> Just to clarify. The xsd:complexType for all schema-files have to be 
> unique?
> 
> Thanks Eska
> 
> 
> 
> 
> "Achim Westermann" <Achim.Westermann at gmx.de> 
> Sent by: opencms-dev-bounces at opencms.org
> 23.06.2009 16:45
> Please respond to
> The OpenCms mailing list <opencms-dev at opencms.org>
> 
> 
> To
> The OpenCms mailing list <opencms-dev at opencms.org>
> cc
> 
> Subject
> Re: [opencms-dev] Probleme when editing an OpenCmsString with HtmlWidget 
> defined
> 
> 
> 
> 
> 
> 
> Hi Eska, 
> 
> don't dive too deep, this works for many customers on many installations. 
> Just as I said: If you copy an xsd and use it for a different resource 
> type... change the layouts - section in that file.... but forget to change
> the outer XML structure naming... those widgets configured in the layouts 
> - section for the same - named nodes are arbitrary.
> Tweaking the caching is not an option (think of concurrent editors working
> in OpenCms). 
> 
> Kind Regards,
> Achim.
> -------------------
> Achim Westermann
> 
> Alkacon Software GmbH  - The OpenCms Experts
> http://www.alkacon.com - http://www.opencms.org
> 
> -------- Original-Nachricht --------
> > Datum: Tue, 23 Jun 2009 07:15:26 -0700 (PDT)
> > Von: Eska <sven.kiesow at interone.de>
> > An: opencms-dev at opencms.org
> > Betreff: Re: [opencms-dev] Probleme when editing an OpenCmsString with 
> HtmlWidget defined
> 
> > 
> > Hi Achim,
> > 
> > I just had a little time to think, is there a way to force clearing that
> > widget-cache
> > from within the /system/workplace/editors/xmlcontent/editor_form.jsp?
> > 
> > Thanks
> > 
> > Eska
> > 
> > 
> > Achim Westermann wrote:
> > > 
> > > Hi Eska,
> > > 
> > > that method returns a different widget for a different value ;-).
> > > 
> > > But if you are talking about different widgets returned for the same 
> > > value...
> > > 
> > > It could be that you have copied an XSD from one resource type to 
> create
> > > another one and forgot to rename all the outer names ending up with 
> same
> > > - looking XML. There is some caching (for layouts, mappings,...) 
> > > depending on the XML names.
> > > 
> > > Kind Regards,
> > > Achim.
> > > 
> > > -------------------
> > > Achim Westermann
> > > 
> > > Alkacon Software GmbH  - The OpenCms Experts
> > > http://www.alkacon.com - http://www.opencms.org
> > > 
> > > 
> > 
> > -- 
> > View this message in context:
> > 
> http://www.nabble.com/Probleme-when-editing-an-OpenCmsString-with-HtmlWidget-defined-tp23960923p24166859.html
> 
> > 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
> 
> _______________________________________________
> 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