AnsweredAssumed Answered

cast on EL is possible?

Question asked by luisalves00 on Apr 19, 2011
Latest reply on Apr 20, 2011 by jbarrez
activiti:assignee="${authRequest.colaborador.idColaborador}"

idColaborador is java Long

so I get java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String

how to cast if possible?

my solution is to  cast on java:  variableMap.put("assignee", String.valueOf(pa.getColaborador().getIdColaborador()));

Outcomes