This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page > | |
<apex:sectionHeader title="Client SwitchType"/> | |
<apex:tabPanel switchType="client" selectedTab="wikipedia"> | |
<apex:tab label="wikipedia" name="wikipedia"> | |
<apex:iframe src="https://www.wikipedia.org"/> | |
</apex:tab> | |
<apex:tab label="Bing" name="BingName"> | |
<apex:iframe src="https://www.bing.com"/> | |
</apex:tab> | |
</apex:tabPanel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardController="Opportunity"> | |
What would you like to do with this Opportunity - {!Opportunity.Name} | |
<apex:panelGrid columns="1"> | |
<!-- create --> | |
<apex:outputLink value="{!URLFOR($Action.Opportunity.New)}">Create New</apex:outputLink> | |
<!-- view --> | |
<apex:outputLink value="{!URLFOR($Action.Opportunity.View, Opportunity.Id)}">View</apex:outputLink> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page controller="testcls3_06122016"> | |
<apex:form> | |
<apex:actionFunction name="actionFn_Js" reRender="UserMessage"> | |
<apex:param name="actionName" value="Link-ActionFunction" assignTo="{!actionName}"/> | |
</apex:actionFunction> | |
<apex:panelGrid columns="2"> | |
<!-- commandbutton --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class testcls3_06122016 { | |
public String actionName{get;set;} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page controller="testcls4_06122016" > | |
<apex:form> | |
<apex:actionPoller interval="5" action="{!timerFired}" | |
enabled="{!userRetries < 10}" reRender="UserMessage" /> | |
<apex:outputPanel id="UserMessage"> | |
User Retry Count - {!userRetries} | |
</apex:outputPanel> | |
</apex:form> | |
</apex:page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class testcls4_06122016 { | |
public Integer userRetries{get;set;} | |
public testcls4_06122016() { | |
userRetries = 0; | |
} | |
/* Action Methods */ | |
public void timerFired() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page controller="testcls5_06122016"> | |
<apex:form> | |
<!-- Display Section (Output Area) --> | |
<apex:outputPanel layout="block"> | |
Today's Quote - {!$Setup.TodaysQuote__c.Quote__c} | |
</apex:outputPanel> | |
<hr/><br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class testcls5_06122016 { | |
public String searchStr {get; set;} | |
public String searchResult {get; set;} | |
public void doSearch() { | |
searchResult = '10 products found'; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page > | |
<style> | |
.myClass { | |
border : 2px solid red; | |
} | |
</style> | |
<apex:form> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class testcls7_08122016 { | |
public string pagemessage { get; set;} | |
public testcls7_08122016() { | |
pagemessage = 'page initialized to default value'; | |
} | |
public void init_page1() { | |
pagemessage = 'page initialized by page1'; |
OlderNewer