Skip to main content

<state>

Description

Forces a transition of the dialog context into the specified state. All actions taken after using the tag will be considered in the context of the specified state.

Functionally sets the value of $session.contextPath equal to the string from the body tag

Body

Name of a state.

How to use

// script

theme: /
state: 1
q!:1
a: 1

state: 2
q: 2
a: 2
// test.xml

<test>
<test-case>
<state>1</state>
<q>2</q>
<a>2</a>
</test-case>
</test>