4 Replies Latest reply on Mar 29, 2010 7:08 AM by Manu Osten

    Problem with modalpanel on safari

    Manu Osten Apprentice

      Hello,

       

      First is the component modalpanel in the normal jsf-page working on safari. After Changing all pages on facelets is the component modalpanel not working on safari. On IE6,IE7,IE8 and Firefox are it working. I dont know, what is the problem. Maybe is it a bug?

       

      Richfaces: 3.2.1

       

      code:

           <rich:panel rendered="#{selectedRequest.staffing == 2}">
                  <f:facet name="header">
                      <h:outputText value="bevorzugte Teammöglichkeiten"
                          style="height: 20px;" />
                  </f:facet>
                  <rich:dataTable var="team"
                      value="#{requestHandler.normalisedPreferTeamList}"
                      styleClass="tableApplicants teamApplicants"
                      rowClasses="oddRow, evenRow">
                      <rich:column style="text-align:left;">
                          <h:outputText value="#{team.toString}" escape="false" />
                      </rich:column>
                      <rich:column styleClass="applicantsColumn">
                          <rich:modalPanel id="applicantsPanel" width="300" height="150">
                              <f:facet name="header">
                                  <h:panelGroup>
                                      <h:outputText value="Bestätigung"></h:outputText>
                                  </h:panelGroup>
                              </f:facet>
                              <h:outputText value="Ihr ausgewähltes Team ist: " />
                              <br />
                              <br />
                              <h:outputText value="#{team.toString}." escape="false" />
                              <br />
                              <br />
                              <h:outputText value="Sind Sie sicher?"></h:outputText>
                              <br />
                              <a4j:commandButton
                                  action="#{requestHandler.orderInterpretersAtPreferUserGroup}"
                                  reRender="offers,interpreters" value="Ja" styleClass="yesButton">
                                  <rich:componentControl for="applicantsPanel" attachTo="hidelink"
                                      operation="hide" event="onclick" />
                              </a4j:commandButton>
                              <h:outputLink id="hidelink" value="#" styleClass="noButton">
                                                              Nein
                                                              <rich:componentControl for="applicantsPanel"
                                      attachTo="hidelink" operation="hide" event="onclick" />
                              </h:outputLink>
                          </rich:modalPanel>
                          <a4j:commandButton action=" " id="link" styleClass="acceptButton">
                              <rich:componentControl for="applicantsPanel" attachTo="link"
                                  operation="show" event="onclick" />
                          </a4j:commandButton>
                      </rich:column>
                  </rich:dataTable>
              </rich:panel>

       

      Manu