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
Kevin DesaiKevin Desai 

Remote Action : <apex:selectList>

Hi,

I was just playing around with VF Remote Action. What I am trying to do here is get all the fields on a selected object (from a picklist) via the remote action.

While I am getting back the values in the result variable for JS, I am not being able to display them in a picklist. I could display some of them using a for loop in an outputText. But not in <apex:selectOptions>. Any help?

cheers
kevin
Ramu_SFDCRamu_SFDC
The below article should hopefully help you out :)

http://www.cloudforce4u.com/2013/10/get-all-fields-of-object-in-apex.html
Kevin DesaiKevin Desai
Thanks for replying. I'd love to use this as I have on a number of occasions in past. But I'm thinking not to issue a render...and that's why using Remote Action.  --Kevin Sent from Mailbox for iPhone