Saturday, November 3, 2012

Hyperlinks in VF:

Hyperlinks in VF:
This sample shows how to traverse links from vfp to other vfp or another url ,action.Please find static resource Here

<apex:page sidebar="false" showHeader="false" standardStylesheets="false">
  <!-- Begin Default Content REMOVE THIS -->
  <h1>Congratulations</h1>
  This is your new Page: hyperlinks
  <!-- End Default Content REMOVE THIS --><p/>
  <apex:outputLink value="http://developer.force.com/">Click me!</apex:outputLink><p/>
  <apex:outputLink value="{! $Page.AccountDisplay}">I am me!</apex:outputLink><p/>
  <apex:outputLink value="{! URLFOR($Action.Account.new)}">Create</apex:outputLink><p/>
<!--
<apex:stylesheet value="http://developer.force.com/workbooks/vfdemo.css"/>
-->
<apex:stylesheet value=" {! URLFOR($Resource.Style, 'styles.css')} "/>
<!-- or
<style>
body {font-family: Arial Unicode MS;}
h1 {color:red;}
</style>
-->
  <h1>My Styled Page</h1>
  <p>Great!</p>
 </apex:page>

No comments:

Post a Comment