Geert,

The method ElementSupport.getInput(String name, String defaultValue) throws an
rife.engine.exceptions.InputUnknownException when no "name" input exists.

The test on null input is never used.

Proposition:

   public String getInput(String name, String defaultValue)
   throws EngineException
   {
       try {
           return getInput(name);
       }
       catch (InputUnknownException iue){
           return defaultValue;
       }
   }


Regards

Pierre


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to