Results 1 to 4 of 4

Thread: Transitions between two <view-state> definition in one popup window

  1. #1
    Join Date
    Oct 2008
    Location
    Warsaw, Poland
    Posts
    124

    Exclamation Transitions between two <view-state> definition in one popup window

    Hi there,

    Is it possible to make a transition between 2 view states which both are defined with a popup="true" parameter?

    Code:
    <view-state id="view1" popup="true">
    ...
    <transition on="showView2" to="view2" />
    </view-state>
    
    <view-state id="view2" popup="true">
    ....
    </view-state>
    The presented above code doesn't work. It opens second popup on on="showView2" tranistion.
    If I remove the popup="true" parameter in the view2 definition the view will be rendered in the main browser window which is not I would expect.

    Any ideas how to solve this issue?

    Regards,
    Krzysztof

  2. #2
    Join Date
    Nov 2008
    Posts
    742

    Default

    I believe this is a limitation with SWF 2.0.x. I'm hoping this will be fixed in version 3.

  3. #3
    Join Date
    Oct 2008
    Location
    Warsaw, Poland
    Posts
    124

    Default

    I hope so.

  4. #4
    Join Date
    Oct 2006
    Location
    Perth, Western Australia
    Posts
    15

    Default Small change to Spring-Dojo.js to workaround

    This code will destroy the existing dialog... Add this code to the end of

    Code:
    dojo.declare("Spring.RemotingHandler", Spring.AbstractRemotingHandler, {
    ...
    var dialog = dijit.getEnclosingWidget(formNode);
    		if (dialog)	{
    			dialog.hide();
    		}
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •