AlertInfotron
This is a very good example of a minimalistic infotron. Good starting point if you are new to JDA and want something to copy and tweak a bit.
Sample Declaration
<div id="alerter"
impl="~0103A2343C2A624180A4A726CCA30F49B8"
properties="message:'Hello World'"
script="http://localhost/Alert.js">
</div>
Demos that use it
Input Terminals
message_in
- accepts the following message types
- string (i.e. "Goodbye")
- any that can be converted to a string (i.e. 1)
- accepts the following message types
trigger_in
- accepts any message types
Output Terminals
- close_event_out
- matches the type of the message arrived at either the message_in or trigger_in input terminals
Properties
- message
- can be set to the following value types
- string (i.e. 'Hello World')
- can be set to the following value types
How does it work?
When the infotron receives a message on the input terminal trigger_in, an alert box pops up and echoes the message string specified in the message property.
If the infotron receives a message on the input terminal message_in, an alert box pops up to echo the actual message that was received. The restriction on what types of messages can be sent through the message_in input terminal is rather lose. If the message is not of a string type, it will try its best to echo back a string representation of whataver message is received.
In both cases, when the user closes the alert box, the message that was received through either input terminal is sent back out through the output terminal close_event_out.
Wiki Pages
- AboutEform
- AdvancedExamples
- AlertInfotron
- AtomicConstructor
- BulletList
- ButtonInfotron
- ConstructorInfotron
- ContactTheMaintainers
- Dataflow Design Patterns
- DataflowDesignPatterns
- Demo43
- DemoButton
- DemoClock
- DemoEvDb
- DemoForm
- demoHierarchicalEncapsulation
- demoHttp
- DemoMap
- DemoMultiMap
- demoPhotobucketAndWebshot
- demoRssFeeds
- demoRssFeedsTimeline
- DemoSlideShow
- DemoStickyNote
- DemosWalkThrough
- demoYahooSearch
- EformMapperInfotron
- EformRouterInfotron
- EformWrapperInfotron
- EvolutionOfJDA
- FeedMagickInfotron
- FormInfotron
- FourPortRouterInfotron
- GettingStarted
- HowJdaWorks
- HtmlBlueprintSpec
- HtmlInfotron
- HtmlPagerInfotron
- HttpProxyInfotron
- IDA
- ImageInfotron
- InfotronDoc
- JDA Propaganda
- JdaCapabilities
- JdaIncapabilities
- JdaQuotes
- JdaResources
- JdaUsage
- JohnResigJsonRssToCollection
- JsBlueprintSpec
- JsonCallbackInfotron
- JsonXmlFilter
- JsStarDoc
- ListRouterInfotron
- OptionSelectorInfotron
- PasteboardInfotron
- PatternsForLoadingDependencies
- ScratchPad
- SendMessageInfotron
- SendMessagesInfotron
- SequenceMatcherInfotron
- SimpleGoogleMapInfotron
- SimpleYahooMapInfotron
- SlideShowInfotron
- SnifferInfotron
- StaticCalendarInfotron
- StickNotesInfotron
- TabularListingInfotron
- TextInfotron
- TextScrapListerInfotron
- TimeLineInfotron
- TimerInfotron
- Troubleshoot
- TwoStringJoinerInfotron
- UnofficialBlueprints
- UpcoingOrgInfotron
- XmlToEformInfotron
- YahooJsonInfotron
Space Home