This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 87924 - JSF API Version in 5.5
Summary: JSF API Version in 5.5
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-25 06:19 UTC by adam_schmidt
Modified: 2007-10-18 21:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adam_schmidt 2006-10-25 06:19:51 UTC
I have noticed that the version of the JSF API that ships with 5.5RC1 is a 
little buggy - I suspect that it's an older version of the API.

One problem I came across was in regards to how the h:messages tag is rendered. 
I found that when displaying the messages, the layout attribute didn't have any 
bearing on how the messages were displayed (using either "list" or "table"). 
The messages were just listed one after the other in-line.

Details of the project:
- enterprise application deploying to an instance of JBoss 4.0.4
- 1x ejb3 module
- web application with the JSF framework enabled

I found that updating the JSF 1.1 libraries (jsf-api.jar and jsf-impl.jar) in 
<nbinstall>\enterprise3\modules\ext\jsf with those found in the ZIP file 
available at https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?
folderID=5225&expandFolder=5225&folderID=5224 solved the problem after doing a 
rebuild and deploy.

Hope this helps others that are experiencing similar problems
Comment 1 Petr Pisl 2006-10-25 09:16:49 UTC
Thanks for this. Unfortunately for NetBeans 5.5 is too late. I expect that you
use Tomcat as the target server. I'm right?
Comment 2 adam_schmidt 2006-10-25 23:52:03 UTC
No problems, I'll just have to keep it in mind for anyone else that has the 
same problem. Is this the kind of thing that could be included in NB6, or will 
the JSF libraries be upgraded to 1.2 for that release?

FYI, the web container is tomcat under JBoss 4.0.4.
Comment 3 Petr Pisl 2006-10-26 09:36:35 UTC
Yes I will upgrade  JSF 1.1 into NB 6.0. This is reason, why this issue will be
still open. I don't think that NetBeans will bundle JSF 1.2 RI, because it's a
part of Java EE 5 runtime specification. So when Tomcat will Java EE 5
compatible, then will have JSF 1.2 in site like Glassfish has.
Comment 4 Petr Pisl 2007-02-15 14:24:29 UTC
There is new way how it will be solved. The NetBeans shouldn't bundled any
binary libraries, which don't have appropriate license. So we need to remove the
jsf 1.1 library and user will have to provide the library to the IDE. 
Comment 5 Jiri Prox 2007-09-17 21:39:33 UTC
Obsolete milestone, please reevaluate
Comment 6 Petr Pisl 2007-10-18 21:36:21 UTC
The problem is already fix. JSF version 1.1.02 is on the updatecenter now.