[JBoss JIRA] Created: (RF-10542) scripts aren't rendered when action return null
by wojtek k (JIRA)
scripts aren't rendered when action return null
-----------------------------------------------
Key: RF-10542
URL: https://issues.jboss.org/browse/RF-10542
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: core
Affects Versions: 4.0.0.Milestone6
Environment: Tomcat 7.0.6, myfaces-2.0.4
Reporter: wojtek k
Priority: Critical
Fix For: 4.0.0.CR1
add in web.xml
<context-param>
<param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
<param-value>false</param-value>
</context-param>
simple test.xhtml
<h:head>
</h:head>
<h:body>
<h:form>
<rich:select>
<f:selectItem itemValue="0" itemLabel="Option 1" />
<f:selectItem itemValue="1" itemLabel="Option 2" />
</rich:select>
<h:commandLink action="#{testBean.myAction}" value="myAction"/>
</h:form>
</h:body>
source code method:
public String myAction(){
System.out.println("OUTCOME ->"+ "");
return null;
}
if you click "myAction" new page is render to browser, but there isn't for example <script type="text/javascript" src="/jsf-test/javax.faces.resource/richfaces.js.xhtml"> in source of html.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months