How to pass template text to bean from the JSF page -
i have check box has long description. want pass description in email if user selected check box. i don't want write same description in end bean , jsf page. instead want pass front end description bean. how can in jsf <h:selectbooleancheckbox value="#{contactusbean.subscribenewsletter}" /> receive news letters company abc......... and long lengthy description need pass bean. put span around want grab id. on form submission grab content javascript , put in hidden input field , in bean. or, know, write in bean or bundle , grab there. to grab bundle file: create package named "strings" or whatever want call it. create file named "strings.properties". in write content : content=bla bla bla. then grab file such: private final static string bundle_basename = "resources.strings.strings"; private resourcebundle bundle = resourcebundle.getbundle(bundle_basename, facescontext.getcurrentinstance().getview...