Use from value from backing bean in javascript
- by AlfonsSocken
What I want is to use a boolean value from applicationContext.xml (Jboss configuration file) in my javascript.
Currently I use Spring to inject a value configured in applicationContext.xml into my backingbean.
Then I put an output text in my jsp like this
<h:outputText id="idValue" styleClass="foo" value="" rendered="#{bean.isRendered}"/>
…