<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hmm... I don't know (in the editor) when the Wizard is closed....<br>
    <br>
    Op 25-5-2012 19:18, Kemp Johnathan schreef:
    <blockquote
cite="mid:CABtG3=V_J4dPDkN2-Uhux3eCdiGhn0o2gvay52ox9ybLb-6i4w@mail.gmail.com"
      type="cite">
      <div>Thanks Tom,<br>
      </div>
      <div><br>
      </div>
      <div>Kind regards</div>
      <div><br>
      </div>
      <div>Johnathan</div>
      <br>
      <div class="gmail_quote">On 25 May 2012 18:08, Tom Reijnders <span
          dir="ltr"><<a moz-do-not-send="true"
            href="mailto:reijnders@tor.nl" target="_blank">reijnders@tor.nl</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> Jonathan,<br>
            <br>
            I'll have a look. If it's easy to do I will. Problem is that
            at the moment there is no need for the editor to access the
            xml file. So I need to add that in order to implement this.
            Like I said, if that's easy to do, I wil.<br>
            <br>
            Op 25-5-2012 17:41, Julian Tenney schreef:
            <div>
              <div class="h5">
                <blockquote type="cite">
                  <div>
                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hiya,

                        given I am consistently not getting time to do
                        the things I’ve already commited myself to, this
                        is going to have to be something you’ll have to
                        look into yourself. But if you can do those tow
                        ifs, then you can easily write a function in the
                        editor to set the attribute, and you can easily
                        call that fom the wizard. What you need to
                        resolve is how to know if(xerte) && if
                        (pages)</span></p>
                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                    <div style="border:none;border-top:solid #b5c4df
                      1.0pt;padding:3.0pt 0cm 0cm 0cm">
                      <p class="MsoNormal" style="margin-left:36.0pt"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                            lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                          lang="EN-US"> <a moz-do-not-send="true"
                            href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
                            target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                          [<a moz-do-not-send="true"
                            href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
                            target="_blank">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                          <b>On Behalf Of </b>Kemp Johnathan<br>
                          <b>Sent:</b> 25 May 2012 14:07<br>
                          <b>To:</b> For Xerte technical developers<br>
                          <b>Subject:</b> [Xerte-dev] Re: Displaying the
                          page title in the TOC in desktop Xerte.</span></p>
                    </div>
                    <p class="MsoNormal" style="margin-left:36.0pt"> </p>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt">I
                        would guess not. </p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt"> </p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt">I
                        don't know if Tom put anything in when you
                        select to create a project of type "pages".</p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt"> </p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt">At
                        present there is a value set in a setup script
                        off the entryFrame</p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt"> </p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt">rootIcon.projMode

                        = "dev";</p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt"> </p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt">which
                        is used to tell the model files that they are
                        not in XOT or pageTemplates.</p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt"> </p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt">However
                        if there is something being flagged in the
                        "pages" type projects that would be accessible
                        to the page scripts then this might be a better
                        solution also for triggering the models than
                        having something in the setup script.</p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt"> </p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt">Kind
                        regards</p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt"> </p>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt">Johnathan</p>
                    </div>
                    <p class="MsoNormal" style="margin-left:36.0pt"> </p>
                    <div>
                      <p class="MsoNormal" style="margin-left:36.0pt">On
                        25 May 2012 14:00, Julian Tenney <<a
                          moz-do-not-send="true"
                          href="mailto:Julian.Tenney@nottingham.ac.uk"
                          target="_blank">Julian.Tenney@nottingham.ac.uk</a>>

                        wrote:</p>
                      <div>
                        <div>
                          <p class="MsoNormal"
                            style="margin-left:36.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Does

                              the wizard know about projectType?</span></p>
                          <p class="MsoNormal"
                            style="margin-left:36.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                          <div style="border:none;border-top:solid
                            #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
                            <p class="MsoNormal"
                              style="margin-left:72.0pt"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                lang="EN-US"> <a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                                [mailto:<a moz-do-not-send="true"
                                  href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
                                  target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                                <b>On Behalf Of </b>Kemp Johnathan<br>
                                <b>Sent:</b> 25 May 2012 13:59<br>
                                <b>To:</b> For Xerte technical
                                developers<br>
                                <b>Subject:</b> [Xerte-dev] Re:
                                Displaying the page title in the TOC in
                                desktop Xerte.</span></p>
                          </div>
                          <div>
                            <div>
                              <p class="MsoNormal"
                                style="margin-left:72.0pt"> </p>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt">I think it
                                  could be even simpler than that.</p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt">on closure
                                  of xwd form</p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt">If
                                  (projectType == "pages") {</p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt">  access
                                  xml for name value of first element;</p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt">  write
                                  name value of first element into page
                                  Icon's page title property;</p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt">}</p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt">I wouldn't
                                  bother even checking if the name value
                                  has changed unless the overhead of
                                  doing the process was significant.
                                  Removing the check makes the process
                                  quicker and It's not taking place when
                                  viewing the project so it won't slow
                                  down the learner experience one jot.</p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt">Kind
                                  regards</p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt">Johnathan</p>
                              </div>
                              <p class="MsoNormal"
                                style="margin-left:72.0pt"> </p>
                              <div>
                                <p class="MsoNormal"
                                  style="margin-left:72.0pt">On 25 May
                                  2012 13:25, Julian Tenney <<a
                                    moz-do-not-send="true"
                                    href="mailto:Julian.Tenney@nottingham.ac.uk"
                                    target="_blank">Julian.Tenney@nottingham.ac.uk</a>>

                                  wrote:</p>
                                <div>
                                  <div>
                                    <p class="MsoNormal"
                                      style="margin-left:72.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Can

                                        you suggest a process?</span></p>
                                    <p class="MsoNormal"
                                      style="margin-left:72.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                                    <p class="MsoNormal"
                                      style="margin-left:72.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">When

                                        the name attribute changes in
                                        the wizard if (xerte) and if
                                        (pages) call some function in
                                        the editor to set the property?</span></p>
                                    <p class="MsoNormal"
                                      style="margin-left:72.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
                                    <div
                                      style="border:none;border-top:solid
                                      #b5c4df 1.0pt;padding:3.0pt 0cm
                                      0cm 0cm">
                                      <p class="MsoNormal"
                                        style="margin-left:108.0pt"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                            lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                                          lang="EN-US"> <a
                                            moz-do-not-send="true"
                                            href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
                                            target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>
                                          [mailto:<a
                                            moz-do-not-send="true"
                                            href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
                                            target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                                          <b>On Behalf Of </b>Kemp
                                          Johnathan<br>
                                          <b>Sent:</b> 25 May 2012 12:33<br>
                                          <b>To:</b> Xerte Developers
                                          Discussion List<br>
                                          <b>Subject:</b> [Xerte-dev]
                                          Displaying the page title in
                                          the TOC in desktop Xerte.</span></p>
                                    </div>
                                    <div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-left:108.0pt"> </p>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt">Having

                                            read recent postings it
                                            looks like some work is
                                            taking place on the various
                                            flash files that drive
                                            Xerte.</p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt"> </p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt">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.</p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt"> </p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt">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.</p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt"> </p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt">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.</p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt"> </p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt">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.</p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt"> </p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt">Is

                                            this doable?</p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt"> </p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt">Kind

                                            regards</p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt"> </p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt">Johnathan</p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt"> </p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="margin-left:108.0pt"> </p>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <p class="MsoNormal"
                                    style="margin-left:72.0pt"> </p>
                                  <p style="margin-left:72.0pt">This
                                    message and any attachment are
                                    intended solely for the addressee
                                    and may contain confidential
                                    information. If you have received
                                    this message in error, please send
                                    it back to me, and immediately
                                    delete it. Please do not use, copy
                                    or disclose the information
                                    contained in this message or in any
                                    attachment. Any views or opinions
                                    expressed by the author of this
                                    email do not necessarily reflect the
                                    views of the University of
                                    Nottingham. </p>
                                  <p style="margin-left:72.0pt">This
                                    message has been checked for viruses
                                    but the contents of an attachment
                                    may still contain software viruses
                                    which could damage your computer
                                    system: you are advised to perform
                                    your own checks. Email
                                    communications with the University
                                    of Nottingham may be monitored as
                                    permitted by UK legislation. </p>
                                </div>
                                <p class="MsoNormal"
                                  style="margin-bottom:12.0pt;margin-left:72.0pt"><br>
_______________________________________________<br>
                                  Xerte-dev mailing list<br>
                                  <a moz-do-not-send="true"
                                    href="mailto:Xerte-dev@lists.nottingham.ac.uk"
                                    target="_blank">Xerte-dev@lists.nottingham.ac.uk</a><br>
                                  <a moz-do-not-send="true"
                                    href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev"
                                    target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
                                  <br>
                                  This message and any attachment are
                                  intended solely for the addressee and
                                  may contain confidential information.
                                  If you have received this message in
                                  error, please send it back to me, and
                                  immediately delete it.   Please do not
                                  use, copy or disclose the information
                                  contained in this message or in any
                                  attachment.  Any views or opinions
                                  expressed by the author of this email
                                  do not necessarily reflect the views
                                  of the University of Nottingham.<br>
                                  <br>
                                  This message has been checked for
                                  viruses but the contents of an
                                  attachment<br>
                                  may still contain software viruses
                                  which could damage your computer
                                  system:<br>
                                  you are advised to perform your own
                                  checks. Email communications with the<br>
                                  University of Nottingham may be
                                  monitored as permitted by UK
                                  legislation.</p>
                              </div>
                              <p class="MsoNormal"
                                style="margin-left:72.0pt"> </p>
                            </div>
                          </div>
                        </div>
                      </div>
                      <p class="MsoNormal"
                        style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><br>
                        _______________________________________________<br>
                        Xerte-dev mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:Xerte-dev@lists.nottingham.ac.uk"
                          target="_blank">Xerte-dev@lists.nottingham.ac.uk</a><br>
                        <a moz-do-not-send="true"
                          href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev"
                          target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
                        <br>
                        This message and any attachment are intended
                        solely for the addressee and may contain
                        confidential information. If you have received
                        this message in error, please send it back to
                        me, and immediately delete it.   Please do not
                        use, copy or disclose the information contained
                        in this message or in any attachment.  Any views
                        or opinions expressed by the author of this
                        email do not necessarily reflect the views of
                        the University of Nottingham.<br>
                        <br>
                        This message has been checked for viruses but
                        the contents of an attachment<br>
                        may still contain software viruses which could
                        damage your computer system:<br>
                        you are advised to perform your own checks.
                        Email communications with the<br>
                        University of Nottingham may be monitored as
                        permitted by UK legislation.<br>
                        <br>
                      </p>
                    </div>
                    <p class="MsoNormal" style="margin-left:36.0pt"> </p>
                  </div>
                  <br>
                  <br>
                  <pre>_______________________________________________
Xerte-dev mailing list
<a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a>
<a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

</pre>
                </blockquote>
                <br>
              </div>
            </div>
            <span class="HOEnZb"><font color="#888888">
                <pre cols="72">-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

</pre>
              </font></span></div>
          <br>
          _______________________________________________<br>
          Xerte-dev mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
          <a moz-do-not-send="true"
            href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev"
            target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
          <br>
          This message and any attachment are intended solely for the
          addressee and may contain confidential information. If you
          have received this message in error, please send it back to
          me, and immediately delete it.   Please do not use, copy or
          disclose the information contained in this message or in any
          attachment.  Any views or opinions expressed by the author of
          this email do not necessarily reflect the views of the
          University of Nottingham.<br>
          <br>
          This message has been checked for viruses but the contents of
          an attachment<br>
          may still contain software viruses which could damage your
          computer system:<br>
          you are advised to perform your own checks. Email
          communications with the<br>
          University of Nottingham may be monitored as permitted by UK
          legislation.<br>
          <br>
          <br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

</pre>
  </body>
</html>