Hans,

I put the screenlet back with a better fix in rev 736341.

-Adrian

[email protected] 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>



Reply via email to