Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Maxim Mossienko
Subsystem
J2EE.Seam
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Stephen Friedrich
    4 years ago (13 Oct 2007 03:13)
  • Updated by   root
    2 years ago (17 Jan 2010 20:54)
  • Jira: IDEADEV-23078
    (history, comments)
 
IDEA-41497 Seam builtin components are not resolved in JSF EL
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
This is a regression of IDEA-34475
Idea no longer recognizes Seam's builtin componentes.
See screenshot for an example.


Issue was resolved
Comments (14)
 
History
 
Linked Issues (?)
 
Maxim Mossienko
  Maxim Mossienko
14 Oct 2007 15:04
4 years ago
My bet you changed used Seam component implementation
Stephen Friedrich
  Stephen Friedrich
15 Oct 2007 01:28
4 years ago
Can't say for sure. Currently I am using 1.2.1 - maybe it was a 1.0.x version before.

Another app (well, prototype) uses Seam 2.0 and it isn't working there, either. I learned that they made a lot of changes in how component names are resolved (adding an "import"feature to alias full component names with shortedned ones IIRC).

So currently it is working neither in the latest stable release nor in the release candidate :-(
Maxim Mossienko
  Maxim Mossienko
08 Nov 2007 00:26
4 years ago
I believe this is still valid problem, isn't it?
Stephen Friedrich
  Stephen Friedrich
08 Nov 2007 00:36
4 years ago
Yes, still does not work in 7531.
Maxim Mossienko
  Maxim Mossienko
08 Nov 2007 00:38
4 years ago
Could you please give example / point to Seam example code that does not work.
Stephen Friedrich
  Stephen Friedrich
08 Nov 2007 00:46
4 years ago
It's been a long time since I configured Idea projects for the Seam examples.
A quick scan shows that login.xhtml in blog example and login.jsp in issues example use the #{identity} component.
Idea fails to resolve that reference (same for other builtin components) - at least in my current app (which got started as a copy of the seamdiscs example).
Kenneth Christensen
  Kenneth Christensen
13 Dec 2007 00:17
4 years ago
Hmm..... still doesn't work for me :-(

And what about supporting Seam's expression language enhancements?

http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/elenhancements.html

BTW: I'm using IDEA 7.0.2 and Seam 2.0.0.GA.
Maxim Mossienko
  Maxim Mossienko
13 Dec 2007 00:31
4 years ago
IDEA supports method calls in EL but flags as nonstandard EL (you can switch the inspection off),
as to 'localeSelector' being unresolved I will look for it (will be grateful if you report up with other unresolved el variables)
Stephen Friedrich
  Stephen Friedrich
13 Dec 2007 00:39
4 years ago
Works for me with Seam 1.2.1.
But the way short component names are defined has changed significantly in Seam 2.
See http://jira.jboss.com/jira/browse/JBSEAM-1693

BTW: Are you targeting both 1.2.1 and 2.x with the planned Seam improvements?
Maxim Mossienko
  Maxim Mossienko
13 Dec 2007 00:42
4 years ago
Both
Maxim Mossienko
  Maxim Mossienko
13 Dec 2007 22:17
4 years ago
added recognition of localeSelector in 7.0.3 eap
Kenneth Christensen
  Kenneth Christensen
11 Jan 2008 23:53
4 years ago
IDEA build 7626.
Seam 2.0.1.CR1

Still doesn't work for me. localeSelector is recognized but I can't choose a method - it says 'no suggestions'.
identity works fine.

IDEA handles #{org$jboss$seam$international$localeSelector.locale} correctly, but this of course doesn't work for facelets.
Same pattern (error !) for other builtin components.

Anything that I'm doing wrong (e.g. IDEA settings)?
Kenneth Christensen
  Kenneth Christensen
18 Jan 2008 21:17
4 years ago
Okay..... Seam Identity component is not recognized 100% by IDEA - see identity-missing-logout.jpg

and

IDEA also have problems with custom components - see custom-bean.jpg and custom-jsf.jpg

---

I have also a problem with IDEA 'suggestions' when I have multiple projects open - IDEA 'suggestions' box shows components and resource bundles
from other projects when Im editing one of the open projects - very annoying.
Kenneth Christensen
  Kenneth Christensen
21 Jan 2008 18:01
4 years ago
Any response?

Or should I create a new issue?