Problem with update of dialog

UI Components for JSF
Post Reply
Teflexo
Posts: 9
Joined: 25 Sep 2011, 17:45

11 Apr 2012, 11:04

Hi, I have a problem with my dialog. It is implemented as a Composite Component and it appears as expected, but without any text. If I delete the reference of this Composite Component <ccElem: dialogSuper /> and write the dialog implementation directly, it works. It is also working if I use the Facelet Concept. Can anyone help me to solve this?
This is a simple code for that problem:

Code: Select all

<h:head>
<title>title</title>
</h:head>
    <body>
         <h:form> 
              <p:inputText value="#{dialogSupport.output}" ></p:inputText>
             <p:commandButton value="click" onclick="myDialog.show();" update="dialogForm"/>
          </h:form>
  	
         <ccElem:dialogSuper ></ccElem:dialogSuper>

Code: Select all

 <composite:interface>
 </composite:interface>
 <composite:implementation>
          <p:dialog widgetVar="myDialog">
                  <h:form prependId="false" id="dialogForm">
                         <h:outputText value="#{dialogSupport.output}"></h:outputText>
                  </h:form>
          </p:dialog>


Thanks for your help!!!!!

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 38 guests