transition issue for Basic Dialog

View: New views
5 Messages — Rating Filter:   Alert me  

transition issue for Basic Dialog

by Mark_Huang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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,

Re: transition issue for Basic Dialog

by Lionel Port-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes its a pain.

On Nov 8, 2007 10:27 AM, Mark_Huang <mhuang_us@...> 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#a13638438
> Sent from the Shale - User mailing list archive at Nabble.com.
>
>

Re: transition issue for Basic Dialog

by Mark_Huang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How about SCXML Dialog Implmentaion?

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,

Re: transition issue for Basic Dialog

by Rahul Akolkar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/7/07, Mark_Huang <mhuang_us@...> wrote:
>
> How about SCXML Dialog Implmentaion?
>
<snip/>

The behavior is similar in this regard.

-Rahul


>
> 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#a13639340
> Sent from the Shale - User mailing list archive at Nabble.com.
>
>

Re: transition issue for Basic Dialog

by samju :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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,