2 Replies Latest reply on Aug 19, 2011 2:37 AM by Ralph Soika

    togglePanel switch from a suggestionbox

    Ralph Soika Apprentice


      I have question if it is possible to swich a togglePanel from a SuggestionBox element?

      I have a rich:suggestionbox inside a togglePanel facet. And I would like to swich into another mode when the user have selected an entry from the suggestionbox.

      Currently my suggestion box looks like this:




      <rich:suggestionbox for="suggestbox_user_input1" minChars="2"

                fetchValue="" nothingLabel="No entry found"



                var="suggest" width="300">



                          <h:outputText value="#{suggest.item['$modified']}">

                                    <f:convertDateTime timeZone="#{global.timeZone}"

                                              pattern="#{global.dateTimePatternShort}" />




                <a4j:support event="onselect"



                                    value="#{suggest.item['$uniqueid']}" target="#{item_value}" />







      What I would like to do is to add an comand to my a4j:support tag to swich into another togglePanel mode.

      Is this possible in such a scenario?


      thanks for help