Project

General

Profile

« Previous | Next » 

Revision 1445

migration 3.6.003

View differences:

field@reset.transf
1
<?xml version="1.0" encoding="UTF-8"?>
2
<sma:assmntUnitEditXhtmlTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sma="kelis.fr:scenari/modeling/assessment" xmlns="http://www.w3.org/1999/xhtml" info="Effacer la session eval">
3
	<sm:model sc:refUri="/academic/model/Uc/quiz/field.model"/>
4
	<sm:axis code="reset"/>
5
	<sm:scenario>
6
		<sm:sequence>
7
			<sm:initBody>
8
				<sm:elementDisplay refId="input" mode="collapsed"/>
9
			</sm:initBody>
10
		</sm:sequence>
11
	</sm:scenario>
12
	<sm:publicFunctions>
13
		<sm:function fctName="reset">
14
			<sm:setCompletionStatus status="notAttempt">
15
				<sm:responseSessionKey>
16
					<sm:fixedKey value="eval"/>
17
				</sm:responseSessionKey>
18
			</sm:setCompletionStatus>
19
			<sm:resetSession response="yes" score="yes">
20
				<sm:sessionKey>
21
					<sm:fixedKey value="eval"/>
22
				</sm:sessionKey>
23
			</sm:resetSession>
24
		</sm:function>
25
	</sm:publicFunctions>
26
	<sm:assmntBody>
27
		<!--besoin de d├ęclarer une zone Input pour que le resetSession fonctionne correctement-->
28
		<div sm:id="input">
29
			<sm:WInputZone>
30
				<sm:singleField>
31
					<sm:forStringField codes="asw">
32
						<sm:WInputText/>
33
					</sm:forStringField>
34
				</sm:singleField>
35
			</sm:WInputZone>
36
		</div>
37
	</sm:assmntBody>
1
<?xml version="1.0" encoding="UTF-8"?><sma:assmntUnitEditXhtmlTransf xmlns:sma="kelis.fr:scenari/modeling/assessment" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns="http://www.w3.org/1999/xhtml" info="Effacer la session eval">
2
	<sm:model sc:refUri="/academic/model/Uc/quiz/field.model"/>
3
	<sm:axis code="reset"/>
4
	<sm:scenario>
5
		<sm:sequence>
6
			<sm:initBody>
7
				<sm:elementDisplay refId="input" mode="collapsed"/>
8
			</sm:initBody>
9
		</sm:sequence>
10
	</sm:scenario>
11
	<sm:publicFunctions>
12
		<sm:function fctName="reset">
13
			<sm:setCompletionStatus status="notAttempt">
14
				<sm:responseSessionKey>
15
					<sm:fixedKey value="eval"/>
16
				</sm:responseSessionKey>
17
			</sm:setCompletionStatus>
18
			<sm:resetSession response="yes" score="yes">
19
				<sm:sessionKey>
20
					<sm:fixedKey value="eval"/>
21
				</sm:sessionKey>
22
			</sm:resetSession>
23
		</sm:function>
24
	</sm:publicFunctions>
25
	<sm:assmntBody>
26
		<!--besoin de d├ęclarer une zone Input pour que le resetSession fonctionne correctement-->
27
		<div sm:id="input">
28
			<sm:WInputZone>
29
				<sm:singleField>
30
					<sm:forStringField codes="asw">
31
						<sm:WInputText/>
32
					</sm:forStringField>
33
				</sm:singleField>
34
			</sm:WInputZone>
35
		</div>
36
	</sm:assmntBody>
38 37
</sma:assmntUnitEditXhtmlTransf>

Also available in: Unified diff