Ashutosh Kumar
2013-02-13 05:57:55 UTC
Ashutosh Kumar [https://community.jboss.org/people/ashu.itbhu] created the discussion
"How to access complex variable attribute in FTL(inside Human Task)"
To view the discussion, visit: https://community.jboss.org/message/797375#797375
--------------------------------------------------------------
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
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/797375#797375]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
"How to access complex variable attribute in FTL(inside Human Task)"
To view the discussion, visit: https://community.jboss.org/message/797375#797375
--------------------------------------------------------------
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
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/797375#797375]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]