This commit breaks the content -> content -> navigate showing a (partly) blue screen
if one clicks on 'documents' the error: An error occured loading content! : [object Object] is shown. Regards, Hans On Fri, 2009-10-02 at 05:20 +0000, bus...@apache.org wrote: > Author: buscob > Date: Fri Oct 2 05:20:03 2009 > New Revision: 820887 > > URL: http://svn.apache.org/viewvc?rev=820887&view=rev > Log: > Changed <container style="screenlet"> pattern to <screenlet...>. > > Modified: > ofbiz/trunk/applications/accounting/widget/CommonScreens.xml > ofbiz/trunk/applications/content/widget/WebSiteScreens.xml > ofbiz/trunk/applications/content/widget/content/ContentScreens.xml > > Modified: ofbiz/trunk/applications/accounting/widget/CommonScreens.xml > URL: > http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/CommonScreens.xml?rev=820887&r1=820886&r2=820887&view=diff > ============================================================================== > --- ofbiz/trunk/applications/accounting/widget/CommonScreens.xml (original) > +++ ofbiz/trunk/applications/accounting/widget/CommonScreens.xml Fri Oct 2 > 05:20:03 2009 > @@ -300,12 +300,9 @@ > <widgets> > <decorator-screen name="main-decorator" > location="${parameters.mainDecoratorLocation}"> > <decorator-section name="body"> > - <container style="screenlet"> > - <container style="screenlet-title-bar"> > - <label style="h3" > text="${uiLabelMap.AccountingMainPage}"/> > - </container> > + <screenlet title="${uiLabelMap.AccountingMainPage}"> > <platform-specific><html><html-template > location="component://accounting/webapp/accounting/main.ftl"/></html></platform-specific> > - </container> > + </screenlet> > </decorator-section> > </decorator-screen> > </widgets> > > Modified: ofbiz/trunk/applications/content/widget/WebSiteScreens.xml > URL: > http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/WebSiteScreens.xml?rev=820887&r1=820886&r2=820887&view=diff > ============================================================================== > --- ofbiz/trunk/applications/content/widget/WebSiteScreens.xml (original) > +++ ofbiz/trunk/applications/content/widget/WebSiteScreens.xml Fri Oct 2 > 05:20:03 2009 > @@ -118,48 +118,15 @@ > <decorator-section name="body"> > <section> > <widgets> > - <container style="screenlet"> > - <container style="screenlet-title-bar"> > - <container style="h3"> > - <label > text="${uiLabelMap.PageTitleWebSiteContent}"/> > - </container> > - </container> > - <container style="screenlet-body"> > - <section> > - <widgets> > - <include-form > name="ListWebSiteContent" > location="component://content/webapp/content/website/WebSiteForms.xml"/> > - </widgets> > - </section> > - </container> > - </container> > - <container style="screenlet"> > - <container style="screenlet-title-bar"> > - <container style="h3"> > - <label > text="${uiLabelMap.PageTitleCreateWebSiteContent}"/> > - </container> > - </container> > - <container style="screenlet-body"> > - <section> > - <widgets> > - <include-form > name="CreateWebSiteContent" > location="component://content/webapp/content/website/WebSiteForms.xml"/> > - </widgets> > - </section> > - </container> > - </container> > - <container style="screenlet"> > - <container style="screenlet-title-bar"> > - <container style="h3"> > - <label > text="${uiLabelMap.PageTitleAutoCreateContentPublishPoints}"/> > - </container> > - </container> > - <container style="screenlet-body"> > - <section> > - <widgets> > - <include-form > name="AutoCreateWebsiteContent" > location="component://content/webapp/content/website/WebSiteForms.xml"/> > - </widgets> > - </section> > - </container> > - </container> > + <screenlet > title="${uiLabelMap.PageTitleWebSiteContent}"> > + <include-form name="ListWebSiteContent" > location="component://content/webapp/content/website/WebSiteForms.xml"/> > + </screenlet> > + <screenlet > title="${uiLabelMap.PageTitleCreateWebSiteContent}"> > + <include-form > name="CreateWebSiteContent" > location="component://content/webapp/content/website/WebSiteForms.xml"/> > + </screenlet> > + <screenlet > title="${uiLabelMap.PageTitleAutoCreateContentPublishPoints}"> > + <include-form > name="AutoCreateWebsiteContent" > location="component://content/webapp/content/website/WebSiteForms.xml"/> > + </screenlet> > </widgets> > </section> > </decorator-section> > @@ -246,7 +213,12 @@ > <script > location="component://content/webapp/content/WEB-INF/actions/website/WebSitePublishPoint.groovy"/> > </actions> > <widgets> > - <container style="screenlet"> > + <screenlet title="${uiLabelMap.PageTitleWebSiteCMSNav}"> > + <platform-specific><html><html-template > location="component://content/webapp/content/website/WebSiteCMSNav.ftl"/></html></platform-specific> > + </screenlet> > + > + > + <container style="screenlet"> > <container style="screenlet-title-bar"> > <container style="h3"> > <label > text="${uiLabelMap.PageTitleWebSiteCMSNav}"/> > > Modified: ofbiz/trunk/applications/content/widget/content/ContentScreens.xml > URL: > http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentScreens.xml?rev=820887&r1=820886&r2=820887&view=diff > ============================================================================== > --- ofbiz/trunk/applications/content/widget/content/ContentScreens.xml > (original) > +++ ofbiz/trunk/applications/content/widget/content/ContentScreens.xml Fri > Oct 2 05:20:03 2009 > @@ -96,12 +96,9 @@ > </screenlet> > </container> > <container style="leftonly"> > - <container style="screenlet-title-bar > h3"> > - <label > text="${uiLabelMap.ContentContent}"/> > - </container> > - <container id="Document" > style="screenlet"> > + <screenlet > title="${uiLabelMap.ContentContent}"> > <include-screen name="ListDocument"/> > - </container> > + </screenlet> > </container> > </widgets> > </section> > > -- Antwebsystems.com: Quality OFBiz services for competitive rates