2 Replies Latest reply on Apr 26, 2011 7:07 AM by dhanaraja rajendiran

    Inside rich:modalPanel facet name="header" not wrkng properly

    dhanaraja rajendiran Newbie

      This Inside my modalPanel i am given facet like this-->>

       

          <f:facet name="header">

               <h:outputText value="Filter-Room/Bed #{allocateBookables.getDlgTitle()} " />

              </f:facet>

       

      here Inside output Text upto Filter-Room/Bed it is printing,And   -->>>#{allocateBookables.getDlgTitle()} not printing anything....t is correctly printing in console(action level)

       

      This is my complete modalPanel --------->>>>>>>>

      <rich:modalPanel id="attrDlg"  minHeight="80" minWidth="580" height="80" width="580" zIndex="2000" moveable="true" resizeable="false" autosized="true">

              <f:facet name="header">

               <h:outputText value="Filter-Room/Bed #{allocateBookables.getDlgTitle()} " />

              </f:facet>

       

              <f:facet name="controls">

                  <h:panelGroup>

                      <h:form>

                          <a:commandLink onclick="closeAttrDlg();" immediate="true">

                              <h:graphicImage value="/images/button_cancel.png" style="cursor:pointer" id="taskDlgHidelink" title="#{messages['button.close']}"/>

                          </a:commandLink>

                      </h:form>

                  </h:panelGroup>

              </f:facet>

              <h:form id="attrForm">

                  <a:outputPanel ajaxRendered="true">

                      <div style="display: none;">

                           <h:messages id="error"></h:messages>

                      </div>

                  </a:outputPanel>

       

       

                  <table>

                      <tr><td style="width:131" > </td>

                          <td><h:selectBooleanCheckbox

                                          value="#{allocateBookables.noFilter}"

                                          label="" style="width: 10px;" required="true"

                                          maxlength="30">

                              </h:selectBooleanCheckbox></td>

                              <td style="font-size: 14px;color:white" width="129"><h:outputText value="No Filter" /></td>

                          </tr>   

       

                  </table>

                  <br />

                  <table>

                      <tr>

                          <td style="font-size: 14px;color:white" width="129"><h:outputText value="Floors" /></td>

                         <td>

                         <div style="height:100px;width:175px;overflow:auto;">

                              <h:selectManyCheckbox styleClass="radioStandardwht" value="#{allocateBookables.listFloors}" style="font-size: 10px; color: white; width: 150px;float:left; height: 45px; white-space: nowrap;"  layout="pageDirection">

                                  <s:selectItems value="#{allocateBookables.retrieveFloors(selectedInstance)}" var="bookableFloor" label="#{bookableFloor.name}"/>

                              <s:convertEntity/>    

                              </h:selectManyCheckbox>

                         </div>

                         </td>

                     </tr>   

       

          </table>

          <table>

       

                      <tr>

                      <td style="font-size: 14px;color:white" width="129"><h:outputText value="Views" /></td>

                         <td >

                         <div style="height:100px;width:175px;overflow:auto;">

                              <h:selectManyCheckbox styleClass="radioStandardwht" value="#{allocateBookables.listViews}" style="font-size: 10px; color: white; width: 150px;float:left; height: 45px; white-space: nowrap;"  layout="pageDirection">

                                  <s:selectItems value="#{allocateBookables.retrieveViews(selectedInstance)}" var="bookableView" label="#{bookableView.name}"/>

                              <s:convertEntity/>    

                              </h:selectManyCheckbox>

                        </div>

                        </td>

                      </tr>

              </table>

                  <table>

       

                      <tr><td style="width:131" > </td>

                          <td><h:selectBooleanCheckbox

                                          value="#{allocateBookables.nonSmoking}"

                                          label="" style="width: 10px;" required="true"

                                          maxlength="30">

                              </h:selectBooleanCheckbox></td>

                              <td style="font-size: 14px;color:white" width="129"><h:outputText value="Non Smoking" /></td>

                          </tr>   

       

                      <tr><td style="width:131" > </td>

                          <td><h:selectBooleanCheckbox

                                          value="#{allocateBookables.handiCapped}"

                                          label="" style="width: 10px;" required="true"

                                          maxlength="30">

                              </h:selectBooleanCheckbox></td>

                              <td style="font-size: 14px;color:white" width="129" ><h:outputText value="Handicapped" /></td>

                          </tr>   

       

                  </table>

                  <br />

                  <table>

       

                  <tr>

                      <td style="font-size: 14px;color:white" width="129"><h:outputText value="Attributes" /></td>

                      <td >

                                 <div style="height:100px;width:175px;overflow:auto;">

                                      <h:selectManyCheckbox styleClass="radioStandardwht" value="#{allocateBookables.listAttributes}" style="font-size: 10px; color: white; width: 150px;float:left; height: 45px; white-space: nowrap;"  layout="pageDirection">

                                          <s:selectItems value="#{allocateBookables.retrieveAttributes(selectedInstance)}" var="bookableAttribute" label="#{bookableAttribute.name}"/>

                                      <s:convertEntity/>    

                                      </h:selectManyCheckbox>

                               </div>

                               </td>

                  </tr>

       

          </table>

       

       

              <br />   

       

       

       

                  <h:panelGroup>

                      <a:commandButton value="Confirm" title="Confirm" action="#{allocateBookables.updateAttributes()}" oncomplete="closeAttrDlg();" reRender="bookableAllocationPanel"/>

                      <a:commandButton value="Cancel" title="Cancel"  onclick="closeAttrDlg();" />

                  </h:panelGroup>

              </h:form>

          </rich:modalPanel>