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
TomSnyderTomSnyder 

Cannot bind parameters in the actionFunction since the release of Winter 11?

I have used this pattern in a few VF pages but since our upgrade to Winter 11 they no longer work. 

 

 

The correct param does gets does get passed in the POST, but never gets binded to property on the controller.

 

 

Ex:

 

 

    <apex:actionFunction action="{!refresh}" name="JSonSelect" rerender="selobj" >
        <apex:param name="firstParam" assignTo="{!selectedItem}" value="" />
    </apex:actionFunction>


 

 

Anyone else having problems with passing parameters in the actionFunction since the release of Winter 11?

 

 

-Tom

CVMDEVCVMDEV

We are facing this issue as well. I have logged a case with salesforce support.

TomSnyderTomSnyder

Yes,  I logged a case.  Also this bug seems to be only when the viewstate is more complex, 

 

I wrote a a simple reproduce like the demo actionFunction and it does not cause the issue.  but with a more complex viewstate (storing markup as large strings, sobjects, etc) it fails.  I assume its a viewstate parsing issue. 

 

Further proof of this is if I use the viewstate viewer I don't see the property that im trying to populate in the controller.

 

-Tom