Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [wtp-jsf-dev] JSF TLD in XML

Just a couple sanity check things:

1) Is Help->Software Updates->Manage Configuration dialog, with the "Show Disabled Features" enabled, do any of your features show errors or disablement?

1a) Nothing disabled and no errors.  I disabled and the enabled Creole just to make sure.

2) Are all jars for your taglibs (at least three I can see needed) showing up in your Package Explorer as J2EE module dependencies for your web project?

2a) Yes, but the look like they have a little "Warning" icon (yellow triangle, with a !) on top to the jar. 

Also, under Window->Preferences->Web and XML->JSF Libraries I've added the myfaces-impl-1.1.5 and myfaces-api-1.1.5 as the JSF Implementation - one for Tomahawk - one for common.

3) Have you attempted to do a clean build?
3a) Yep.

4) Have you imported the project in question or is it new?  If imported, have you tried a new one?
4a) New.


--Cam


Ruffin, John wrote:

>Prefix h, f, t, s, a4j
>...
>xmlns:f="http://java.sun.com/jsf/core"

>
>> xmlns:h="http://java.sun.com/jsf/html"
>> xmlns:jsp="http://java.sun.com/JSP/Page"
>> xmlns:t="http://myfaces.apache.org/tomahawk"
>> xmlns:s="http://myfaces.apache.org/sandbox"
>> xmlns:a4j="https://ajax4jsf.dev.java.net/ajax">
>>   
>>
>
>-----Original Message-----
>From: wtp-jsf-dev-bounces@xxxxxxxxxxx
>[mailto:wtp-jsf-dev-bounces@xxxxxxxxxxx] On Behalf Of Cameron Bateman
>Sent: Wednesday, October 18, 2006 4:16 PM
>To: Java Server Faces Tools developer discussion
>Subject: Re: [wtp-jsf-dev] JSF TLD in XML
>
>Hi John,
>
>Which tld is raising the error?
>
>--Cam
>
>
>Ruffin, John wrote:
>

>
>>I recently downloaded 3.2 (via Yoxos)...
>>
>>In a simple jsp, I don't understand why the TLD is not discovered in
>>the myFaces jars - which are on the classpath.  In 3.1 this works.
>>
>>This gives me the TLD not found error:
>>
>> <?xml version="1.0" encoding="UTF-8"?> <jsp:root version="2.0"
>> xmlns:f="http://java.sun.com/jsf/core"
>> xmlns:h="http://java.sun.com/jsf/html"
>> xmlns:jsp="http://java.sun.com/JSP/Page"
>> xmlns:t="http://myfaces.apache.org/tomahawk"
>> xmlns:s="http://myfaces.apache.org/sandbox"
>> xmlns:a4j="https://ajax4jsf.dev.java.net/ajax">
>> <jsp:directive.page contentType="text/html;charset=UTF-8"
>>  pageEncoding="UTF-8" />
>> <jsp:directive.page isELIgnored="false" />
>>
>><f:view>
>><f:verbatim>12345</f:verbatim>
>></f:view>
>></jsp:root>
>>
>>I'm using 2.4 in the web.xml:
>>
>>
>><?xml version="1.0" encoding="UTF-8"?>
>>
>><web-app xmlns="http://java.sun.com/xml/ns/j2ee"
>>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
>>http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
>>
>><display-name>Testing</display-name>
>><servlet>
>><servlet-name>Faces Servlet</servlet-name>
>><servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>><load-on-startup>1</load-on-startup>
>></servlet>
>>
>><servlet-mapping>
>><servlet-name>Faces Servlet</servlet-name>
>><url-pattern>*.faces</url-pattern>
>></servlet-mapping>
>>
>><welcome-file-list>
>><welcome-file>index.html</welcome-file>
>></welcome-file-list>
>>
>></web-app>
>>
>>
>>This email and its attachments are confidential, subject to copyright
>>and may be legally privileged. If they have come to you in error you
>>should take no action based upon the contents nor should you copy or
>>show them to anyone. Please delete the email and its attachments and
>>inform admin@xxxxxxxxxxx. Any views or opinions expressed are those of
>>   
>>
>

>
>>the author and do not necessarily represent those of ACH Food
>>Companies, Inc.
>>
>>Security: Internet email is not a completely secure medium, please
>>note this when considering the content of your message.
>>
>>Viruses: We take precautions to ensure email is free of viruses but
>>cannot make a guarantee. Accordingly we advise scanning all email and
>>attachments.
>>
>>-----------------------------------------------------------------------
>>-
>>
>>_______________________________________________
>>wtp-jsf-dev mailing list
>>wtp-jsf-dev@xxxxxxxxxxx
>>https://dev.eclipse.org/mailman/listinfo/wtp-jsf-dev
>>
>>
>>   
>>
>
>_______________________________________________
>wtp-jsf-dev mailing list
>wtp-jsf-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/wtp-jsf-dev
>
>This email and its attachments are confidential, subject to copyright and may be legally privileged. If they have come to you in error you should take no action based upon the contents nor should you copy or show them to anyone. Please delete the email and its attachments and inform admin@xxxxxxxxxxx. Any views or opinions expressed are those of the author and do not necessarily represent those of ACH Food Companies, Inc.
>
>Security: Internet email is not a completely secure medium, please note this when considering the content of your message.
>
>Viruses: We take precautions to ensure email is free of viruses but cannot make a guarantee. Accordingly we advise scanning all email and attachments.
>_______________________________________________
>wtp-jsf-dev mailing list
>wtp-jsf-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/wtp-jsf-dev

>

_______________________________________________
wtp-jsf-dev mailing list
wtp-jsf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-jsf-dev


Back to the top