|
|
Re: Unknown Tag [message #475329 is a reply to message #475193] |
Mon, 19 November 2007 14:37 |
Eclipse User |
|
|
|
Originally posted by: jack.foster11.gmail.com
Thanks for your reply Gerry.
Gerry Kessler wrote:
> The most likely scenario is that the JSF tag libraries are not on the
> classpath. This can be confirmed if you do not see JSF Core and JSF
> HTML categories in the Web Page Editor palette. The palette will
> display a category for each tag library located on the project classpath.
Turns out that I do see both JSF Core and JSF HTML categories in the WPE.
> Chances are you need to revisit the step of creating a JSF Library and
> adding it as a reference to the web project. These steps can be done
> by visiting the Java Build Path property page for the project and
> defining and adding the JSF library with the necessary sets of jars.
> You may also need to visit the J2EE Module Dependencies property page to
> set the library/libraries to for deployment if these sets of jars are
> not available on the server shared classpath.
In looking at both of these properties, JSF libraries exist in both.
Any more ideas?
Jack
|
|
|
|
Re: Unknown Tag [message #475334 is a reply to message #475331] |
Mon, 19 November 2007 19:35 |
Eclipse User |
|
|
|
Originally posted by: jack.foster11.gmail.com
Hi again,
Gerry Kessler wrote:
> If you are seeing the JSF palette categories, then it appears that your
> project classpath is set up correctly. Although I am pretty confident
> that you will see them, can you verify that the JSF libaries are
> appearing in the project navigator?
> The JSP page tag library validation and the tag content assist is
> provided by the SSE editor team. Unfortunately I am going to need to
> ask you to post your problem on eclipse.webtools newsgroup unless
> someone from the SSE team is monitoring this thread.
After playing around with the libraries, doing a clean build it seems to
work fine now! I am very happy. Thanks for you help Gerry! I look
forward to playing with this.
Jack
|
|
|
Re: Unknown Tag [message #475341 is a reply to message #475334] |
Thu, 29 November 2007 06:24 |
|
Jack Foster wrote:
> Gerry Kessler wrote:
>> If you are seeing the JSF palette categories, then it appears that
>> your project classpath is set up correctly. Although I am pretty
>> confident that you will see them, can you verify that the JSF libaries
>> are appearing in the project navigator? The JSP page tag library
>> validation and the tag content assist is provided by the SSE editor
>> team. Unfortunately I am going to need to ask you to post your
>> problem on eclipse.webtools newsgroup unless someone from the SSE team
>> is monitoring this thread.
>
> After playing around with the libraries, doing a clean build it seems to
> work fine now! I am very happy. Thanks for you help Gerry! I look
> forward to playing with this.
I suspect you ran afoul of bug 174513 and that the Error messages
were from the JSP validator at a time when the JSF libraries were
not yet on the build path. Although the JSP editor (and possibly
the Web Page Editor) would notice their addition almost immediately,
re-validation of your existing JSPs doesn't get triggered automatically.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=174513
Good to hear you're past it, though.
--
Nitin Dahyabhai
WTP Source Editing
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
Re: Unknown Tag [message #615711 is a reply to message #475193] |
Mon, 19 November 2007 14:37 |
Eclipse User |
|
|
|
Originally posted by: jack.foster11.gmail.com
Thanks for your reply Gerry.
Gerry Kessler wrote:
> The most likely scenario is that the JSF tag libraries are not on the
> classpath. This can be confirmed if you do not see JSF Core and JSF
> HTML categories in the Web Page Editor palette. The palette will
> display a category for each tag library located on the project classpath.
Turns out that I do see both JSF Core and JSF HTML categories in the WPE.
> Chances are you need to revisit the step of creating a JSF Library and
> adding it as a reference to the web project. These steps can be done
> by visiting the Java Build Path property page for the project and
> defining and adding the JSF library with the necessary sets of jars.
> You may also need to visit the J2EE Module Dependencies property page to
> set the library/libraries to for deployment if these sets of jars are
> not available on the server shared classpath.
In looking at both of these properties, JSF libraries exist in both.
Any more ideas?
Jack
|
|
|
|
Re: Unknown Tag [message #615721 is a reply to message #475331] |
Mon, 19 November 2007 19:35 |
Eclipse User |
|
|
|
Originally posted by: jack.foster11.gmail.com
Hi again,
Gerry Kessler wrote:
> If you are seeing the JSF palette categories, then it appears that your
> project classpath is set up correctly. Although I am pretty confident
> that you will see them, can you verify that the JSF libaries are
> appearing in the project navigator?
> The JSP page tag library validation and the tag content assist is
> provided by the SSE editor team. Unfortunately I am going to need to
> ask you to post your problem on eclipse.webtools newsgroup unless
> someone from the SSE team is monitoring this thread.
After playing around with the libraries, doing a clean build it seems to
work fine now! I am very happy. Thanks for you help Gerry! I look
forward to playing with this.
Jack
|
|
|
Re: Unknown Tag [message #615734 is a reply to message #475334] |
Thu, 29 November 2007 06:24 |
|
Jack Foster wrote:
> Gerry Kessler wrote:
>> If you are seeing the JSF palette categories, then it appears that
>> your project classpath is set up correctly. Although I am pretty
>> confident that you will see them, can you verify that the JSF libaries
>> are appearing in the project navigator? The JSP page tag library
>> validation and the tag content assist is provided by the SSE editor
>> team. Unfortunately I am going to need to ask you to post your
>> problem on eclipse.webtools newsgroup unless someone from the SSE team
>> is monitoring this thread.
>
> After playing around with the libraries, doing a clean build it seems to
> work fine now! I am very happy. Thanks for you help Gerry! I look
> forward to playing with this.
I suspect you ran afoul of bug 174513 and that the Error messages
were from the JSP validator at a time when the JSF libraries were
not yet on the build path. Although the JSP editor (and possibly
the Web Page Editor) would notice their addition almost immediately,
re-validation of your existing JSPs doesn't get triggered automatically.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=174513
Good to hear you're past it, though.
--
Nitin Dahyabhai
WTP Source Editing
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.04470 seconds