[richfaces-issues] [JBoss JIRA] Created: (RF-3087) rerender to rich:modalPanel not work

fang tianying (JIRA) jira-events at lists.jboss.org
Wed Apr 16 08:01:54 EDT 2008


rerender to rich:modalPanel not work
------------------------------------

                 Key: RF-3087
                 URL: http://jira.jboss.com/jira/browse/RF-3087
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0
         Environment: ie6.0
jboss4.2.1
            Reporter: fang tianying
            Priority: Critical


jsf page:

<html xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" 
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j" 
	xmlns:rich="http://richfaces.org/rich">
	
    <rich:modalPanel id="panel" width="350" height="100" showWhenRendered="#{TESTBEAN.showModule}">
        <f:facet name="header">
			<h:panelGroup>
                <h:outputText value="Ha, get u!"></h:outputText>
            </h:panelGroup>
        </f:facet>

		<br/>
		<h:form>
			<a4j:commandButton action="#{TESTBEAN.action}" value="Yes,u got me." rerender="panel"/>
		</h:form>
    </rich:modalPanel>
  </html>


back bean (session scope):
public class TestBean {
	private boolean showModule = true;

	public boolean isShowModule() {
		return showModule;
	}

	public void setShowModule(boolean showModule) {
		this.showModule = showModule;
	}

	public String action() {
		showModule = false;
		return "";
	}
}



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list