Apparently rf 3.1.3 moved from tables to css for the simpleTogglePanel layout and now the
seam-gen generated display forms have some float clearing issue.
To reproduce in a seam-gen generated project:
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| <ui:composition
xmlns="http://www.w3.org/1999/xhtml"
|
xmlns:s="http://jboss.com/products/seam/taglib"
|
xmlns:ui="http://java.sun.com/jsf/facelets"
|
xmlns:f="http://java.sun.com/jsf/core"
|
xmlns:h="http://java.sun.com/jsf/html"
|
xmlns:rich="http://richfaces.org/rich"
| template="layout/template.xhtml">
|
| <ui:define name="body">
|
| <rich:simpleTogglePanel label="Lorem ipsum" switchType="client"
width="30%" >
|
| <s:decorate template="layout/display.xhtml">
| <ui:define name="label">Lorem ipsum</ui:define>
| <h:inputText id="lorem1" value=""/>
| </s:decorate>
|
| <s:decorate template="layout/display.xhtml">
| <ui:define name="label">Lorem ipsum</ui:define>
| <h:inputText id="lorem2" value=""/>
| </s:decorate>
|
| </rich:simpleTogglePanel>
|
| </ui:define>
|
| </ui:composition>
As a workaround I added to theme.css:
.rich-stglpanel-body {
| overflow: auto;
| }
Not sure if this also applies to other rf components like panel.
A more subtle seam-gen issue that I came across is that the components*.xml templates have
an incorrect or outdated event id:
<event type="org.jboss.seam.security.notLoggedIn">
| <action execute="#{redirect.captureCurrentView}"/>
| </event>should be<event type="org.jboss.seam.notLoggedIn">
| <action execute="#{redirect.captureCurrentView}"/>
| </event>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115255#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...