[Xerte-dev] Re: Displaying the page title in the TOC in desktop Xerte.

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri May 25 13:25:56 BST 2012


Can you suggest a process?

When the name attribute changes in the wizard if (xerte) and if (pages) call some function in the editor to set the property?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 25 May 2012 12:33
To: Xerte Developers Discussion List
Subject: [Xerte-dev] Displaying the page title in the TOC in desktop Xerte.

Having read recent postings it looks like some work is taking place on the various flash files that drive Xerte.

One of the outstanding items that needs a solution is how the "name" value in a page's xml data can be made to display as the page title, both in the top left of the Xerte screen and in the TOC.

I think this is resolved in XOT because the pages are created at runtime from the XML data, but in "pages" projects this is not the case.

I can add a couple of lines to every model that will display the "name" value from the XML data for the page as the page title in the top left corner, but it still won't appear in the TOC.

Currently desktop Xerte takes the value entered in the Page's Title property in the Page's property page as the value to display in the TOC and top left of the screen. If there was a way that Xerte, on closure of the xwd form could access the "name" value of the top element in the page's xml data, and then write this to the page's "title" property, then both the display of the page title in the TOC and in the top left corner of the screen would be resolved without any change to the models.

Is this doable?

Kind regards

Johnathan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120525/3f7f4b05/attachment.html>


More information about the Xerte-dev mailing list