Further actions for trigger url action
This commit is contained in:
@@ -739,11 +739,22 @@ public class Action
|
|||||||
{
|
{
|
||||||
// has params
|
// has params
|
||||||
String[] paramPairs = parameters[4].split(Action.actionParameters2SeparatorOuter);
|
String[] paramPairs = parameters[4].split(Action.actionParameters2SeparatorOuter);
|
||||||
|
String value = "";
|
||||||
for(String pair : paramPairs)
|
for(String pair : paramPairs)
|
||||||
{
|
{
|
||||||
String[] pieces = pair.split(Action.actionParameters2SeparatorInner);
|
String[] pieces = pair.split(Action.actionParameters2SeparatorInner);
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
value = Miscellaneous.replaceVariablesInText(pieces[1], Miscellaneous.getAnyContext());
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
value = "error";
|
||||||
|
}
|
||||||
|
|
||||||
if(pieces.length == 2)
|
if(pieces.length == 2)
|
||||||
httpParams.put(pieces[0], pieces[1]);
|
httpParams.put(pieces[0], value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user