Issue Details (XML | Word | Printable)

Key: SHALE-276
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: sean schofield
Reporter: sean schofield
Votes: 0
Watchers: 0
Operations

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

LegacyDialogContext returns incorrect viewId when no transition is found during advance method

Created: 05/Sep/06 12:38 AM   Updated: 23/Jan/07 04:40 PM
Return to search
Component/s: Sandbox
Affects Version/s: 1.0.4-SNAPSHOT
Fix Version/s: 1.0.4


 Description  « Hide
The advance method does not really support the use case of other navigation outcomes that are unrelated to the dialog context which should be handled elsewhere. Ideally this method is altered so it returns a null String for the view id whenever it cannot find a transition that matches the supplied outcome. Null outcomes should just return null as well and allow the underlying DialogNavigationHandler to take care of the default behavior defined by the JSF spec.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #440216 Tue Sep 05 01:45:12 UTC 2006 schof LegacyDialogContext should not throw an exception when the transition cannot be found during the advance method. Instead return a null view id and let the wrapped NavigationHandler try to recover. (SHALE-276)
Files Changed
MODIFY /shale/sandbox/shale-dialog2-legacy/src/main/java/org/apache/shale/dialog2/legacy/LegacyDialogContext.java