function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SwarnaSwarna 

outputPanel with actionRegion and dataTable

Hi

I use outputPanel with actionRegion to change the display according to the value selected in drop-down box. To display the header in the actionRegion, I use dataTable for css purpose. This works fine in Firefox but not in IE.
Here is the code.

<apex: outputPanel><b>Select Option : </b></apex:outputPanel>
    <apex:selectList id="searchOption" value="{!option}" multiselect="false" size="1">
        <apex:actionSupport event="onchange" action="{!loadOption}" reRender="out"></apex:actionSupport>
        <apex:selectOption itemValue="one" itemLabel="Option One"/>
        <apex:selectOption itemValue="two" itemLabel="Option Two"/>
        <apex:selectOption itemValue="three" itemLabel="Option Three"/>
    </apex:selectList>

    <apex: outputPanel id="out">
    <apex:actionRegion rendered="{!optionOne}">
        <apex:dataTable value="{!getInfo}" var="info" styleClass="tbl" headerClass="tble_hd_no_td">
            <apex:facet name="header">Search Parameters for Option One</apex:facet>
        </apex:dataTable>

        <apex:selectList value="{!OptionOneParams}" multiselect="false" size="1">
            <apex:selectOptions value="{!Onefilters}"/>
        </apex:selectList>
    </apex:actionRegion>

    <apex:actionRegion rendered="{!optionTwo}">
        <apex:dataTable value="{!getInfo}" var="info" styleClass="tbl" headerClass="tble_hd_no_td">
            <apex:facet name="header">Search Parameters for Option Two</apex:facet>
        </apex:dataTable>

        <apex:selectList value="{!OptionTwoParams}" multiselect="false" size="1">
            <apex:selectOptions value="{!Twofilters}"/>
        </apex:selectList>
    </apex:actionRegion>
</apex: outputPanel>

How to resolve this browser related issue?
Ron HessRon Hess
what is the failure in IE?

can you post your controller, pls use the SRC feature of the boards, thanks
SwarnaSwarna
Thanks. It works fine now.
 
Removed everything from the page, Added one by one of the same code (just for debugging purpose). And - it works fine in both FF & IE.