Hi Philippe,

here is what works for me. Essentially I followed the setup of the
adf-demo.war. 

>>>
1/ If you use ADF Faces, what taglibs do you need to declare in the web.xml?
The JSF ones only (= JSF f/h), only the Oracles ones (af/afh), or both?
<<<

All four.

>>>
2/ What libraries need to be in WEB-INF/lib?
The Oracle site says 'dependencies are JSF & some adfshare.lib'.  
Elsewhere I reed this last sharelib is no longer required.
Does this mean the jsf-api & jsf-impl -.jars need to be added?
<<<

All of them. For me, it didn't work without the adfshare.jar. 

>>>
3/ What tlds need to be added? Do the oracle api/impl-jars include the JSF
h/f *taglibs* as well?
I read somewhere they include the af- & afh- taglibs in their jars so no
need to 1/ explicitely declare them in the web.xml and 2/ add them to
WEB-INF.
Is this correct & the same for the jsf f/h taglibs?
<<<

They are included in the jars, but I did not manage to configure it right to
let them be found automatically. So I put them next to the web.xml. 

The above works, but I'm not glad with it, because some stuff shouldn't be
necessary.

Frank Felix



-----Original Message-----
From: Philippe Lamote [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 23, 2006 9:06 PM
To: MyFaces Discussion
Subject: ADF installation setup: tld, jars and web.xml woes

Hi

As I don't info any specific info on Oracle's site, nor on the MyFaces site
(for the moment at least), some questions here, I hope some people managed
to get this working already!

1/ If you use ADF Faces, what taglibs do you need to declare in the web.xml?
The JSF ones only (= JSF f/h), only the Oracles ones (af/afh), or both?

I had just this:
         <!-- Faces Core Tag Library -->
                 <taglib>
 
<taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
 
<taglib-location>/WEB-INF/tlds/jsf_core.tld</taglib-location>
                </taglib>

         <!-- Faces Html Basic Tag Library -->
                 <taglib>
                   <taglib-uri>http://java.sun.com/jsf/html</taglib-uri>
 
<taglib-location>/WEB-INF/tlds/html_basic.tld</taglib-location>
                 </taglib>              
        
  & in my pages this:
        <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<jsp:root       xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.0"
                        xmlns="http://www.w3.org/1999/xhtml";    
                        xmlns:f= "http://java.sun.com/jsf/core";
                        xmlns:h="http://java.sun.com/jsf/html";
                        xmlns:afh="http://xmlns.oracle.com/adf/faces/html";
                        xmlns:af="http://xmlns.oracle.com/adf/faces";>
   ...
                        
but then I get an exception:"Could not add one or more tag libraries."
What should I change?

2/ What libraries need to be in WEB-INF/lib?
The Oracle site says 'dependencies are JSF & some adfshare.lib'.  
Elsewhere I reed this last sharelib is no longer required.
Does this mean the jsf-api & jsf-impl -.jars need to be added?

3/ What tlds need to be added? Do the oracle api/impl-jars include the JSF
h/f *taglibs* as well?
I read somewhere they include the af- & afh- taglibs in their jars so no
need to 1/ explicitely declare them in the web.xml and 2/ add them to
WEB-INF.
Is this correct & the same for the jsf f/h taglibs?

Bye & thx,
Philippe





Reply via email to