History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-23078
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Stephen Friedrich
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Seam builtin components are not resolved in JSF EL

Created: 13 Oct 07 02:13   Updated: 21 Jan 08 17:01
Component/s: J2EE.Seam
Fix Version/s: Selena 7.0.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. custom-bean.jpg
(158 kb)

2. custom-jsf.jpg
(71 kb)

3. identity-missing-logout.jpg
(51 kb)

4. identity.png
(9 kb)

5. localeselector-with-arg.jpg
(20 kb)

6. localeselector.jpg
(11 kb)

Build: 7,348
Fixed in build: 7,540


 Description  « Hide
This is a regression of IDEADEV-10386
Idea no longer recognizes Seam's builtin componentes.
See screenshot for an example.

 All   Comments   Work Log   Change History      Sort Order:
Maxim Mossienko - 14 Oct 07 14:04
My bet you changed used Seam component implementation

Stephen Friedrich - 15 Oct 07 00:28
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 - 07 Nov 07 23:26
I believe this is still valid problem, isn't it?

Stephen Friedrich - 07 Nov 07 23:36
Yes, still does not work in 7531.

Maxim Mossienko - 07 Nov 07 23:38
Could you please give example / point to Seam example code that does not work.

Stephen Friedrich - 07 Nov 07 23:46
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 - 12 Dec 07 23:17
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 - 12 Dec 07 23:31
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 - 12 Dec 07 23:39
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 - 12 Dec 07 23:42
Both

Maxim Mossienko - 13 Dec 07 21:17
added recognition of localeSelector in 7.0.3 eap

Kenneth Christensen - 11 Jan 08 22:53
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 - 18 Jan 08 20:17
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 - 21 Jan 08 17:01
Any response?

Or should I create a new issue?