-
-
Save stewartf/df7b3ec370a0c87f2369 to your computer and use it in GitHub Desktop.
folder-action persistent parameters
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
<folder-action name="ParamTest"> | |
<action-text name="PageList" var/> | |
<action-javascript> | |
function fwBeforePublish() | |
{ | |
fwParameters["PageList"].fwValue = ""; | |
} | |
function fwAfterEndHTML() | |
{ | |
fwParameters["PageList"].fwValue = fwParameters["PageList"].fwValue + "\n" + fwPage.fwFileName; | |
fwAlert(fwParameters["PageList"].fwValue); | |
fwDocument.pageList = fwDocument.pageList + "\n" + fwPage.fwFileName; | |
fwAlert(fwDocument.pageList); | |
} | |
</action-javascript> | |
</folder-action> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment