]
Nick Belaevski commented on RF-10542:
-------------------------------------
Np, if that is MyFaces bug I'll repost it to their issue tracker.
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
Assignee: Nick Belaevski
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 rendered to browser, but there isn't
for example <script type="text/javascript"
src="/jsf-test/javax.faces.resource/richfaces.js.xhtml"> in html source
--
This message is automatically generated by JIRA.
For more information on JIRA, see: