Issue Details (XML | Word | Printable)

Key: SHALE-347
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] Declarative mechanism to specify JSF view id

Created: 01/Dec/06 01:56 AM   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
To the effect of an action <shale:view viewId="/foobar" /> or some such.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Rahul Akolkar made changes - 01/Dec/06 02:01 AM
Field Original Value New Value
Assignee Rahul Akolkar [ rahul@apache.org ]
Fix Version/s 1.0.4-SNAPSHOT [ 21740 ]
Repository Revision Date User Message
ASF #481373 Fri Dec 01 20:18:28 UTC 2006 rahul Introduce the second custom Commons SCXML action available to Shale dialogs out-of-the-box. The action with local name "view" (and namespace whose URI is defined in Globals.CUSTOM_SCXML_ACTIONS_URI) may be used to associate the next view state with the identifier of the JSF view to be rendered while the dialog is in that state.

This provides a declarative alternative to specify a view ID in addition to the procedural alternative (DialogStateMapper). In presence of both means, the declarative specification gets priority as one would expect (and allows for special casing, conditionals etc.). This should cover most application requirements for mapping the SCXML states to views.

SHALE-347
Files Changed
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/DialogProperties.java
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/config/ConfigurationParser.java
ADD /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/action/ViewAction.java
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/SCXMLDialogContext.java

Repository Revision Date User Message
ASF #481376 Fri Dec 01 20:24:46 UTC 2006 rahul Illustrate use of <shale:view> via test application. Related to:
SHALE-347
Files Changed
MODIFY /shale/framework/trunk/shale-apps/shale-test-dialog-scxml/src/main/webapp/WEB-INF/wizard.xml

Rahul Akolkar added a comment - 01/Dec/06 08:27 PM
See r{481373,481376} (should appear in subversion commits tab).

Rahul Akolkar made changes - 01/Dec/06 08:27 PM
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 [ 21790 ]
Fix Version/s 1.0.4-SNAPSHOT [ 21740 ]
Jeff Turner made changes - 09/Aug/07 07:15 AM
Workflow Struts [ 38989 ] Struts - editable closed status [ 41665 ]
Antonio Petrelli made changes - 08/Jan/09 08:56 AM
Workflow Struts - editable closed status [ 41665 ] Struts - editable closed status (temporary) [ 45908 ]
Antonio Petrelli made changes - 08/Jan/09 09:08 AM
Workflow Struts - editable closed status (temporary) [ 45908 ] Struts - editable closed status [ 52576 ]