f9b802879d
Fix hints in CTATGroupingComponent graph. Add a tutored step for CTATTable example. Update description for CTATTextField example. Point to jquery library on our CDN in tutorial example.
422 linhas
15 KiB
XML
422 linhas
15 KiB
XML
<?xml version="1.0" standalone="yes"?>
|
|
|
|
<stateGraph firstCheckAllStates="true" caseInsensitive="true" unordered="true" lockWidget="true" hintPolicy="Use Both Kinds of Bias" version="4.0" suppressStudentFeedback="Show All Feedback" highlightRightSelection="true" startStateNodeName="%(startStateNodeName)%" tutorType="Example-tracing Tutor">
|
|
<startNodeMessages>
|
|
<message>
|
|
<verb>SendNoteProperty</verb>
|
|
<properties>
|
|
<MessageType>StartProblem</MessageType>
|
|
<ProblemName>table_example</ProblemName>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>6c622cb3-bbbc-bea7-8ddb-0cf5a41ac200</transaction_id>
|
|
<Selection>
|
|
<value>expanding_table</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>setNumRows</value>
|
|
</Action>
|
|
<Input>
|
|
<value>5</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>573fbb25-62e5-ba90-bdcf-35729f71aee3</transaction_id>
|
|
<Selection>
|
|
<value>expanding_table</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>setNumCols</value>
|
|
</Action>
|
|
<Input>
|
|
<value>5</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>8caaa277-640a-488c-c94d-c182fd6c2b71</transaction_id>
|
|
<Selection>
|
|
<value>expanding_table</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>set_first_row_is_header</value>
|
|
</Action>
|
|
<Input>
|
|
<value>true</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>313e7e32-0303-0d3e-6a6e-59e43854fd2b</transaction_id>
|
|
<Selection>
|
|
<value>const_table</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>setNumRows</value>
|
|
</Action>
|
|
<Input>
|
|
<value>5</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>ffc6946d-ed04-76a1-1b1e-4a4162f9e399</transaction_id>
|
|
<Selection>
|
|
<value>const_table</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>setNumCols</value>
|
|
</Action>
|
|
<Input>
|
|
<value>5</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>81f65ff8-c9fa-7e43-d539-78da1c31be38</transaction_id>
|
|
<Selection>
|
|
<value>const_table</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>set_first_row_is_header</value>
|
|
</Action>
|
|
<Input>
|
|
<value>true</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>fe882c54-86d1-f78f-3db4-78592cf16acb</transaction_id>
|
|
<Selection>
|
|
<value>expanding_table.R0C0</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextField</value>
|
|
</Action>
|
|
<Input>
|
|
<value>this</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>14f8a292-4c3c-191f-240d-25f23960f2e9</transaction_id>
|
|
<Selection>
|
|
<value>expanding_table.R0C1</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextField</value>
|
|
</Action>
|
|
<Input>
|
|
<value>is</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>29411bd6-5685-b95d-4c93-6a66dcb6dfd8</transaction_id>
|
|
<Selection>
|
|
<value>expanding_table.R0C2</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextField</value>
|
|
</Action>
|
|
<Input>
|
|
<value>a</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>1bf6b9c6-0b10-6b4b-5ac4-27b4593e53a3</transaction_id>
|
|
<Selection>
|
|
<value>expanding_table.R0C3</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextField</value>
|
|
</Action>
|
|
<Input>
|
|
<value>header</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>23f47956-16cd-e2f8-e10e-a2a3d8cc3648</transaction_id>
|
|
<Selection>
|
|
<value>expanding_table.R0C4</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextField</value>
|
|
</Action>
|
|
<Input>
|
|
<value>row</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>69b4ff9f-83ba-73b6-a141-09e5094bd35b</transaction_id>
|
|
<Selection>
|
|
<value>const_table.R0C0</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextField</value>
|
|
</Action>
|
|
<Input>
|
|
<value>this</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>a27c16a0-4ade-e4d0-0099-1679713736a3</transaction_id>
|
|
<Selection>
|
|
<value>const_table.R0C1</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextField</value>
|
|
</Action>
|
|
<Input>
|
|
<value>is</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>1fce2234-37d5-cd9a-4b0c-d45fd1bbe0f7</transaction_id>
|
|
<Selection>
|
|
<value>const_table.R0C2</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextField</value>
|
|
</Action>
|
|
<Input>
|
|
<value>a</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>f0761612-5cf2-ad05-298e-638d55cc7a5b</transaction_id>
|
|
<Selection>
|
|
<value>const_table.R0C3</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextField</value>
|
|
</Action>
|
|
<Input>
|
|
<value>header</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>1dea0c3d-1538-6708-978c-19b917d8f0d0</transaction_id>
|
|
<Selection>
|
|
<value>const_table.R0C4</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextField</value>
|
|
</Action>
|
|
<Input>
|
|
<value>row</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<message>
|
|
<verb>SendNoteProperty</verb>
|
|
<properties>
|
|
<MessageType>StartStateEnd</MessageType>
|
|
</properties>
|
|
</message>
|
|
</startNodeMessages>
|
|
<node locked="false" doneState="false">
|
|
<text>table_example</text>
|
|
<uniqueID>1</uniqueID>
|
|
<dimension>
|
|
<x>178</x>
|
|
<y>30</y>
|
|
</dimension>
|
|
</node>
|
|
<node locked="false" doneState="true">
|
|
<text>Done</text>
|
|
<uniqueID>2</uniqueID>
|
|
<dimension>
|
|
<x>206</x>
|
|
<y>197</y>
|
|
</dimension>
|
|
</node>
|
|
<node locked="false" doneState="false">
|
|
<text>state2</text>
|
|
<uniqueID>3</uniqueID>
|
|
<dimension>
|
|
<x>198</x>
|
|
<y>112</y>
|
|
</dimension>
|
|
</node>
|
|
<edge>
|
|
<actionLabel preferPathMark="true" minTraversals="1" maxTraversals="1">
|
|
<studentHintRequest></studentHintRequest>
|
|
<stepSuccessfulCompletion></stepSuccessfulCompletion>
|
|
<stepStudentError></stepStudentError>
|
|
<uniqueID>3</uniqueID>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>ebb910f3-4eac-9aae-8e91-f7ecddd519c4</transaction_id>
|
|
<Selection>
|
|
<value>expanding_table.R1C0</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>UpdateTextArea</value>
|
|
</Action>
|
|
<Input>
|
|
<value>x</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<buggyMessage>No, this is not correct.</buggyMessage>
|
|
<successMessage></successMessage>
|
|
<hintMessage>Please enter 'x' in the highlighted field.</hintMessage>
|
|
<callbackFn></callbackFn>
|
|
<actionType>Correct Action</actionType>
|
|
<oldActionType>Correct Action</oldActionType>
|
|
<checkedStatus>Never Checked</checkedStatus>
|
|
<matchers Concatenation="true">
|
|
<Selection>
|
|
<matcher>
|
|
<matcherType>ExactMatcher</matcherType>
|
|
<matcherParameter name="single">expanding_table.R1C0</matcherParameter>
|
|
</matcher>
|
|
</Selection>
|
|
<Action>
|
|
<matcher>
|
|
<matcherType>ExactMatcher</matcherType>
|
|
<matcherParameter name="single">UpdateTextArea</matcherParameter>
|
|
</matcher>
|
|
</Action>
|
|
<Input>
|
|
<matcher>
|
|
<matcherType>ExactMatcher</matcherType>
|
|
<matcherParameter name="single">x</matcherParameter>
|
|
</matcher>
|
|
</Input>
|
|
<Actor linkTriggered="false">Student</Actor>
|
|
</matchers>
|
|
</actionLabel>
|
|
<preCheckedStatus>No-Applicable</preCheckedStatus>
|
|
<rule>
|
|
<text>unnamed</text>
|
|
<indicator>-1</indicator>
|
|
</rule>
|
|
<sourceID>1</sourceID>
|
|
<destID>3</destID>
|
|
<traversalCount>0</traversalCount>
|
|
</edge>
|
|
<edge>
|
|
<actionLabel preferPathMark="true" minTraversals="1" maxTraversals="1">
|
|
<studentHintRequest></studentHintRequest>
|
|
<stepSuccessfulCompletion></stepSuccessfulCompletion>
|
|
<stepStudentError></stepStudentError>
|
|
<uniqueID>1</uniqueID>
|
|
<message>
|
|
<verb>NotePropertySet</verb>
|
|
<properties>
|
|
<MessageType>InterfaceAction</MessageType>
|
|
<transaction_id>12f27f60-ebe4-f6ef-b791-721c39092231</transaction_id>
|
|
<Selection>
|
|
<value>done</value>
|
|
</Selection>
|
|
<Action>
|
|
<value>ButtonPressed</value>
|
|
</Action>
|
|
<Input>
|
|
<value>-1</value>
|
|
</Input>
|
|
</properties>
|
|
</message>
|
|
<buggyMessage>No, this is not correct.</buggyMessage>
|
|
<successMessage></successMessage>
|
|
<hintMessage>Please click on the highlighted button.</hintMessage>
|
|
<callbackFn></callbackFn>
|
|
<actionType>Correct Action</actionType>
|
|
<oldActionType>Correct Action</oldActionType>
|
|
<checkedStatus>Never Checked</checkedStatus>
|
|
<matchers Concatenation="true">
|
|
<Selection>
|
|
<matcher>
|
|
<matcherType>ExactMatcher</matcherType>
|
|
<matcherParameter name="single">done</matcherParameter>
|
|
</matcher>
|
|
</Selection>
|
|
<Action>
|
|
<matcher>
|
|
<matcherType>ExactMatcher</matcherType>
|
|
<matcherParameter name="single">ButtonPressed</matcherParameter>
|
|
</matcher>
|
|
</Action>
|
|
<Input>
|
|
<matcher>
|
|
<matcherType>ExactMatcher</matcherType>
|
|
<matcherParameter name="single">-1</matcherParameter>
|
|
</matcher>
|
|
</Input>
|
|
<Actor linkTriggered="false">Student</Actor>
|
|
</matchers>
|
|
</actionLabel>
|
|
<preCheckedStatus>No-Applicable</preCheckedStatus>
|
|
<rule>
|
|
<text>unnamed</text>
|
|
<indicator>-1</indicator>
|
|
</rule>
|
|
<sourceID>3</sourceID>
|
|
<destID>2</destID>
|
|
<traversalCount>0</traversalCount>
|
|
</edge>
|
|
<EdgesGroups ordered="false"></EdgesGroups>
|
|
</stateGraph>
|
|
|