[Xerte] Navigation blues

Dave Burnett d_b_burnett at hotmail.com
Fri Nov 20 12:22:07 GMT 2009


That helps me out.

And though I see content is killed, I don't get why I can't navigate back structurally. 

"when I try to navigate
back to FW2.page(1), debug says it is executing, but no navigation happens."

Will fwid.page() work from any level of nesting? (assuming of course it has been created)

Or does it require a more qualified path when it is not in the same vicinity/level/parent set/whatever.


Subject: RE: [Xerte] Navigation blues
Date: Fri, 20 Nov 2009 12:05:25 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk



















The piece kicks up:

-         
Any top level page models are loaded;

-         
Styles are created from the LO icon, some other stuff like templateData

-         
The interface is created, or not,

-         
The first page is created, and all of it’s children are
added to it until it hits an interaction that it not perpetual; a framework , a
decision, or a sound set to wait; subsequent content is added as those icons
exit; any framework will have it’s first page created in the same way; interaction
responses are set up, but their children are not added until the response
matches;

-         
The top level pages are created – but none of their
children until the page is shown;

-         
Navigate to a new page kills all the existing content in the
current page – it is deleted (explains whey the page is set up like new
when you return to it;

 

Check out lines 500 – 650 on frame 2 of XMLEngine.swf. This
is the parser function, which is called everytime content needs to be setup –
there are some comment sin there,

 





From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Friday, November 20, 2009 11:57 AM

To: Xerte list

Subject: RE: [Xerte] Navigation blues





 



Right on the head.

I'm still falling down on how the parsing proceeds then, and where/why parsing
pauses.



>From yourself in the archives:

As the rlo file is parsed, it does things in this order:



- Sets up the interface

- Creates the first page

- Adds its child icons and executes any script

- Adds the next page

So
I have

LO

  INT

    PG



and everything else is nested inside that first page.



So is this where I'm misunderstanding?:



When you say "Adds its child icons", you mean it adds it's direct
children, no more and no less, then the flow starts flowing and what happens is
what happens.



Once created, does it not persist?

e.g. Once I got to FW3.page(0) (using your instruction) when I try to navigate
back to FW2.page(1), debug says it is executing, but no navigation happens.



argg.













Subject:
RE: [Xerte] Navigation blues

Date: Fri, 20 Nov 2009 09:19:54 +0000

From: Julian.Tenney at nottingham.ac.uk

To: xerte at lists.nottingham.ac.uk



At that point FW3 does not
exist. You are in FW1 on PG1. You can call FW1.gotoPage(1) which will take you
where you want to go…?

 

 





From:
xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk]
On Behalf Of Dave Burnett

Sent: Thursday, November 19, 2009 11:02 PM

To: Xerte list

Subject: RE: [Xerte] Navigation blues





 

No
matter how they are nested?



LO

 IFC

   PG

     FW1

       FW_ENT

       PG

         FW2

           PG

           PG

             INT

              
RES

                
SCR - want to nav from here. 

           PG

       PG

         FW3

           FW_ENT

           PG - to here

           PG

           PG

           PG  



FW3.gotoPage(0) doesn't seem to do it.



















Subject:
RE: [Xerte] Navigation blues

Date: Thu, 19 Nov 2009 14:38:19 -0800

From: Paul.Swanson at harlandfs.com

To: xerte at lists.nottingham.ac.uk



It works for me in the 2.6
desktop version. Note that the pages array from which the page number comes
from is zero-based, so myFrameworkId.gotoPage(4) will actually take you to the
5th page on the framework. 

 

Paul

 







From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Thursday, November 19, 2009 2:12 PM

To: Xerte list

Subject: [Xerte] Navigation blues





 



Found this in the archives:



"..but you could navigate to any page on any framework by using
myFrameworkId.gotoPage(pageNumber)."



Is it true?

It doesn't seem to want to work that way for me.











Hotmail: Trusted email with Microsoft's
powerful SPAM protection. Sign
up now.





 











Windows 7: I wanted simpler, now it's
simpler. I'm
a rock star.



 







Bing brings you maps, menus, and reviews
organized in one place. Try it now.

 		 	   		  
_________________________________________________________________
Windows 7: It works the way you want. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091120/d0f2ae73/attachment.html


More information about the Xerte mailing list