2 Replies Latest reply on Aug 21, 2008 8:46 PM by nbelaevski

    Dynamic Splitter component

      I see that neither horizontal nor vertical dynamic splitter are presented in RichFaces library and I also saw on Wiki page http://wiki.jboss.org/auth/wiki/RichFacesFuture?action=e&windowstate=normal&mode=view that it is not planned.

      Did anybody try to integrated 3rdpart splitter components into RichFaces libs? Have anybody solved this problem somehow ?

      Thanks,
      Vlad.

        • 1. Re: Dynamic Splitter component
          ahoehma

          Yes ... i try to use the Dojo

          <head>
          <html>
           <meta http-equiv="content-type" content="text/html; charset=utf-8" />
           <a4j:loadStyle src="resource:///dtk/dojo/resources/dojo.css" />
           <a4j:loadStyle src="resource:///dtk/dijit/themes/tundra/tundra.css" />
           <script type="text/javascript">
           var djConfig = {
           isDebug:false, parseOnLoad:true, baseUrl:"../dtk/dojo/"
           };
           </script>
           <script type="text/javascript" src='../dtk/dojo/dojo.js'/>
           <script type="text/javascript">
           dojo.require("dojo.parser");
           dojo.require("dijit.layout.SplitContainer");
           dojo.require("dijit.layout.ContentPane");
           </script>
          </head>
          
          <body>
           <div>
           <div dojoType="dijit.layout.SplitContainer" orientation="horizontal" sizerWidth="4" activeSizing="true" style="width: 100%; height: 100%;">
           <div dojoType="dijit.layout.ContentPane" sizeMin="150" sizeShare="30" style="overflow: hidden; overflow-y: auto;">
           <ui:insert name="left"/>
           </div>
           <div dojoType="dijit.layout.ContentPane" sizeMin="400" sizeShare="70" style="overflow: hidden; overflow-y: auto;">
           <ui:insert name="right"/>
           </div>
           </div>
           </div>
          </body>
          </html>
          

          But this solution is not perfect ... sometimes my content descroyes the splitcontainer :-(

          Try it!

          Regards
          Andreas


          • 2. Re: Dynamic Splitter component
            nbelaevski

             

            "vlad.kamensky" wrote:
            I see that neither horizontal nor vertical dynamic splitter are presented in RichFaces library and I also saw on Wiki page http://wiki.jboss.org/auth/wiki/RichFacesFuture?action=e&windowstate=normal&mode=view that it is not planned.

            Did anybody try to integrated 3rdpart splitter components into RichFaces libs? Have anybody solved this problem somehow ?

            Thanks,
            Vlad.


            Vlad,

            It is present here: http://wiki.jboss.org/auth/wiki/RichFacesFuture?action=e&windowstate=normal&mode=view as "Layout components"

            Please see drafts of specification documents for splits here: http://anonsvn.jboss.org/repos/richfaces/management/design/Split Panel component