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

save functionality in Custom Component's controller class



    I have defined a Custom Component with an associated Custom controller class.The Page Editor for this  

    component will have some input fileds and respective Controller class has code for this input fileds and also

    save method which will save the values provided in the input fields.


    I have visualforce page where I invoked the component that I defined.This visualforce page is defined with standard controller and extension class on top of it.This extension class has a save method,where I am invoking save method that I defined in Custom component controller class.


So when I give some values in input fileds in Visual force page for component portion and click on save, the values are not getting save but saving with null values.


please suggest me in this issue or if any sample code please provide me.










Ron HessRon Hess

to understand the possible cause of your issue, will need to see how you are declaring your extension variables and save method.  can you post your code? 


it helps if you can simplify the issue to a simple variable and a standard object