01: /*
02: * Copyright 2003 Geert Bevin <gbevin@uwyn.com>
03: * $Id: NullConditional.java 3308 2006-06-15 18:54:14Z gbevin $
04: */
05: package com.uwyn.rife.engine.testelements.continuations;
06:
07: import com.uwyn.rife.engine.Element;
08:
09: public class NullConditional extends Element {
10: public void processElement() {
11: String value = null;
12: if (hasInputValue("value")) {
13: value = getInput("value");
14: }
15:
16: print(value);
17: print(getContinuationId());
18: pause();
19:
20: print(value);
21: }
22: }
|