Created
June 24, 2013 12:11
-
-
Save janernsting/5849613 to your computer and use it in GitHub Desktop.
avoiding JSF validation
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
<h:inputText id="pzn" value="#{createDrug.drug.pzn}"> | |
<f:ajax listener="#{createDrug.pznChanged}" render="name" /> | |
</h:inputText> |
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 void pznChanged() { | |
// set dummy value for name | |
drug.setName("drug"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment