You need to sign in to do that
Don't have an account?
Radio button onselect open new window with selected record details
I have a list of recordswhich are associated with radio buttons individually, when i select radio button of any one record it should redirect me to a new page displaying all the details of that record ? Any ideas will be greatly appreciated..
yes. i got it..
All Answers
i got records and radio buttons and i am able to successfully redirect it to a new page, but i am unable to get id of selected record in second page url. Provinding my code, plz suggest any corrections in it so that i can refer id in url
I am getting url like this
https://c.ap1.visual.force.com/apex/accountpopupdisplay?id=null
if i hard code the soql query then i am getting url with id like this
https://c.ap1.visual.force.com/apex/accountpopupdisplay?id=0019000000dAmVu
Your action support is outside your selectradio - is that really how you code looks? My experience is that apex:param often doesn't work unless there is a rerender attribute in the containing component - actionsupport in this case. The problem then would be that you can't redirect to a new page.
Given that you are simply redirecting to that record, why not handle the onchange event and set the window location accordingly - something like:
Hi bob thanks for the reply. i applied your suggestion in my code, i am able to redirect my page but still i am not getting id in my url.
yes. i got it..