Hello everyone,
This is one thing that's been bothering me for a while; with JSP tags we
had this feature, but we lost it with Facelets. I know there are probably
lots of apps that take advantage of the ability to add random attributes in
specific cases, but most of the time it would cut down on errors if the tag
would complain about illegal attributes.
Thoughts?
___
Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. |
http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info |
@jsfcentral
+1 203-404-4848 x246
* Listen to the latest headlines in the JSF and Java EE newscast: *
http://blogs.jsfcentral.com/JSFNewscast/*
* Sign up for the JSFCentral Newsletter:
http://oi.vresp.com/?fid=ac048d0e17
---------- Forwarded message ----------
From: Uwe Seimet <Uwe.Seimet_at_seimet.de>
Date: Thu, Aug 30, 2012 at 5:33 PM
Subject: Error handling in case of illegal JSF tag attributes
To: users_at_javaserverfaces.java.net
Hi all,
I wonder if there is any way to enable a better error handling if an illegal
JSF tag attribute was specified. In this fragment (taken from a Facelet
page):
<h:panelGroup abc="xyz">
</h:panelGroup>
the attribute 'abc' is obviously illegal. Nevertheless Mojarra 2.1.x
does not report any problem. Is there any way to tell Mojarra not to
silently ignore errors like this?
Regards
Uwe
--
-----------------------------------------------------------------------
Dr. Uwe Seimet http://www.seimet.de/