[
https://issues.jboss.org/browse/RF-12028?page=com.atlassian.jira.plugin.s...
]
Jean ANDRE commented on RF-12028:
---------------------------------
The component involved is the <a4j:outputPanel> because the "class"
attribute does not exist for this tag. The error appears when you convert a <div>
tag to an <a4j:outputPanel> tag without replacing the "class" attribute by
the "styleClass".
a4j:outputPanel - Error message enhancement
-------------------------------------------
Key: RF-12028
URL:
https://issues.jboss.org/browse/RF-12028
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Environment: JSF / Mojarra 2.1.6 - cssparser-0.9.6 - guava-11.0.1 -
hibernate-validator-4.2.0.Final - springframework 3.0.6.RELEASE - richfaces--4.2.0.Final -
sac-1.3 - FireFox 10 - WAS 8.0.0.1 / Windows 7
Reporter: Jean ANDRE
Labels: waiting_on_user
When we set an non existing attribute on a4j:outputPanel, for eg. "class"
because we have converted a div to a a4j:outputPanel, the error message displayed at the
user interface does not inform the developer about the faulty component. The message we
got is only :
> Error 500: javax.servlet.ServletException: Setter not found for property class
This error message is not very helpful to debug.... ;)
{code}
<a4j:outputPanel id="product"
layout="block"
class="dark-box"
rendered="#{productBean.expanded eq true}">
{code}
We should have, as usual, the line of the XHTML file or the component name, the line
number, well something more accurate that really help to go faster.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira