Can anyone tell me how does a Java method get called by a JSF component? Is it the same as calling a Javascript function with a Managed Bean serving as my “JSON”/Model?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
(Apart from finding a serious misrepresentation of C monsters’ and their habitation present in the wrong social public area with all its Asperger disorder)
Were you talking about …
net.sf.json.util.JSONBuilder; and converting a bean to JSON
GSON library and API made by google
Java methods are called inside JSF pages by standard JSP/JSF page language syntax called “EL” “Expression Language”.
JSF is a particular specialist “Java server framework”, its syntax is quite similar to the JSP type of EL but the two have a small difference int their initial notation symbol.
In jsp it starts with “$” in JSF it start with “#”.
If you are using a Java EE server then it would be the same.