4 Replies Latest reply on Mar 8, 2013 2:17 AM by ashu.itbhu

    How to access complex variable attribute in FTL(inside Human Task)

    ashu.itbhu

      I am trying to explore the option of passing/accessing a complex structure in my UI.

       

      Let's say i have employee class with attribute like

      Employee

           --->fName

           --->lName

           -->DOB

       

      Before action of Human Task

      map = new java.util.HashMap();

      map.put("somevar", somevar);

      map.put("employee", employee);

       

      Now in my FTL if i am doing ${somevar} it works well

      but if i do ${employee.fName} or

      ${employee.getFName()} it throws error

       

      Any resolution on this will be welcome

       

      Thanks

      Ashutosh