0 Replies Latest reply on Jun 24, 2009 10:25 AM by Sascha Janz

    calendar not correct rendering

    Sascha Janz Master

      i got a modal panel with an rich:calendar and an iframe on my page which renders a pdf.

      if i click on the calendar, the calendar is only visible until the border of the modal panel. so it's not completely visible.

      my modal panel

      <?xml version="1.0" encoding="ISO-8859-1"?>
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:rich="http://richfaces.org/rich"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:s="http://jboss.com/products/seam/taglib">
       <rich:modalPanel id="upload" autosized="true" height="150" overlapEmbedObjects="true" zindex="333" rendered="true" >
       <f:facet name="header">
       <h:panelGroup>
       <h:outputText value="Datei hinzufügen"></h:outputText>
       </h:panelGroup>
      
       </f:facet>
       <a4j:form style="z-index:433" >
       <rich:fileUpload immediateUpload="true" addControlLabel="Hinzufügen" maxFilesQuantity="1" progressLabel="Datei wird übertragen" doneLabel="Datei übertragen" clearAllControlLabel="Löschen" uploadControlLabel="Übertragen" fileUploadListener="#{WorkflowPage.listener}" style="z-index:433" cancelEntryControlLabel="Abbrechen" listWidth="600px" listHeight="100px" >
       <a4j:support event="onuploadcomplete" reRender="uploadform" ></a4j:support>
       </rich:fileUpload>
       </a4j:form>
      
      
      
       <h:form id="uploadform" style="z-index:433">
      
       <h:outputLabel value="Datum" for="" />
       <rich:calendar value="#{Page.datum}" datePattern="dd.MM.yyyy" style="z-index:433" />
      
       <a4j:commandButton id="btnokupload" value="Ok"
       oncomplete="if ( document.getElementById('uploadform:uploaderror') ==null ) Richfaces.hideModalPanel('upload');"
       styleClass="rich-button" action="#{Page.savedok}" reRender="tabcurrentworkflow"
       style="width:90px;float:left" >
       </a4j:commandButton>
       <a4j:commandButton id="btncancelupload" value="Abrechen" immediate="true"
       onclick="Richfaces.hideModalPanel('upload')" styleClass="rich-button" reRender="upload"
       style="width:90px;float:right;">
       </a4j:commandButton>
       </h:form>
      </rich:modalPanel>
      </ui:composition>
      


      any solutions for this?