public static String ph1_dataIn_echo(String dataInName, String part) {
return "dataIn('" + dataInName + "', '" + part + "')";
}
public static String ph3_dataIn(String dataInName, String part) {
ELEvaluator eval = ELEvaluator.getCurrent();
String uristr = (String) eval.getVariable(".datain." + dataInName);
//optional input
if (uristr == null) {
Element dsEle = getDSElement(eval, dataInName);
Configuration conf = new Configuration();
SyncCoordAction appInst = (SyncCoordAction) eval.getVariable(CoordELFunctions.COORD_ACTION);
try {
ELEvaluator instEval = CoordELEvaluator.createInstancesELEvaluator(dsEle, appInst, conf);
StringBuilder instances = new StringBuilder();
CoordCommandUtils.resolveInstanceRange(dsEle, instances , appInst, conf, instEval);
uristr = CoordCommandUtils.createEarlyURIs(dsEle, instances.toString(),
new StringBuilder(), new StringBuilder());
uristr = uristr.replace(CoordELFunctions.INSTANCE_SEPARATOR, ",");