4 Replies Latest reply on Feb 5, 2009 3:02 AM by bronk horst

    How to include modalPanel in suggestionbox

    bronk horst Newbie

      Hello everyone,

      i`d like 2 include a modalPanel into my suggestionBox. When I run the following code the box shows an empty field without any suggestions. The modalPanel is not shown. Can someone tell me how to solve the Problem? The suggestionvalues shoult be displayed within the modalPanel, a selection of one alternative should be possible and returned 2 my bean.

      Thx & lg

      <rich:suggestionbox id="startSuggestionBox" for="startAddress" tokens=",[]"
       suggestionAction="#{tour2plan.getStartAddressAlternatives}" var="result"
       nothingLabel="#{res.CAPTURE_SUGGESTIONBOXNOTHING}" columnClasses="center"
       usingSuggestObjects="false"
       minChars="1"
       frequency="1"
       fetchValue="#{result.content}">
       <h:column>
       <rich:modalPanel id="panel" width="350" height="100">
       <f:facet name="controls">
       <h:panelGroup>
       <h:outputText value="okok"></h:outputText>
       <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
       </h:panelGroup>
       </f:facet>
       <h:column>
       <h:outputText value="#{result.content}" />
       </h:column>
      
       </rich:modalPanel>
       </h:column>
       </rich:suggestionbox>