[Xerte-dev] Re: New models and quiz

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Feb 28 16:28:00 GMT 2012


flippin setTextColor().

Dah.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 28 February 2012 16:21
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New models and quiz

How do you change the flippin' text colour on a  checkbox?

Help says setStyle('color', value); nope. Other help says setStyleProperty('textColor', value); nope either.

F"£$%^£.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 28 February 2012 15:22
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New models and quiz

Thank you for the rapid response.

I have downloaded the updates and tested them.

One minor request if it is at all doable.

At present the only way you know if a section is available is if you click the unchecked check box and it won't take a tick then that section does not exist in the form.

Is it possible to grey out or hide the display of a section label that has not been utilised in a form? Some forms will not need to be split into sections, so it could be confusing to users if they can't tell when a section exists or not.

Kind regards

Johnathan

On 28 February 2012 14:00, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
Done. Language options and advanced options.

Eventually it would be good if the xwd had sections="advanced,language" sectionLabels="Advanced Options,Language Options" in the root node, and then the controls and handlers were built automatically.

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 28 February 2012 13:52

To: For Xerte technical developers
Subject: [Xerte-dev] Re: New models and quiz

OK :-)

JK

On 28 February 2012 13:51, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
Somewhere, sometime, but first things first.

We really need to get everything that is currently out on the workbench finished, zipped up, tested, fixed and put out in the world. It's a lot: there's been loads going on since September.

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 28 February 2012 13:49

To: For Xerte technical developers
Subject: [Xerte-dev] Re: New models and quiz

"Language Options" is fine, I was just conscious of the limited amount of space at the bottom of the form.

Will these labels be exposed somewhere in the Xerte and XOT interface so that translators can change them to their appropriate language equivalent?

Kind regards

Johnathan

On 28 February 2012 13:38, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
"Language Options"?

"Advanced" could be handy though (I'm thinking about some of the mapping stuff I'm working on). We're not trying to build visual basic though.

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 28 February 2012 13:37

To: For Xerte technical developers
Subject: [Xerte-dev] Re: New models and quiz

At present I don't have a use for "advanced" section, so maybe we could keep it really simple and just change the advanced label to "language".

My main concern was in trying to have a way of not having to display all the sections at the same time to avoid a long scrolling form, but if avoiding that is the part that takes up the time then keep it simple.

I don't know if collapsible sections based on data in the xwd file would go on to your to do list for later. If so the less time invested in making changes now that might become redundant the better.

I will go along with whatever you feel is appropriate.

Kind regards

Johnathan

On 28 February 2012 13:18, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
NO, the work is in making the form expand / contract.Main, Advanced and Language would work: would suggest just having 'Advanced' and 'Language' as the checkboxes. I can do that now, if that works...

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 28 February 2012 13:05

To: For Xerte technical developers
Subject: [Xerte-dev] Re: New models and quiz

I appreciate the time constraint. Its a pity as it would have moved the language for the sections into the xwd making translation easier.

So far we have managed with no sections at all, its just as you start adding all the display text a few forms get very big.

How about if we had three check boxes, Main, Language, Instructions,

Main would handle the display of what was typically seen in the form for a node before the internationalisation came along, it would default to checked but if you unchecked it then the content would be hidden, Forms for low content pages might only have a Main section.

Language would be Advanced but renamed and would work just the same. Into this could go all the display text, button width settings etc.

Instructions, would be a new section working in the same way as the current advanced but provide a place to put info statements that you could add to help explain the form.

The section title and associated check box would be greyed out or not display if no content existed for that section.

Or does that end up creating as much work as user definable sections?

If it does then let me know and I will work with just the current advanced section.

Kind regards

Johnathan

On 28 February 2012 12:40, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
It's more work than I've got time to do to make expandable sections for the form at the moment. Do things get really messy when you just have the normal default section, and an advanced section? Could we get away with another checkbox, or some other control to display nodes with various attributes? We can't have n checkboxes, but some other way of showing / hiding sections?

I'm also stuck on the name thing. It's one of those 'I can't believe it's not possible' problems... but I've not thought of a solution.



From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 28 February 2012 12:27

To: For Xerte technical developers
Subject: [Xerte-dev] Re: New models and quiz

Sorry, I missed the ball being in my court and did not want to appear pushy :-)

We discussed this in a thread entitled "Re: Interactive Diagram Page (customHotspots.rlm)"

The last discussions left me, perhaps wrongly, with the impression that you would be carrying out some further work.

In my postings I had tried to convey a preference for user defined sections that could be collapsed or expanded by the author when using the form, rather than having a single additional area that was either displayed or not displayed - as once displayed we are still back to a form that may be significantly larger than the page.

However I also wanted to convey my appreciation that you might not be in a position to commit the time necessary to implement this and that I would accept whatever solution you were able to offer in the time available.

My post of the 3rd Feb that begins "I'm sorry I was unavailable yesterday afternoon and evening and was not able to respond to you sooner." provides a sample xwd script that demonstrates how I thought it might be implemented from the xwd form definition perspective.  In theory any node defined in an xwd could be for display purposes be split into sections each of which could be expanded or contracted, by the author to edit their content.

Do you think you might be able in the time available to implement something like that?

Is the ball in my court regarding the resolution of the problem regarding the consuming of the xwd name property for use as the page title and for populating the TOC in a xerte desktop page project - because if it is I'm afraid my racket has just bust several strings ;-)

Kind regards

Johnathan

On 28 February 2012 12:00, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
> Whilst I am waiting for the situation to resolve
I think this is your situation to resolve...

;-)

If you need more, tell me what you need.

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 28 February 2012 11:59

To: For Xerte technical developers
Subject: [Xerte-dev] Re: New models and quiz

Hello Inge,

The quiz has got a fair bit of display text in it, which tends to make the xwd form rather busy. It was actually the first model I converted for translation back in the days when we were just beginning to talk about how this might be implemented. So I am just waiting for any additions to the features offered by xwd forms to be completed, so that I can set up the form to display in the most user friendly way.

There has been some discussion regarding possible additions to the features offered by xwd based forms, that would allow for the forms to be divided into sections that could be displayed or hidden. Julian added an "Advanced" flag which allows you to mark some properties as advanced that then only show when the advanced box is checked. I don't know if any further changes are going to be implemented or whether "advanced" is all there will be.

Whilst I am waiting for the situation to resolve I am working on the Connector models (formerly known as routed pages), but rest assured the Quiz will be included in the model set.

With regard to the detection of the environment in a model i.e. desktop V pageTemplate / XOT I would prefer something automatic in the model. If I set a flag in the xwd it has to default to something, presumably XOT meaning that none of the pages would run out of the box in a desktop pages project. The user would always have to remember to change the setting.

I think I may have a possible candidate value that will provide the environment indicator I need. I now have a working MAXOS environment to test it on. So I am going to run a few tests and see how things go.

Hope you both enjoyed the skiing!

Kind regards

Johnathan






On 28 February 2012 11:26, Inge Donkervoort 12Change <i.donkervoort at 12change.eu<mailto:i.donkervoort at 12change.eu>> wrote:
Hi Jonathan,

We had a look at your work so far, looking good! Toppie :)

We were just wondering what happened to the Quiz?
Also with respect to your question about pages for the development mode or XOT mode only, Tom suggest to ad an attribute to the xwd.

Bye,
Inge
1 2 Change
Chopinlaan 27
5242 HM Rosmalen
T 073-5226195
F 073-5226196
E i.donkervoort at 12change.eu<mailto:i.donkervoort at 12change.eu>
I www.12change.eu<http://www.12change.eu>

T twitter<http://twitter.com/IngeDonke12C>
L linkedIn<http://nl.linkedin.com/pub/inge-donkervoort/7/4b/18a>

Op 27-2-2012 17:39, Ron Mitchell schreef:



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.

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

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.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

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.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

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.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

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.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

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.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

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.

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


More information about the Xerte-dev mailing list