File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Again javax.el.PropertyNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Again javax.el.PropertyNotFoundException" Watch "Again javax.el.PropertyNotFoundException" New topic

Again javax.el.PropertyNotFoundException

Andrey Nikitin

Joined: Dec 29, 2011
Posts: 4
Help please to understand my problem :
Why JBoss does not see property if it is there ?

I have "common" template file xhtml which contain :

also i have commonLoginForm.xhtml

and main login.xhtml

and i have

I run these on JBoss 7.1.0-CR1 why such problem is happend ?
Andrey Nikitin

Joined: Dec 29, 2011
Posts: 4
Are anybody alive HERE ?
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

I know nothing about JSF, but if you're looking for an answer, let me just say that I wouldn't put that newline character in the middle of the #{user.username} attribute like that.
Louis Bros
Ranch Hand

Joined: Jun 03, 2011
Posts: 54

I tried the relevant parts in tomcat and it worked for me.

Andrey Nikitin

Joined: Dec 29, 2011
Posts: 4
It is strange for me, but i have changed @ManagedBeen -> @Named (CDI)
and i have changed @SessionScoped as javax.enterprise.context.SessionScoped
and MyClass implements Serializable (it is need for CDI)
and problem pass away.
I agree. Here's the link:
subject: Again javax.el.PropertyNotFoundException
It's not a secret anymore!