Created
May 28, 2012 15:24
-
-
Save donatasnicequestion/2819728 to your computer and use it in GitHub Desktop.
Sample implementation of ADF flow controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SampleFlowController { | |
private String sampleValue; | |
/* The method is aimed to show, that the same instance | |
* of controller is used, regardless of a way it gets consumed - | |
* as a data control or managed bean. | |
* */ | |
public void doSomethingUseful() { | |
sampleValue = sampleValue.toUpperCase(); | |
System.out.println("Something useful performed on testSampleValue:" + sampleValue); | |
} | |
public void setSampleValue(String testSampleValue) { | |
this.sampleValue = testSampleValue; | |
} | |
public String getSampleValue() { | |
return sampleValue; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment