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
trictric 

VIsual force page ,Class and IFrame

Hi Friends, I have apex class and visual force page.The class is fetching portal customers ,email, firstname, lastname .I am calling that function in visual force page and passing these parameters to the link which is running in IFrame. I have been able to pass email name .How do I pass firstname and lastname to the the link ,Can somebody make changes and and show me how to pass firstname and lastname to the link in iframe public class pageTest { public String UserMail; string userId = UserInfo.getUserId(); public String getUserMail() { return UserMail = [SELECT Email,firstname,lastname FROM User WHERE Id =: userId].Email; }
bob_buzzardbob_buzzard

The way that I've handed this in the past is to have the iframe inside an outputpanel and rerender that once I've retrieved the data.  I specify the iframe parameters via a controller property.