Using Popup Component

From the examples/popup.jsp file in the MyFaces package, you'll find the following code snippet:

examples/popup.jsp

   <t:popup
      styleClass="popup"
      closePopupOnExitingElement="true"
      closePopupOnExitingPopup="true"
      displayAtDistanceX="10"
      displayAtDistanceY="10" >
      <h:outputText value="This is the second textual text situation."/>
      <f:facet name="popup">
         <h:panelGroup>
            <h:panelGrid columns="1" >
               <h:outputText value="Popup Text 2"/>
            </h:panelGrid>
         </h:panelGroup>
      </f:facet>
   </t:popup>

In a ShaleClay configuration file, it would look like the following:

UsingPopupComponent (last edited 2009-09-20 23:12:40 by localhost)