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
<project name="Sample of Salesforce Ant tasks" default="" basedir="." xmlns:sf="antlib:com.salesforce"> | |
<property file="build.properties" /> | |
<property name="resource.dir" value="${basedir}/resource" /> | |
<property name="build.dir" value="${basedir}/build" /> | |
<property name="src.dir" value="${basedir}/src" /> | |
<property environment="env" /> | |
<tstamp> | |
<format property="now" pattern="yyyy/MM/dd HH:mm:ss" /> |
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 docType="html-5.0" showHeader="false" sidebar="false" standardStylesheets="false"> | |
<meta charset="UTF-8" /> | |
<apex:includeScript value="/canvas/sdk/js/publisher.js" /> | |
<script> | |
function changeOn() { | |
Sfdc.canvas.publisher.publish({ name : "publisher.setValidForSubmit", payload:"true"}); | |
} | |
function changeOff() { | |
Sfdc.canvas.publisher.publish({ name : "publisher.setValidForSubmit", payload:"false"}); |