Hi,
First of all thanks for the 0.6.0 update. The feature to set a id really helped me a lot however having to set everything in the LayoutOptions also causes some confusing on my end. I am missing some documentation on what options can be set with LayoutOptions.
For example, i would have thought that adding a option as style would be supported but adding this options doesn't seem to be included in the rendered output. Neither does styleClass.
A other thing that i have noticed is that if you set the margin for a layoutPane (css wise) that the Layout doesnt take the margin into account and results that panels are ovelapping eachother. Maybe there is a better way to set the margin for a specific layoutPane. In my instance i have a margin-left of 4% for the west panel and a margin-right of 4% for the center panel.
From my part 2 questions then: A) how can I (we) find out what options are supported and B) how can you set margins for layoutPane that are taken account by the rendered?
Thanks a lot for your answer on forehand.
LayoutOptions
Its better to read all the pages rather then to jump straight to the examples...... options can be found at:A) how can I (we) find out what options are supported
http://layout.jquery-dev.net/documentat ... of_Options
PrimeFaces 3.3.4, Primefaces-extensions 0.6.0, JBoss 7.1, Mojarra 2.1.10
A) I mentioned here exactly all links where you can find all available options http://fractalsoft.net/primeext-showcas ... layout.jsfFrom my part 2 questions then: A) how can I (we) find out what options are supported and B) how can you set margins for layoutPane that are taken account by the rendered?
B) Margin is one of the options too. It is called "spacing". I normally use in my code panes.addOption("spacing", 6). See e.g. here in "Managed Bean" tab http://fractalsoft.net/primeext-showcas ... Layout.jsf You can set another spacing too, but be aware that you should overwrite default CSS settings then! Resizer icons can be strange if the spacing is not 6px. In short words: Spacing 6 is recommended. Otherwise, think to explore CSS classes for resizer and adjust them if necessary.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
This forum topic and what's mentioned in this topic helped me as I migrated from p:layout to pe:layout. And wow (shaking my head), it was an interesting experience, spent the last 12 to 24 hours on it. Will have to share my lessons learned, ASAP.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Information
-
Who is online
Users browsing this forum: No registered users and 16 guests