[Xerte-dev] Re: Identifying the index of the current page in Xerte
Kemp Johnathan
johnathan.kemp at ntlworld.com
Thu Nov 22 22:40:46 GMT 2012
After recent testing I can also confirm the Language options on the xwds
are now working again.
Kind regards
Johnathan
On 22 November 2012 11:55, Kemp Johnathan <johnathan.kemp at ntlworld.com>wrote:
> Yes thanks.
>
> Kind regards
>
> Johnathan
>
> On 22 November 2012 11:19, Julian Tenney <Julian.Tenney at nottingham.ac.uk>wrote:
>
>> Did you figure it out?
>>
>>
>>
>> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
>> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan
>> *Sent:* 21 November 2012 17:55
>> *To:* Xerte Developers Discussion List
>> *Subject:* [Xerte-dev] Identifying the index of the current page in Xerte
>>
>>
>>
>> Is it possible to identify the index of the current page in Xerte BEFORE
>> any script in the page runs.
>>
>>
>>
>> I am trying to duplicate a feature from XOT that sets which navigation
>> buttons are enabled based on an xml data value for that page.
>>
>>
>>
>> In Xerte there is a rootIcon.pages array that will contain the xml values
>> for the page, but I need to be able to identify the index of the current
>> page that is loading so that I can set the navigation in code run off the
>> entry frame based on the navSetting data value for the page..
>>
>>
>>
>> If I can't crack this then the only alternative I have, if this feature
>> is to be available in Xerte, is to add extra code to each model file, which
>> I really (really really!) want to avoid doing.
>>
>>
>>
>> Kind regards
>>
>>
>>
>> Johnathan
>>
>>
>>
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121122/8fecd56c/attachment-0001.html>
More information about the Xerte-dev
mailing list