[Xerte] Re: Decision icon repeat
Kemp Johnathan
johnathan.kemp at ntlworld.com
Mon Dec 3 14:05:23 GMT 2012
Further to my earlier post the Branch property will also affect what
happens.
The help file reads
A setting of *'sequence', 'randomUnused', 'randomAny', or 'calculate'. *
*'sequence' *loops through the children of the decision icon in order.
*'randomUnused' *loops through the children in a random order, until all
the paths are used, or until the repeat property is satisfied.
*'randomAny'* loops through the children until the repeat property is
satisfied, and may visit the same child more than once.
'*calculate*' allows you to route the flow into a particular page of the
decision icon using the path property, which is zero based - to flow into
the third page, set branch to calculate, and the path property to 2.
The following models use the decision icon and may give further insight
into its use.
annotatedDiagram.rlm
bullets.rlm
buttonSequence.rlm
categories.rlm
columnPage.rlm
connectorMenu.rlm
customHotspots.rlm
dialog.rlm
dragDropLabel.rlm
inventory.rlm
links.rlm
list.rlm
memory.rlm
menu.rlm
perspectives.rlm
quiz.rlm
table.rlm
text.rlm
textMatch.rlm
thumbnailViewer.rlm
timeline.rlm
transcriptReader.rlm
The only one that does not set repeat-"all" in the model code is text.rlm
which has repeat="1" and branch="calculate"
I don't know if this will help you to resolve your issue.
Hope it does :-)
Johnathan
On 3 December 2012 13:56, Kemp Johnathan <johnathan.kemp at ntlworld.com>wrote:
> I have taken a look at the model files to see which pages use the decision
> icon.
>
> After finding that the bullets page uses the decision icon I then ran some
> tests
>
> By default the decision icon in the bullets page is set to
>
> all
>
> This results in the page listing every bullet.
>
> If however you replace the repeat value in the property page with a number
> e.g.
>
> 3
>
> Then only the first three bullets gets listed.
>
> So I guess the answer is you put a number in (without any quotes) and the
> decision icon will run that many times.
>
> Hope that helps.
>
> You may find that taking a look at the bullets.rlm file in your xerte
> installs \pages\models\ folder will cast some light on its use.
>
> Kind regards
>
> Johnathan
>
> PS sorry for the delay in replying - very busy on the Connector page
> documentation at the moment.
>
> On 3 December 2012 11:55, Dave Burnett <d_b_burnett at hotmail.com> wrote:
>
>> No takers?
>>
>> Help says the Repeat property will take All or a number.
>> If I use a number, nothing happens.
>>
>>
>>
>> ------------------------------
>> From: d_b_burnett at hotmail.com
>> To: xerte at lists.nottingham.ac.uk
>> Subject: Decision icon repeat
>> Date: Sun, 2 Dec 2012 08:08:22 -0500
>>
>>
>> What goes in the property sheet of a decision icon to have it repeat a
>> set number of times?
>>
>>
>>
>>
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20121203/d76e14ff/attachment.html>
More information about the Xerte
mailing list