Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom BreadCrumb Component

 
Shasi Mitra
Ranch Hand
Posts: 101
Flex Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a scenario where in i have to initiate nested method binding, ie

<t:datatable value="listOfSomething" var="item">
<h:commandLink action="#{item.getactionpath}"/>
</t:datatable>

As you can see the each item is having a method "getactionpath".
The "getactionpath" internally returns the method binding to some other managed bean (expression language), ie "getactionpath" could
return "#{customer.loadActSummary}"

Thus my commandlink should actually invoke the action on my "customer" object.

Is it possible to provide some custom method implementation to handle this scenario?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use t:dataList instead of t:dataTable, it will work.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic