Hi there,
So right now I have two classes linked via
.withAction(Scene1Controller.class, "next", new FlowActionChain(new FlowMethodAction("searchAction"), new FlowLink<Scene2Controller>(Scene2Controller.class)))
which works fine as it runs the @ActionMethod("searchAction") defined in Scene1Controller then moves into the next flow when I click the "next" button defined with ActionTrigger as per the tutorials.
Lets say Scene1 has 4 radio buttons: Location1 Location2 Location3 Location4
What I want to do is I want to choose where my "next" button takes me depending on which radio button is selected.
for example:
if(Location1.isSelected){ flow.takemeto(Scene1.class)}
if(Location2.isSelected){ flow.takemeto(Scene2.class)}
if(Location3.isSelected){ flow.takemeto(Scene3.class)}
if(Location4.isSelected){ flow.takemeto(Scene4.class)}
Something like above I was wondering if this is possible?
I am guessing I have to use handlers or something I'm not sure. I am sort of coding in the dark here with DataFX....