You need to sign in to do that
Don't have an account?
Kalai Arumugam
How to use two custom object's fieldsets in a single vf page?
I want to add two fieldssets from different custom objects in a single vf page. I tried using custom contoller with wrapper class, but I could not able to refer the object's fieldsets. Pls share your inputs.
Antonio Manente
You could get them using the Schema...
You could duplicate this for your two custom objects (substitute 'YOUR OBJECT NAME HERE' with the desired custom object name), and do what you wish with the returned fields (where 'DESIRED BAHVIOR HERE' is located) Kalai Arumugam
If I use the above method, how could I use the repeat functionlity in my vf page. I'm using the fieldset like below.
Antonio Manente
One solution I can think of is in your controller when you iterate over the fields( line 7 of my above code sample ) you could add them to a list and substitute that list in the apex repeat value of your code sample and it should work.