• srinath ter
  • NEWBIE
  • 25 Points
  • Member since 2012

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

Hi,

 

I have a visualforce page where I displays some records inside<apex:commandLink> within <apex:repeat> iterating over a list in the controller. When I click on any of the records listed out it should display a pop up with details of the selected record. Anyone please suggest me how to acieve this?

 

VF Page:

<apex:outputPanel id="feedbackResponse">
    <apex:outputPanel styleClass="customPopup" layout="block" rendered="{!seeAllWebinarsFlag}">
                      <apex:repeat value="{!webinars}" var="w">
                            <apex:commandLink onclick="seewebinardetails();return false;">{!w.Title__c}      </apex:commandLink> <br/>
                     </apex:repeat><br/>
          </apex:outputPanel></apex:outputPanel>

Controller:

onlineSocials = [Select Id, Title__c from Online_Social__c];
for(Online_Social__c os: onlineSocials) {
webinars.add(os);
}

Popup section:

 

<apex:repeat value="{!webinars}" var="w">
                 <apex:outputField value="{!w.Title__c}"/> <br/>
</apex:repeat><br/>

 

seewebinardetails function:

function seewebinardetails() {
    webinar();
    }
<apex:actionFunction name="webinar" action="{!seeWebinarDetails}" reRender="feedbackResponse, WebinarDetails"/>

Hi,

 

I have a visualforce page where I displays some records inside<apex:commandLink> within <apex:repeat> iterating over a list in the controller. When I click on any of the records listed out it should display a pop up with details of the selected record. Anyone please suggest me how to acieve this?

 

VF Page:

<apex:outputPanel id="feedbackResponse">
    <apex:outputPanel styleClass="customPopup" layout="block" rendered="{!seeAllWebinarsFlag}">
                      <apex:repeat value="{!webinars}" var="w">
                            <apex:commandLink onclick="seewebinardetails();return false;">{!w.Title__c}      </apex:commandLink> <br/>
                     </apex:repeat><br/>
          </apex:outputPanel></apex:outputPanel>

Controller:

onlineSocials = [Select Id, Title__c from Online_Social__c];
for(Online_Social__c os: onlineSocials) {
webinars.add(os);
}

Popup section:

 

<apex:repeat value="{!webinars}" var="w">
                 <apex:outputField value="{!w.Title__c}"/> <br/>
</apex:repeat><br/>

 

seewebinardetails function:

function seewebinardetails() {
    webinar();
    }
<apex:actionFunction name="webinar" action="{!seeWebinarDetails}" reRender="feedbackResponse, WebinarDetails"/>

Hi Guys

      How to run a JavaScript After the 'contact Detail' page Load . Any sample or link to refer would help .

 

 

Thanks

Saran