You need to sign in to do that
Don't have an account?
pintoo rajput
How to re render a page block section contains picklist, without effecting the page block section ??
I have a page block section contain picklist and input filed i filled all the field and picklist also .after that i clicked "add more" button it re render same page block without values BUT ABOVE SECTION SHOULD BE FILLED AS IT IS PICKLIST ALSO plz solve it
Please mark my answer as a solution to your question if it solves your problem.
ex:
<apex:pageblockSectionItem >
<apex:selectList value="{!selectedCountryName}" multiselect="false" size="1" onchange="actionfuntorefresh();">
<apex:selectOptions value="{!CountryNames}"/>
</apex:selectList>
</apex:pageblockSectionItem>
<apex:pageblockSectionItem >
Pin Code : <apex:outputText value="{!PinCodeOfCountry}" id="outputval"/>
</apex:pageblockSectionItem>
</apex:pageBlockSection>
<apex:actionFunction name="actionfuntorefresh" action="{!dummymethod}" rerender="outputval" status="myStatusforoutput"/>
Public PageReference dummymethod(){
return null;
}
Thanks,
http://www.forcexplore.com/2014/07/wrapper-class-in-salesforce.html