3 Replies Latest reply on Apr 26, 2011 10:00 AM by jules poit

    [Resolved] - <a4j:region> Behavior

    jules poit Newbie

      Good afternoon

       

      I have a question about the region tag, I am using the RF4 Final.

      When I have a component like a <rich:autocomplete> outside a region tag, the list of suggestions is being displayed like it should be, but if it is wrapped around a <rich:region> it is not working (the autocomplete method is not being executed).

      What I am missing ?

       

      I have :

       

      <a4j:region>

            <rich:collapsiblePanel

                  switchType="ajax"

                  header="Search"

                  id="search"

                  expanded="false">

       

       

                                      <rich:autocomplete

                                              id="suggestionBox"

                                              value="#{searchModule.searchWord}"

                                              minChars="3"                                        

                                              mode="cachedAjax"

                                              autocompleteMethod="#{searchModule.autoCompleteWord}"

                                                 var="result"

                                              fetchValue="#{result}"

                                              autofill="false">

       

                                               <h:column>

                                                    <h:outputText value="#{result}" />

                                               </h:column>

                                          </rich:autocomplete>

       

              </rich:collapsiblePanel>

      </a4j:region>

       

      Thank you !