[
https://jira.jboss.org/jira/browse/RF-4979?page=com.atlassian.jira.plugin...
]
Nick Belaevski commented on RF-4979:
------------------------------------
Andreas,
block elements (DIVs) cannot be nested inside inline ones (A) so Tidy parser fixes this
invalid markup.
Either change markup or use:
<context-param>
<param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
<param-value>NEKO</param-value>
</context-param>
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: Nick Belaevski
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