Hi Benjamin,
Malte is right - this has to be application code. However, I'll updated the
documentation so this implementation detail is described better.
You'll find the updated documentation available at
http://manual.qooxdoo.org/devel/pages/low_level/back-
button_and_bookmark_support.html
by the end of the week (with the weekly devel update)
Regards,
Alex
On Friday April 15 2011 16:41:23 Malte S. Stretz wrote:
> On Friday 15 April 2011 16:20:50 Benjamin Dreux wrote:
> > Hi,
> > I think i've found an error in the documentation.
> > But i want to ask the question before feeding a bug report.
> >
> > At this address
> >
> > http://manual.qooxdoo.org/1.4.x/pages/low_level/back-button_and_bookmar
> > k_support.html#add-event-listener-to-history-changes There is a code
> > block, there is a call to this.setApplicationState()
> >
> > But i can't found the setApplicationState anywhere in the api doc, and
> > apparently it's not in the Application object.
>
> You are supposed to implement setApplicationState (ie. do whatever is
> necessary to switch state in your application) in the object which sets
> the listener. this doesn't point to the History instance but to the this
> supplied to the listener as the last parameter of addListener (which is
> this, isn't this confusing? :)
>
> Cheers,
> Malte
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel