You need to sign in to do that
Don't have an account?
help with displaying message through visualforce page
Hi
I have this vf page
<apex:page standardController="OpportunityLineItem" >
<apex:form >
<center><h1>
<Font Size="2"><p align="left">
<apex:outputLabel value="You are not allowed to Edit/Delete Opportunity Product."></apex:outputLabel>
<apex:outputLink value="/{!OpportunityLineItem.OpportunityId}" target="_parent"> <Font color="red" >Click here </Font></apex:outputLink>
<apex:outputLabel value="to go back to the Opportunity screen."></apex:outputLabel>
</p></Font></h1></center>
<p></p>
</apex:form>
</apex:page>
if certain conditions are met then the page should be redirected to the above page. the page is redirecting but iam unable to display the message given in the vf page
Thanks
Hi,
What message you need in the page?..Can you be more clear........
Generally, can use <Apex:messages> or <apex:pageMessage> or <apex:pageMessages> to display messages in VF
Try this examples
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessages.htm
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessage.htm
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.