Project

General

Profile

root / trunk / model / sources / academic / gen / _web / transf / Uc / quiz@reset / field@reset.transf @ 1445

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>
37
</sma:assmntUnitEditXhtmlTransf>
(2-2/6)