[richfaces-issues] [JBoss JIRA] (RF-12028) a4j:outputPanel - Error message enhancement
Jean ANDRE (JIRA)
jira-events at lists.jboss.org
Wed Mar 7 16:25:37 EST 2012
[ https://issues.jboss.org/browse/RF-12028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean ANDRE updated RF-12028:
----------------------------
Description:
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}
was:
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 neither pinpoint the bad attribute. 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}
> 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
>
> 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}
--
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
More information about the richfaces-issues
mailing list