Opened 9 years ago

Closed 9 years ago

#12513 closed defect (fixed)

Transition Fails with ListItem using url property after first time when going to Grouped Views

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.6.0
Keywords: 1.7-mobile Cc:
Blocked By: Blocking:

Description

When I have a Transition with a URL:

<div id="mainMenuView" dojoType="dojox.mobile.View" selected="true">
    <ul dojoType="dojox.mobile.RoundRectList">
        <li dojoType="dojox.mobile.ListItem" url="eservice/eservice2.html">
            Manage Your Policy
        </li>
    </ul>
</div>    

Then I transition Back from the new page into the original page.

<div dojoType="dojox.mobile.View" id="eserviceRoot" selected="true">
    <div id="eServiceMain" dojoType="dojox.mobile.ScrollableView" selected="true" >
        <h1 dojoType="dojox.mobile.Heading" label="Policies" back="Services" moveTo="mainMenuView"></h1>
    </div>
</div>

When I try to transition Back, it does not work.

It seems this bug is specific to using the url pattern for "grouped" views.

Change History (2)

comment:1 Changed 9 years ago by ykami

Basically transition should be performed between two siblings that share the same parent. However, when views are nested and transition occurs from an inner view, we should search for an ancestor view that is a sibling of the target view, and use it as a source view.

comment:2 Changed 9 years ago by ykami

Resolution: fixed
Status: newclosed

(In [24083]) Fixes #12513 !strict. Search for appropriate source view before performing transition.

Note: See TracTickets for help on using tickets.