+ Start a Discussion
amar joshiamar joshi 

want to pass the record's id from page to controller

hi all

i have senerio like this

i have one pick list field on visualforce page in which the list of account populeted now near that pick list the 'view' command link is there
now i want to make logic like when i click the view link it will disaplay the all account information of the account that is selected in pick list in new page
suppose if i change the account name from that pick list the 'view' link display taht account information

for this i have made a command link view now i have to pass the id of selected account in that pick list to the controller

so just i want to know that is it possible without using java script.

is it possible to do theough controller ????

please help me out.

in short ::
i wnt to make the same functionality that is in lead convert page in which when u click the 'view' link beside account name field it will show u the account information in new page but want to do without using java script. do through controller logic

plsase help me out
I think this can be done with the <apex: outputLink> tag. Could you post the VF page code?

Message Edited by TehNrd on 09-12-2008 01:06 PM