Add DialogContextHelper with static accessors to eliminate need to manipulate
scoped attributes directly
--------------------------------------------------------------------------------------------------------
Key: SHALE-397
URL: https://issues.apache.org/struts/browse/SHALE-397
Project: Shale
Issue Type: Improvement
Affects Versions: 1.0.4, 1.1.0-SNAPSHOT
Reporter: Craig McClanahan
Assigned To: Craig McClanahan
Fix For: 1.1.0-SNAPSHOT
The current implementation of the dialog machinery in Shale occasionally
requires the application to directly access scoped attributes via a symbolic
constant string. Examples include accessing the current DialogContextManager
instance, creating it if necessary. This is unnecessarily brittle, and
restricts possible future improvements in the actual functionality.
To replace this, create a DialogContextHelper class with static convenience
methods that perform the same logic currently required of the application in
these use cases, but abstracted away to simplify application logic and insulate
it from future changes in the internal implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.