just as Tip: 1. A Shale dialogs is an interaction with the user spanning multiple HTTP requests! 2. Who says A must says B! Start/ End Dialog 3. Imagine a dialogs like UML2 diagram, state diagram, flow, etc.. they defines a user dialog that responds to user events to drive the execution of application code to complete a business goal(see Spring Webflow)!! 4. Each dialog is a unit for themselves, which can be tested in isolation, wich may be embedded as a subdialog, which can be extended but not to be interrupted! 5. The consistency of a dialog should not indiscriminately!! 6. You have to come to a decision: --> state diagram vs Struts simple navigation action Forward! --> using dialogs that mean You have to take care of Your State Flow!(Programmatically) --> use Actionlistener , Notifier to clean the dialog state, evict Your Dialog!
I must admit at the beginning of my experience with Shale, I also run a search for "prĂȘt-a-porte" solutions. Sam Mark_Huang wrote: > > Trying to figure out a problem, please help: > > 1. Assume Main Page Left Menu has two links, Link A and Link B, C, etc. > Link A will display Page A content in the right panel and initialize a > Dialog (I am using the Basic Dialog), and Link B, (C, D, etc) will > display Page B, C, D content in the righ panel WITHOUT initializing a > Dialog. The Dialog configuration file will NOT contain any transition for > those Link / Page that are not involved in the dialog. > > 2. Clicked Link A with the Dialog initialized > 3. Clicked Link B, and I got exception throw: something like, "Transition > for those pages B, C, D, ect, were NOT found for the target...". > > When some pages/links are not involved in the dialog and if I click one of > those pages/links from another DIALOG, is this valid scenario? Do I Have > to define all the transition for those link / pages that are not part of > the dialog? > > Thank you very much for your help, > -- View this message in context: http://www.nabble.com/transition-issue-for-Basic-Dialog-tf4768081.html#a13745655 Sent from the Shale - User mailing list archive at Nabble.com.