Issue Details (XML | Word | Printable)

Key: SHALE-366
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Rahul Akolkar
Reporter: Rahul Akolkar
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

[dialog-scxml] Allow app developer to define custom (Commons SCXML) actions for dialogs

Created: 19/Dec/06 10:44 PM   Updated: 23/Jan/07 04:40 PM
Return to search
Component/s: Dialog
Affects Version/s: None
Fix Version/s: 1.0.4


 Description  « Hide
Via the dialog-config, application developer should be able to define custom Commons SCXML actions per Shale dialog, say, via <scxmlaction> child of <dialog> element.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #488863 Wed Dec 20 00:12:09 UTC 2006 rahul Allow app developers to define custom Commons SCXML actions in namespaces of their choice. For example:

<dialog name="foo" scxmlconfig="dialog01.xml">
  <scxmlaction name="bar" uri="http://some.ns.uri" actionclassname="package.Class"/>
</dialog>

allows the use of custom Commons SCXML action with local name 'bar' in namespace uri 'http://some.ns.uri' for the dialog described by dialog01.xml.

Updated DTD accordingly.

Some renaming in DialogMetadata to appease digester setproperties (XML vocabulary wins over camelcase or mnemonics in my book). Also add a note in package.html and Javadoc that these classes (the ones in the oasds.config package) are not meant for app developer use (some need to be public to let digester do its thing etc.).

SHALE-366
Files Changed
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/resources/org/apache/shale/dialog/scxml/dialog-scxml-config_1_0.dtd
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/config/ConfigurationParser.java
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/config/DialogMetadata.java
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/config/package.html

Rahul Akolkar made changes - 20/Dec/06 12:16 AM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Repository Revision Date User Message
ASF #490579 Wed Dec 27 22:32:26 UTC 2006 rahul Catching up on documentation (alas). Added bits for shale-dialog-scxml custom actions (redirect, view), application developer defined custom actions, DTD for dialog-config and authoring best practices. Also fixed a botched conditional in code. Includes docs for:
SHALE-61 SHALE-337 SHALE-347 SHALE-348 SHALE-366

The shale-dialog-scxml docs have become too bulky for one page, need to refactor into a "true" site (post v1.0.4)
Files Changed
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/site/xdoc/index.xml
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/SCXMLDialogContext.java

Rahul Akolkar made changes - 23/Jan/07 04:40 PM
Fix Version/s 1.0.4-SNAPSHOT [ 21740 ]
Fix Version/s 1.0.4 [ 21790 ]
Jeff Turner made changes - 09/Aug/07 07:15 AM
Workflow Struts [ 39060 ] Struts - editable closed status [ 41693 ]
Antonio Petrelli made changes - 08/Jan/09 08:56 AM
Workflow Struts - editable closed status [ 41693 ] Struts - editable closed status (temporary) [ 46032 ]
Antonio Petrelli made changes - 08/Jan/09 09:08 AM
Workflow Struts - editable closed status (temporary) [ 46032 ] Struts - editable closed status [ 52714 ]