You need to sign in to do that
Don't have an account?
Starz26
Partial page refresh no working for new records
Greetings,
I have implemented partial page refreshing based on a value in a select list. It works fin for existing records, however, when creating a new record the section does not show or hide...
i am using a standard controller for most of the work with a little bit of code from an extentions that has nothing to do with the selectList in question.
Anyone have ideas as to why it works with existing records and not for new records? it seems the update to the picklist
here is the relevan portion of the vf code
<apex:actionRegion > <apex:pageblockSection id="vid_details" title="Video Details"> <apex:inputField value="{!Video_Content__c.Name}" required="true"/> <apex:inputField value="{!Video_Content__c.Link_Type__c}" label="Link Type" id="lnktype"> <apex:actionSupport event="onchange" rerender="wistiaplayeroptions" oncomplete="toggleOptions();"/> </apex:inputField> <!-- <apex:pageBlockSectionItem/> <apex:inputField value="{!Video_Content__c.Location__c}"/> --> <apex:inputField value="{!Video_Content__c.Video_Height__c}"/> <apex:inputField value="{!Video_Content__c.Video_Width__c}"/> </apex:pageblockSection> </apex:actionRegion>
<apex:outputPanel id="wistiaplayeroptions"> <apex:pageBlockSection id="wistia_player_options_section" title="Wistia Player Options" rendered="{!Video_Content__c.Link_Type__c == 'Wistia'}"> <apex:inputField value="{!Video_Content__c.Big_Play_Button__c}"/> <apex:inputField value="{!Video_Content__c.Controls_Visible_on_Load__c}"/> <apex:inputField value="{!Video_Content__c.Small_Play_Button__c}"/> <apex:inputField value="{!Video_Content__c.Autoplay__c}"/> <apex:inputField value="{!Video_Content__c.Playbar__c}"/> <apex:inputField value="{!Video_Content__c.Fullscreen_Button__c}"/> <apex:inputField value="{!Video_Content__c.Volume_Control__c}"/> <apex:inputField value="{!Video_Content__c.End_Behavior__c}"/> </apex:pageBlockSection> </apex:outputPanel>
Try adding page messages and status messages for debugging furthur.