You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Mathius Allo <mg...@yahoo.com> on 2007/08/19 21:17:20 UTC

Need help with the presentation tier (screenlet)

Hi,

I would like to achieve the below screen (left-right panel) with left panel. 
###############################################
  #                       #                                                      #
 #  Screenlet       #                                                      #
 #      1                #                                                      #
 #                       #       Screenlet 3                               #
 ###############                                                      #
 #   Screenlet      #                                                      #
 #     2                 #                                                      #
 #                       #                                                      #
 ###############################################

Problem encountered: The content to be displayed for the right panel is dynamic (sometimes very little info but it can be a large screen as well). When the screen is large some information displayed outside Screenlet 3. 

Question: 
1. What is the best way achieve the above layout?
 2. Is there an alternative to using container?

Currently my screen definition is as followed:
<!--  Left panel will contains shortcuts & searchbox screens -->
    <screen name="leftpanel">
        <section>
            <widgets>
                <container style="left">
                    <include-screen name="shortcuts"/>
                    <include-screen name="searchbox"/>                                        
                </container>
            </widgets>
        </section>
    </screen>

<!-- Center panel will contain a dynamic screen -->
    <screen name="centerpanel">
        <section>
            <widgets>
                <container style="center">
                    <include-screen name="${screenname}"/>                    
                </container>
            </widgets>
        </section>
    </screen>

Thanks in advanced.

Regards,
Mathius Allo
        

---------------------------------

       
---------------------------------
Shape Yahoo! in your own image.  Join our Network Research Panel today!