Comparing versions 44 and 45.

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 + [button.html](DemoButton) + [jda\_and\_oo_integration.html](demoJdaAndOoIntegration) ## Input Terminals + **message_in** + accepts the following message types 1. string (i.e. "Goodbye") 2. any that can be converted to a string (i.e. 1) + **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 typetypes 1. string (i.e. 'Hello World') ## 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 receives.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**.

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 45. about 1 year by slim
  2. 44. about 1 year by slim
  3. 43. about 1 year by slim
  4. 42. about 1 year by slim
  5. 41. about 1 year by slim
  6. 40. about 1 year by slim
  7. 39. about 1 year by slim
  8. 38. about 1 year by slim
  9. 37. about 1 year by slim
  10. 36. about 1 year by slim
  11. 35. about 1 year by slim
  12. 34. about 1 year by slim
  13. 33. about 1 year by slim
  14. 32. about 1 year by slim
  15. 31. about 1 year by slim
  16. 30. about 1 year by slim
  17. 29. about 1 year by slim
  18. 28. about 1 year by slim
  19. 27. about 1 year by slim
  20. 26. about 1 year by slim
  21. 25. about 1 year by slim
  22. 24. about 1 year by slim
  23. 23. about 1 year by slim
  24. 22. about 1 year by slim
  25. 21. about 1 year by slim
  26. 20. about 1 year by slim
  27. 19. about 1 year by slim
  28. 18. about 1 year by slim
  29. 17. about 1 year by slim
  30. 16. about 1 year by slim
  31. 15. about 1 year by slim
  32. 14. about 1 year by slim
  33. 13. about 1 year by slim
  34. 12. about 1 year by slim
  35. 11. about 1 year by slim
  36. 10. about 1 year by slim
  37. 9. about 1 year by slim
  38. 8. about 1 year by slim
  39. 7. about 1 year by slim
  40. 6. about 1 year by slim
  41. 5. about 1 year by slim
  42. 4. about 1 year by xexamedes
  43. 3. about 1 year by xexamedes
  44. 2. about 1 year by xexamedes
  45. 1. about 1 year by xexamedes