ClientAction action = ClientActionUtils.getPrimaryClientAction(context,
node);
Parameter[] params = null;
String[] map = null;
// If there's an action, and it can render on a link, then...
if ((action != null) && (!action.renderAsEvent(context, node)))
{
// ...get the parameters from the client action, and use them
params = action.getParameters(context, node);
}