5 Replies Latest reply on Jul 4, 2007 8:37 AM by Ilya Shaikovsky

    Is reRender attribute works on IE6 or 7?

    mladen babic Newbie

      Is anybody knows answer on topic question?

      Best regards,
      mb

        • 2. Re:  Is reRender attribute works on IE6 or 7?
          mladen babic Newbie

          I 've used two components which is rerender based on value third component's.In FireFox works fine but on IE6 sometime doesn't work well.??

          Best regards,
          mb

          • 3. Re:  Is reRender attribute works on IE6 or 7?
            Ilya Shaikovsky Master

            please paste the code. It will be simplier to understand.

            • 4. Re:  Is reRender attribute works on IE6 or 7?
              mladen babic Newbie

               

              <h1 align="center"><t:outputText value="#{messages.addproperty}" /></h1>
               <a4j:region rendered="#{not empty currentProperty}">
               <a4j:outputPanel id="panel">
               <t:panelGrid columns="2" id="pnlgrd">
               <t:outputLabel for="property" value="#{messages.fieldtype}"></t:outputLabel>
               <a4j:region>
               <t:selectOneMenu id="property"
               converter="elb.solutions.propertyConverter"
               value="#{currentProperty.property}">
               <f:selectItem itemLabel="#{messages.text47}" />
               <f:selectItems value="#{propertyHandler.fieldTypes}" />
               <a4j:support event="onchange" reRender="textRules,num,positiveTxt,yesno,panel,eqdrop"></a4j:support>
               </t:selectOneMenu>
               </a4j:region>
               <t:outputLabel for="propertyName" value="#{messages.name} *"></t:outputLabel>
               <t:inputText columns="40" required="true"
               rendered="#{currentProperty.property ne 'DROPDOWN'}"
               id="propertyName" value="#{currentProperty.name}" />
              
               <h:selectOneMenu id="textRules" requiredMessage="#{messages.noname}" required="true"
               rendered="#{currentProperty.property == 'DROPDOWN'}"
               value="#{currentProperty.textRule}">
               <s:selectItems id="name" var="item" label="#{item.name}" value="#{textRules}" noSelectionLabel="Please select...."/>
               <s:convertEntity/>
               <a4j:support event="onchange" reRender="lst,outpanel"/>
               </h:selectOneMenu>
               <t:outputLabel for="num" value="#{messages.value} [#{currentProperty.property}]:" rendered="#{currentProperty.property == 'NUMERIC'}"></t:outputLabel>
               <t:inputText columns="5" id="num"
               rendered="#{currentProperty.property == 'NUMERIC'}"
               value="#{currentProperty.value}">
              
               </t:inputText>
               <t:outputLabel for="positiveTxt" value="#{messages.value} [#{currentProperty.property}]:" rendered="#{currentProperty.property == 'POSITIVE'}"></t:outputLabel>
               <t:inputText id="positiveTxt" columns="5"
               rendered="#{currentProperty.property == 'POSITIVE'}"
               value="#{currentProperty.value}">
              
               <f:validator validatorId="elbsolutions.positive" />
               </t:inputText>
              
               <t:selectBooleanCheckbox id="yesno"
               label="#{messages.value} [#{currentProperty.property}]:"
               rendered="#{currentProperty.property == 'YESNO'}"
               value="#{currentProperty.booleanValue}" />
               <t:outputLabel for="txt" value="#{messages.value} [#{currentProperty.property}]:" rendered="#{currentProperty.property == 'TEXT'}"></t:outputLabel>
               <t:inputText id="txt"
               columns="20" rows="10"
               rendered="#{currentProperty.property == 'TEXT'}"
               value="#{currentProperty.value}" />
               <t:outputLabel for="string" value="#{messages.value} [#{currentProperty.property}]:" rendered="#{currentProperty.property == 'STRING'}"></t:outputLabel>
               <t:inputText id="string"
               rendered="#{currentProperty.property == 'STRING'}"
               value="#{currentProperty.value}" />
              
               <rich:spacer></rich:spacer>
               <a4j:outputPanel id="outpanel">
              
               <t:selectManyCheckbox layout="pageDirection" value="#{propertyHandler.selectedList}" id="lst"
               rendered="#{currentProperty.property eq 'DROPDOWN'}">
               <t:selectItems var="item" itemLabel="#{item.name}"
               itemValue="#{item}" value="#{currentProperty.textRule.fields}" ></t:selectItems>
               <s:convertEntity/>
               </t:selectManyCheckbox>
              
               </a4j:outputPanel>
               </t:panelGrid>
               . . . . .
              

              Best regards,
              mb

              • 5. Re:  Is reRender attribute works on IE6 or 7?
                Ilya Shaikovsky Master

                please put h:messages warapped with a4j:outputPanel with ajaxRendered=true to your form to check possible validation/conversion errors.

                If you need the component to be submitted without another - wrap it with a4j:region

                1 of 1 people found this helpful