高章伟
2022-02-18 8b5f4c6c281cfa548f92de52c8021e37aa81901e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<apex:component controller="viewSurveyResultsComponentController" >
<apex:attribute name="surveyId" description="The survey to use" 
                  type="Id" required="required" assignTo="{!surveyId}"/>
                <apex:form >
                <apex:outputPanel style="width:100%">
  <apex:commandButton style="float:right" onclick="window.open('{!results}');" value="{!$Label.LABS_SF_View_Results_In_New_Window}" /> <BR />   
 
 <BR />
 <BR />
 
  </apex:outputPanel>
  </apex:form>    
  <apex:iframe src="{!results}" scrolling="true" />                         
</apex:component>