2 Replies Latest reply on Mar 13, 2008 5:28 AM by Piet Coyote

    Problem with reRender

    Piet Coyote Newbie

      Hi,

      i have a problem with a reRender attribute in my <a4j:support > tag:

      <a4j:support event="onchange" ajaxSingle="true" reRender="shortname"/>
      


      If i remove the ajaxSingle tag, the component with id="shortname" will be rendered, but with this attribute not.

      Cann anybody give a hint?

      thx
      chickenwings

        • 1. Re: Problem with reRender
          Sergey Smirnov Master

          what this a4j:support is attached to?

          • 2. Re: Problem with reRender
            Piet Coyote Newbie

            Hi,
            it is attached to a select component (use JSF):

            <h:selectOneMenu id="activity_type_follow" styleClass="input_text" value="#{activityManagerBean.activityType}" validator="#{activityManagerBean.validateType}" >
             <a4j:support event="onchange" ajaxSingle="false" reRender="shortname" />
             <f:selectItem itemValue="0" itemLabel="- Choose Activity Type -" />
             <f:selectItems value="#{activityManagerBean.activitytypeSelectItems}" />
            </h:selectOneMenu>
            <h:outputText value="* Shortname: " />
            <h:inputText class="input_text" id="shortname" value="#{activityManagerBean.followShortname}" required="true" requiredMessage="Please give a Shortname to this Activity" />