You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Hans Bakker <ma...@antwebsystems.com> on 2009/01/22 01:25:35 UTC

Re: svn commit: r736285 - /ofbiz/trunk/applications/content/widget/WebSiteScreens.xml

Thank you Adrian,

As I expected, you did not let me down.

Thank you for your help.

Regards,
Hans


On Wed, 2009-01-21 at 09:01 -0800, Adrian Crum wrote:
> Hans,
> 
> I put the screenlet back with a better fix in rev 736341.
> 
> -Adrian
> 
> hansbak@apache.org wrote:
> > Author: hansbak
> > Date: Wed Jan 21 03:04:58 2009
> > New Revision: 736285
> > 
> > URL: http://svn.apache.org/viewvc?rev=736285&view=rev
> > Log:
> > reverted back from a screenlet to container pattern because it does not work in the cmssite navigation
> > 
> > Modified:
> >     ofbiz/trunk/applications/content/widget/WebSiteScreens.xml
> > 
> > Modified: ofbiz/trunk/applications/content/widget/WebSiteScreens.xml
> > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/WebSiteScreens.xml?rev=736285&r1=736284&r2=736285&view=diff
> > ==============================================================================
> > --- ofbiz/trunk/applications/content/widget/WebSiteScreens.xml (original)
> > +++ ofbiz/trunk/applications/content/widget/WebSiteScreens.xml Wed Jan 21 03:04:58 2009
> > @@ -218,10 +218,10 @@
> >                                  </not>                                
> >                              </condition>
> >                              <widgets>                                                                
> > -                                <container id="cmsnav" style="left-border">
> > +                                <container id="cmsnav" style="left">
> >                                      <include-screen name="WebSiteCMSNav"/>                    
> >                                  </container>
> > -                                <container id="cmsmain" style="nocolumns">
> > +                                <container id="cmsmain" style="leftonly">
> >                                      <include-screen name="WebSiteCMSContent"/>
> >                                  </container>                                                                
> >                              </widgets>
> > @@ -316,14 +316,24 @@
> >              </actions>
> >              <widgets>
> >                  <container id="cmscontent">
> > -                    <screenlet title="${uiLabelMap.PageTitleWebSiteCMSContent}">
> > -                        <platform-specific>
> > -                            <html>
> > -                                <html-template location="component://content/webapp/content/website/WebSiteCMSContent.ftl"/>
> > -                            </html>
> > -                        </platform-specific>
> > -                    </screenlet>
> > -               </container>
> > +                    <!-- DO NOT CONVERT TO SCREENLET OTHERWISE THE CMS RIGHTSCREEN DOES NOT WORK -->
> > +                    <container style="screenlet-title-bar">
> > +                        <container style="h3">
> > +                            <label text="${uiLabelMap.PageTitleWebSiteCMSContent}"/>
> > +                        </container>
> > +                    </container>
> > +                    <container style="screenlet-body">
> > +                        <section>
> > +                            <widgets>    
> > +                                <platform-specific>
> > +                                    <html>
> > +                                        <html-template location="component://content/webapp/content/website/WebSiteCMSContent.ftl"/>
> > +                                    </html>
> > +                                </platform-specific>
> > +                            </widgets>
> > +                        </section>
> > +                    </container>
> > +                </container>
> >              </widgets>
> >          </section>
> >      </screen>
> > 
> > 
> > 
-- 
Antwebsystems.com: Quality OFBiz services for competitive prices