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

Tsikhon Kuprevich (JIRA) jira-events at lists.jboss.org
Fri Dec 12 09:54:48 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-4979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsikhon Kuprevich closed RF-4979.
---------------------------------



> 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
>          Components: planning_all
>    Affects Versions: 3.2.2
>            Reporter: Andreas Höhmann
>            Assignee: Tsikhon Kuprevich
>            Priority: Critical
>             Fix For: 3.3.0
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> <!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