[richfaces-issues] [JBoss JIRA] Updated: (RF-10542) scripts aren't rendered when action return null
Jay Balunas (JIRA)
jira-events at lists.jboss.org
Wed Feb 16 21:18:13 EST 2011
[ https://issues.jboss.org/browse/RF-10542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jay Balunas updated RF-10542:
-----------------------------
Fix Version/s: (was: 4.0.0.CR1)
> 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
>
> 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: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list