Set inputNames = getInputNames();
Iterator inputNamesIterator = inputNames.iterator();
IActionParameter actionParameter;
List variables;
Iterator variablesIterator;
ActionParameterSource variable;
String sourceName;
String sourceValue;
Object variableValue = null;
IParameterProvider parameterProvider;
while ( inputNamesIterator.hasNext() ) {
variableValue = null;
String inputName = (String) inputNamesIterator.next();
actionParameter = paramManager.getCurrentInput( inputName );
if ( actionParameter == null ) {
throw new UnresolvedParameterException( Messages.getInstance().getErrorString(
"RuntimeContext.ERROR_0031_INPUT_NOT_FOUND", inputName ), //$NON-NLS-1$
session.getName(), instanceId, getActionSequence().getSequenceName(), null );
}
variables = actionParameter.getVariables();
variablesIterator = variables.iterator();
while ( variablesIterator.hasNext() ) {
variable = (ActionParameterSource) variablesIterator.next();
sourceName = variable.getSourceName();
sourceValue = variable.getValue();
variableValue = null;
// TODO support accessing the ancestors of the current instance,
// e.g. runtme.parent
if ( "runtime".equals( sourceName ) ) { //$NON-NLS-1$
// first check the standard variables