This content has been marked as final.
Show 2 replies
-
1. Re: Dynamic Splitter component
ahoehma Aug 19, 2008 8:11 AM (in response to vlad.kamensky)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 Aug 21, 2008 8:46 PM (in response to vlad.kamensky)"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