2 Replies Latest reply on Jul 10, 2008 5:35 AM by Jens Mueller

    various components not working

    Jens Mueller Novice

      Hi,
      the app i'm currently working on includes some richfaces components such as suggestionbox, calendar and fileupload. mostly those components work fine and contribute to comfortable user interaction. however sometimes they do not work in the sense that they do not popup. sometimes they work after reloading the page (FF and IE 7), whereas some of my rich:calendars do not work at all (safari 3). any ideas???

        • 1. Re: various components not working
          Ilya Shaikovsky Master

          every case should be carefully explained to became a bug.

          • 2. Re: various components not working
            Jens Mueller Novice

            Sorry for the delay. i heavily doubt that it is a bug. Anyway, here's an example scenario: the user can reRender a panel via drop down menu . The rerendered area in this case has a suggestionbox and two calendars to define a time range. The whole thing looks (a bit simplified) like this:

            <h:form id="selectionForm">
            <t:saveState value="#{myBean}" id="myBean"/>
             <rich:panel header="Analysis" >
             <h:panelGrid >
             <h:selectOneMenu value="#{myBean.targetView}" >
             <f:selectItems value="#{myBean.analysisCriteriaList}" />
             <a4j:support event="onchange" action="#{myBean.loadView}" reRender="ajaxArea"/>
             </h:selectOneMenu>
            
             <rich:panel >
             <h:panelGrid columns="2" >
             <h:outputText value="#{analyze_msg.personalNumber}"/>
             <h:panelGroup>
             <h:inputText id="persNumber" value="#{myBean.employeeNumber}"/>
             <a4j:region>
             <rich:suggestionbox id="suggestionBoxCC" for="persNumber" fetchValue="#{result.number}"
             suggestionAction="#{OrgaEditPerson.autocomplete}" var="result" height="150" width="250"
             nothingLabel="#{analyze_msg.no_item_found}"
             eventsQueue="personQueue" >
             <h:column>
             <h:outputText value="#{result.number}" />
             </h:column>
             <h:column>
             <h:outputText value="#{result.name}" />
             </h:column>
             </rich:suggestionbox>
             </a4j:region>
             </h:panelGroup>
             <h:panelGroup/>
             <rich:spacer height="12" />
             <h:outputText value="#{analyze_msg.date_from}:" />
             <rich:calendar value="#{myBean.fromDate}"
             datePattern="#{myBean.datePatternDefault}"/>
             <h:outputText value="#{analyze_msg.date_to}:" />
             <rich:calendar value="#{myBean.toDate}"
             datePattern="#{myBean.datePatternDefault}"/>
             </h:panelGrid>
             </rich:panel>
             <a4j:commandButton value="#{analyze_msg.button_analyze}" action="#{myBean.analyze}" reRender="ajaxArea"/>
             </h:panelGrid>
             </rich:panel>
            </h:form>


            As i said it works properly in 9 out of 10 times but sometimes the pop up components seem to be locked. This occurs only once at the beginning -after a of the respective page all components (even those on other pages) work as expected.