Easy to do with a little JavaScript!
<apex:commandbutton onClick=”window.top.close();” value=”Close”/>
Easy to do with a little JavaScript!
<apex:commandbutton onClick=”window.top.close();” value=”Close”/>
I can never remember what the different Visualforce page message options look like between the severity and strength so here are the options along with the code. <apex:page title="Visualforce pageMessage Samples"> <apex:form > <apex:pageMessage title="Message...
If you work with Visualforce and the first field on your page is a date you'll notice that when the page loads it'll automatically open the date picker which is often not desirable. To fix this simply place this Javascript on your page: <Script> function...
Here's how we can get a very nice looking Google map tied to the current Lead, Account, or Contact that you are currently viewing. First create a new Visualforce page (Setup > Develop > Page) for each of the types, here is the code for each: Leads: [html]...
0 Comments