Might be permitted due to security reasons? Just a guess...
LieGrue, strub ----- Original Message ----- > From: Milo van der Zee <m...@vanderzee.org> > To: users@myfaces.apache.org > Cc: > Sent: Saturday, March 10, 2012 8:12 AM > Subject: Re: JSF 1.2: #{object.class.name} not allowed > > Strange that you get that error in JSF1.2. I only started getting it in > JSF2.1. There I could replace the .class with .getClass() and all was > fine again :) > > I agree that it is rather odd. I'm looking forward to the reason > 'why' > that some of the experts here might now :) > > MAG, > Milo > > > On Fri, 2012-03-09 at 18:11 -0500, Mike Kienenberger wrote: >> I got this error earlier today. >> >> /pages/notAuthorized.xhtml @42,172 value=" to access page >> '#{page.unauthorizedPage.class.name}'" The identifier [class] > is not a >> valid Java identifier as required by section 1.19 of the EL >> specification (Identifier ::= Java language identifier). This check >> can be disabled by setting the system property >> org.apache.el.parser.SKIP_IDENTIFIER_CHECK to true. >> >> It seems rather odd to me that ".class" is not an allowed EL >> expression component since Object obviously implements getClass(). >> >