[richfaces-issues] [JBoss JIRA] Created: (RF-4979) a4j:commandLink with a4j:outputPanel AND layout=block can submited only one time if formular is reRendered

Andreas Höhmann (JIRA) jira-events at lists.jboss.org
Tue Nov 18 10:16:36 EST 2008


a4j:commandLink with a4j:outputPanel AND layout=block can submited only one time if formular is reRendered
----------------------------------------------------------------------------------------------------------

                 Key: RF-4979
                 URL: https://jira.jboss.org/jira/browse/RF-4979
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
            Reporter: Andreas Höhmann
            Priority: Critical


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j">
 
<body>

  <h:form id="form">
  
    <h2>ReRender form after submit</h2>
  
    <a4j:commandLink reRender="form">
      <a4j:outputPanel >
        <h:outputText value="click me"/>
      </a4j:outputPanel>
    </a4j:commandLink>
    
    <a4j:commandLink reRender="form">
      <a4j:outputPanel layout="block">
        <h:outputText  value="click me 2"/>
      </a4j:outputPanel>
    </a4j:commandLink>
    
    <h2>NO ReRender</h2>
    
    <a4j:commandLink>
      <a4j:outputPanel >
        <h:outputText value="click me"/>
      </a4j:outputPanel>
    </a4j:commandLink>
    
    <a4j:commandLink>
      <a4j:outputPanel layout="block">
        <h:outputText  value="click me 2"/>
      </a4j:outputPanel>
    </a4j:commandLink>
    
  </h:form>

</body>
</html>

Without reRender *all* links still be valid (submitable) links ... you can click the last two links as often as you like.
But if you use one of the first links .... then in the result-page the layout=block links no more clickable (the div is then outside the link).

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

       




More information about the richfaces-issues mailing list