|
|
|
[
Permlink
| « Hide
]
Maxim Mossienko - 14 Oct 07 14:04
My bet you changed used Seam component implementation
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 I believe this is still valid problem, isn't it?
Could you please give example / point to Seam example code that does not work.
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). 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. 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) 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? added recognition of localeSelector in 7.0.3 eap
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'. IDEA handles #{org$jboss$seam$international$localeSelector.locale} correctly, but this of course doesn't work for facelets. Anything that I'm doing wrong (e.g. IDEA settings)? 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 Any response?
Or should I create a new issue? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||