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
SunnySunSunnySun 

Support the preservation of dynamic binding feature is?

I use Dynamic Binding feature, but i find i can't save the modify data.

I want to know when i use Dynamic Binding feature  how to save the modify data.

Better to hava code fragments!

Any help will be appreciated!

 

this is my page code fragment

 

<apex:pageBlock title="TestPage">
    <apex:pageBlockButtons location="top" >
          <apex:commandButton action="{!save}" value="Save"/>
    </apex:pageBlockButtons>
    <apex:repeat var="caseField" value="{!caseFieldList}" >
            <!-- The only editable information should be contact information -->
          <apex:inputField value="{!dynamicCase[caseField]}" 
                        rendered="true"/>
            <br/><br />
    </apex:repeat>
</apex:pageBlock>

 

 

sunny

aballardaballard

Would need to see more of your page and controller to know what is wrong.   Dynamic references should work exactly the same as regular static ones in terms of updating and saving the modified data.  

 

I suggest you make sure everything works ok if you "hard code" the references in the page first. 

Bhawani SharmaBhawani Sharma

Can you please post your code ?