// XXX: iterate through the body....
List whenTagList = new ArrayList();
otherwiseTag = null;
Script body = getBody();
if (body instanceof ScriptBlock) {
ScriptBlock block = (ScriptBlock) body;
for (Iterator iter = block.getScriptList().iterator(); iter.hasNext();) {
Script script = (Script) iter.next();
if (script instanceof TagScript) {
TagScript tagScript = (TagScript) script;
Tag tag = tagScript.getTag();
if (tag instanceof WhenTag) {