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

Kemp Johnathan johnathan.kemp at ntlworld.com
Fri May 25 12:33:23 BST 2012


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/8d696a9c/attachment.html>


More information about the Xerte-dev mailing list