[jboss-user] [jBPM] - How to access complex variable attribute in FTL(inside Human Task)

Ashutosh Kumar do-not-reply at jboss.com
Wed Feb 13 00:57:55 EST 2013


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130213/f84f356b/attachment.html 


More information about the jboss-user mailing list