-
1. Re: ModalPanel displaying empty white column on right side
sergeysmirnov Mar 14, 2007 12:37 PM (in response to bjoernw)Show your page code please
-
2. Re: ModalPanel displaying empty white column on right side
bjoernw Mar 14, 2007 2:01 PM (in response to bjoernw)The code looks like this:
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich" %> <%@ taglib tagdir="/WEB-INF/tags" prefix="t" %> <t:pageApp> <jsp:body> <h3><h:outputText value="#{bundle.label_register}"/></h3> <div class="register"> ... </div> <div class="termsModal"> <rich:modalPanel id="termsPanel" width="530" height="640" minWidth="530" minHeight="640" top="200" zindex="2000"> <f:facet name="header"><h:outputText value="#{bundle.label_terms}"/></f:facet> <f:facet name="controls"> <h:outputLink value="javascript:Richfaces.hideModalPanel('termsPanel')"> <h:outputText value="#{bundle.label_close}"/> </h:outputLink> </f:facet> Some text </rich:modalPanel> </div> </jsp:body> </t:pageApp>
-
3. Re: ModalPanel displaying empty white column on right side
sergeysmirnov Mar 14, 2007 2:11 PM (in response to bjoernw)What does "Some text" mean?
Do you use facelets or JSF 1.2 ? -
4. Re: ModalPanel displaying empty white column on right side
bjoernw Mar 14, 2007 2:25 PM (in response to bjoernw)'Some text' means a rather long plain text interrupted by line breaks (). I have already tried out removing the text, but to no avail. I use the MyFaces implementation of JSF 1.2
-
5. Re: ModalPanel displaying empty white column on right side
sergeysmirnov Mar 14, 2007 2:46 PM (in response to bjoernw)Nice to hear that MyFaces has an implementation of JSF 1.2. Is it certified already?
What if you put something more JSFish there instead of plain html text. For example, <h:outputText value="Just a text" /> -
6. Re: ModalPanel displaying empty white column on right side
bjoernw Mar 14, 2007 2:51 PM (in response to bjoernw)Using JSF tags at this position does not change anything about the behaviour described above. I have already tried out several variants: Plain text, JSF tags, no text at all.
-
7. Re: ModalPanel displaying empty white column on right side
bjoernw Mar 15, 2007 6:45 AM (in response to bjoernw)FYI: The error was caused by a text-align: center directive for the body element.
I am pretty sure this is not a desired effect, so you might consider submitting it to your JIRA repository. -
8. Re: ModalPanel displaying empty white column on right side
sergeysmirnov Mar 15, 2007 3:23 PM (in response to bjoernw)Frankly speaking, I do not image what do you have on your side as soon I have nothing even close to what you describe
So, it would be great if you post a bug to jira and attach a screenshot -
9. Re: ModalPanel displaying empty white column on right side
bjoernw Mar 15, 2007 3:35 PM (in response to bjoernw)I have posted the bug to JIRA under http://jira.jboss.com/jira/browse/RF-18
-
10. Re: ModalPanel displaying empty white column on right side
sergeysmirnov Mar 15, 2007 4:09 PM (in response to bjoernw)Ok. We will check it right away