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
TaoTao 

Salesforce's bug?

Code in vf page:
            ----------------------------------------------------------
            <apex:page controller="MyController">
            ......

            <apex:pageBlockTable
                value="{!myObjectList}"
                var="myObject"
                width="100%"
            >
                <apex:column >
                       <apex:commandLink value="OK"
                           action="{!ActionMethod}"
                           oncomplete="javascript&colon;
                               alert('{!myObject.Id}');
                           "
                       />
                </apex:column>

                ......

            </apex:pageBlockTable>

            ......
            ----------------------------------------------------------

then I got a compile error: Unknown property 'MyController.myObject'

But, if I change "oncomplete" to "onclick", this error does not appear.
Why ?...