Java and JavaScript are two different programming languages. They have four letters in common, and literally nothing else. The various scares you have heard lately deal with Java, not JavaScript.
JavaScript (the programming language) is used within Actions in two different ways. The first, in the context that I answered your question, is as the language in which the Action program is written. The program executes, and its output is left behind. It runs entirely within Freeway, during the publish process, and unless the Action is written to add script to the page, the only output is going to be HTML.
The second way that JavaScript may be used in an Action is if the Action is written to add a script to your finished page. Examples of this include the Rollover Action, my various Scripty Actions, etc. In this case, the JavaScript in the Action writes more JavaScript into the finished page. The JavaScript that executes within the Action stays there, just as my previous example, but in this case some new JavaScript is injected into the page. These two sets of code do not interact – one writes the other. Only the code that is injected into the page gets seen by (and used by) the browser. The Action-JavaScript only runs within Freeway while it is publishing.
Walter
On Mar 3, 2013, at 12:39 AM, Frank Harshbarger wrote:
Cry me, I bloody scoffed the question.
Now this is a bit of a wonder, ALL actions this Java Script magic, eh? Java is that important to freeway pages? Is it to all web pages? If so, why the ability to block it? I mean, that means, logiclally, Java is not flash player tricks, but essential to page portrayal?
frank H.
On Mar 2, 2013, at 8:57 PM, Walter Lee Davis email@hidden wrote:
Actions are programs, written in JavaScript, which Freeway invokes during the publish process. The code in the Action modifies the finished page output, sometimes adding content or code, sometimes removing or re-arranging parts of the page structure.
Actions run each time the page is published with changes.
When you update an Action, that “dirties” the page where it is used, and the page is regenerated next time you publish.
Walter
On Mar 2, 2013, at 10:55 PM, RavenManiac wrote:
Can somebody please explain how actions work? In other words when an action is applied, when is the code actually written and what happens when an action is updated?
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options