Flow from button in DataFX list

61 views
Skip to first unread message

Robert Ross

unread,
Mar 16, 2014, 10:09:54 AM3/16/14
to dataf...@googlegroups.com
All the examples I see for combining DataFX table bindings with Flow shows a list item being selected and then a single button action (for example "edit") using the index of the selected item.  However, what if you want a scenario where each list item has its own button with actions?  In this situation, I'm not sure how to bind the Flow to the buttons when there are multiple buttons that might be created programmatically and not declaratively in the FXML.  Is this even possible?

Hendrik Ebbers

unread,
Mar 17, 2014, 11:57:38 AM3/17/14
to dataf...@googlegroups.com
Hi,
yes it is possible. But there is no annotation support to do this. In this case a event handler must be added to the button in code. In the event handler FlowHandler.handle(("myActionId")); can be called.
Reply all
Reply to author
Forward
0 new messages