|
|||||||||||||||||||||||||||||||
|
Macro guidelinesStandard definition
judat supports some basic macro management. Since all the action in the application are performed by an action engine all the actions are callable from users and external files.
The standard extension of the judat macro file is ".jmac" An action will be written as: [ACTIONNAME]:([ACTION_VAL1](:[ACTION_VAL2]...)) and they can be called in the "Perform action" menu item. Supported actions
Example file<?xml version="1.0" encoding="UTF-8"?> <judat version="1.0"> <macro version="1.0"> <info> </info> <content> <!-- Set the database connection--> <action name="setPort" value="3306"/> <action name="setUsername" value="root"/> <action name="setPassword" value=""/> <!-- A wait time in MilliSeconds --> <action name="wait" value="200"/> <action name="connect" value=""/> <action name="wait" value="200"/> <action name="setDatabase" value="mysql" onNotExists="END_ACTION"/> <action name="setTable" value="user" onNotExists="END_ACTION"/> </content> </macro> </judat> |
||||||||||||||||||||||||||||||
Copyright © 2005 Rasael Bervini. All rights reserved.
|