I have the following problem: We developed a web project using JSF. In many facelets the init()-Method of the action class, that fills the backing bean with data, is called via
<f:metadata>
<f:event listener="#{theActionClass.init}" type="preRenderView" />
</f:metadata>
It works fine as long as you use a normal browser like firefox, chrome or even the eclipse browser. But when using a text-based browser like lynx (or using htmlUnit or wget) it seems as the init() method is not called anymore. The data the init() fills into the backing bean is not there and it is not displayed in the text-based browser (but clicking in firefox shows me the data).
For example:
<div class="layout1">#{text['somethingFromPropertyFile']}
</div>
<div class="layout2">
<h:outputText value="#{backingBean.someStringValue}" />
</div>
Using firefox displays the text from the property file as well as the content of someStringValue in the backing bean. Using a text-based browser only displays the content of the first div-box. Has anyone an idea what goes wrong here or how I can fix this so that it works with text-based browsers as well? Thanks a lot!