]
Nick Belaevski resolved RF-4979.
--------------------------------
Resolution: Won't Fix
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
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: