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
Tushar sharmaTushar sharma 

How to add Radio button with Map

I am using Map<string, sObject> now i want to bind these value with radio button how can i do this.

I am using Wrapper class Map<string,Wrapper> concept but the problem is in this case checkbox is working but Radio button is not working
and in map values coming as
WrapperMapping:[sObje=Account:{Name=GenePoint, Phone=(650) 867-3450, AccountNumber=CC978213, Fax=(650) 867-9895, Id=0019000000ySnxzAAC}, selected=null, selectedR=false, status=null]
Now i want to access only ID column in VF how can i do this Please help

Best Answer chosen by Tushar sharma
Deepak Kumar ShyoranDeepak Kumar Shyoran
Have you tried this MapName.get(Id).get('Id').

Where MapName is your Map Name
Id is the Id AccountId for which you want to access the Id field .

All Answers

Deepak Kumar ShyoranDeepak Kumar Shyoran
Have you tried this MapName.get(Id).get('Id').

Where MapName is your Map Name
Id is the Id AccountId for which you want to access the Id field .
This was selected as the best answer
Chinmay BhusariChinmay Bhusari
Hi, 
Can you please post a bit more of your code so as to help understand the problem you are facing.
shiv@SFDCshiv@SFDC
can you put wrapper class code