RE: ADF Faces/Trinidad Shale?

2006-10-23 Thread Anthony Yulo
Hi.

I used the cleaned-up version of web.xml.  But Im still getting the same
error: 

No AdfRenderingContext



-Original Message-
From: Simon Lessard [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 20, 2006 9:53 PM
To: adffaces-dev@incubator.apache.org
Subject: Re: ADF Faces/Trinidad  Shale?

See my commentsi n the XML code.


Regards

?xml version = '1.0' encoding = 'windows-1252'?
web-app 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 xmlns=http://java.sun.com/xml/ns/j2ee;

!-- General settings --
descriptionEmpty web.xml file for Web Application/description

session-config
session-timeout10/session-timeout
/session-config

mime-mapping
extensionhtml/extension
mime-typetext/html/mime-type
/mime-mapping

mime-mapping
extensiontxt/extension
mime-typetext/plain/mime-type
/mime-mapping

welcome-file-list
welcome-file/faces/pages/welcome.jsp/welcome-file
/welcome-file-list


!-- Commons Chain entrie --
!-- Commons Chain Configuration Listener --
context-param
param-nameorg.apache.commons.chain.CONFIG_WEB_RESOURCE
/param-name
param-value/WEB-INF/chain-config.xml/param-value
/context-param

 listener
listener-classorg.apache.commons.chain.web.ChainListener
/listener-class
/listener


!-- JSF entrie --
context-param
param-namejavax.faces.STATE_SAVING_METHOD/param-name
param-valueclient/param-value
/context-param

servlet
servlet-nameFaces Servlet/servlet-name
servlet-classjavax.faces.webapp.FacesServlet/servlet-class
load-on-startup1/load-on-startup
/servlet

servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern/faces/*/url-pattern
/servlet-mapping

!-- You really don't want to miss anycall do you?
 That might cause a problem, not sure. Personally I would flush
 this part--
!-- servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern*.faces/url-pattern
/servlet-mapping --


!-- ADF Faces entrie --
servlet
servlet-nameresources/servlet-name
servlet-classoracle.adf.view.faces.webapp.ResourceServlet
/servlet-class
/servlet

servlet-mapping
servlet-nameresources/servlet-name
url-pattern/adf/*/url-pattern
/servlet-mapping

filter
filter-nameadfFaces/filter-name
filter-classoracle.adf.view.faces.webapp.AdfFacesFilter
/filter-class
/filter

!-- That's the correct mapping --
filter-mapping
filter-nameadfFaces/filter-name
servlet-nameFaces Servlet/servlet-name
/filter-mapping

!-- There's no servlet named *.jsp --
!-- filter-mapping
filter-nameadfFaces/filter-name
servlet-name*.jsp/servlet-name
/filter-mapping --

!-- You should just place the filter on the servlet really. --
!-- filter-mapping
filter-nameadfFaces/filter-name
url-pattern*.jspx/url-pattern
/filter-mapping --


!-- ADF Databinding entries --

context-param
param-nameCpxFileName/param-name
param-valueorg.clarke.pagedefs.DataBindings/param-value
/context-param

filter
filter-nameadfBindings/filter-name
filter-classoracle.adf.model.servlet.ADFBindingFilter
/filter-class
/filter

!-- You were missing the mapping for ADF Databings --
filter-mapping
filter-nameadfBindings/filter-name
url-pattern*.jsp/url-pattern
/filter-mapping

filter-mapping
filter-nameadfBindings/filter-name
url-pattern*.jspx/url-pattern
/filter-mapping


!-- Shale entries --
context-param
param-nameorg.apache.shale.view.EXCEPTION_DISPATCH_PATH
/param-name
param-value/exception/correct.faces/param-value
/context-param



!-- Shale Application Controller Filter --
filter
filter-nameshale/filter-name
filter-classorg.apache.shale.faces.ShaleApplicationFilter
/filter-class
/filter

!-- That entry imply that shale will filter all request, not
 just the Faces Servlet ones, is that wanted? When that filter
 execute, it means that adfFaces filter won't be executed. Have
 you tried removing it?--
filter-mapping
filter-nameshale/filter-name
url-pattern/*/url-pattern
/filter-mapping

!-- Duplicate entry --
!--filter-mapping
filter-nameshale/filter-name
url-pattern/*/url-pattern
/filter-mapping--

filter-mapping
filter-nameshale/filter-name
servlet-nameFaces Servlet/servlet-name
/filter-mapping

/web-app

On 10/20/06, Simon Lessard [EMAIL PROTECTED] wrote:

 Ok... That's not a really clean web.xml. Let me clean it up fast and see
 if the new version works.

 On 10

RE: ADF Faces/Trinidad Shale?

2006-10-23 Thread Anthony Yulo
Hi Mathias,

Yes pls. I want to know if there is an issue between using servlets and
filters with the commercial ADF Faces and with Trinidad.  

Actually I already tried using Mabon, I added the necessary entries for
Mabon servlet, and I still get the same error: No AdfRenderingContext.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Friday, October 20, 2006 11:42 PM
To: adffaces-dev@incubator.apache.org
Subject: Re: ADF Faces/Trinidad  Shale?

Anthony,

I was using Shale's viewcontroller on a Trinidad app.
worked fine. I try to find the web.xml for that :)

However, that is not needed
  filter-mapping
   filter-nameshale/filter-name
   servlet-nameFaces Servlet/servlet-name
   /filter-mapping

-M


On 10/20/06, Simon Lessard [EMAIL PROTECTED] wrote:
 See my commentsi n the XML code.


 Regards

 ?xml version = '1.0' encoding = 'windows-1252'?
 web-app 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 xmlns=http://java.sun.com/xml/ns/j2ee;

 !-- General settings --
 descriptionEmpty web.xml file for Web Application/description

 session-config
 session-timeout10/session-timeout
 /session-config

 mime-mapping
 extensionhtml/extension
 mime-typetext/html/mime-type
 /mime-mapping

 mime-mapping
 extensiontxt/extension
 mime-typetext/plain/mime-type
 /mime-mapping

 welcome-file-list
 welcome-file/faces/pages/welcome.jsp/welcome-file
 /welcome-file-list


 !-- Commons Chain entrie --
 !-- Commons Chain Configuration Listener --
 context-param
 param-nameorg.apache.commons.chain.CONFIG_WEB_RESOURCE
 /param-name
 param-value/WEB-INF/chain-config.xml/param-value
 /context-param

  listener
 listener-classorg.apache.commons.chain.web.ChainListener
 /listener-class
 /listener


 !-- JSF entrie --
 context-param
 param-namejavax.faces.STATE_SAVING_METHOD/param-name
 param-valueclient/param-value
 /context-param

 servlet
 servlet-nameFaces Servlet/servlet-name
 servlet-classjavax.faces.webapp.FacesServlet/servlet-class
 load-on-startup1/load-on-startup
 /servlet

 servlet-mapping
 servlet-nameFaces Servlet/servlet-name
 url-pattern/faces/*/url-pattern
 /servlet-mapping

 !-- You really don't want to miss anycall do you?
  That might cause a problem, not sure. Personally I would flush
  this part--
 !-- servlet-mapping
 servlet-nameFaces Servlet/servlet-name
 url-pattern*.faces/url-pattern
 /servlet-mapping --


 !-- ADF Faces entrie --
 servlet
 servlet-nameresources/servlet-name
 servlet-classoracle.adf.view.faces.webapp.ResourceServlet
 /servlet-class
 /servlet

 servlet-mapping
 servlet-nameresources/servlet-name
 url-pattern/adf/*/url-pattern
 /servlet-mapping

 filter
 filter-nameadfFaces/filter-name
 filter-classoracle.adf.view.faces.webapp.AdfFacesFilter
 /filter-class
 /filter

 !-- That's the correct mapping --
 filter-mapping
 filter-nameadfFaces/filter-name
 servlet-nameFaces Servlet/servlet-name
 /filter-mapping

 !-- There's no servlet named *.jsp --
 !-- filter-mapping
 filter-nameadfFaces/filter-name
 servlet-name*.jsp/servlet-name
 /filter-mapping --

 !-- You should just place the filter on the servlet really. --
 !-- filter-mapping
 filter-nameadfFaces/filter-name
 url-pattern*.jspx/url-pattern
 /filter-mapping --


 !-- ADF Databinding entries --

 context-param
 param-nameCpxFileName/param-name
 param-valueorg.clarke.pagedefs.DataBindings/param-value
 /context-param

 filter
 filter-nameadfBindings/filter-name
 filter-classoracle.adf.model.servlet.ADFBindingFilter
 /filter-class
 /filter

 !-- You were missing the mapping for ADF Databings --
 filter-mapping
 filter-nameadfBindings/filter-name
 url-pattern*.jsp/url-pattern
 /filter-mapping

 filter-mapping
 filter-nameadfBindings/filter-name
 url-pattern*.jspx/url-pattern
 /filter-mapping


 !-- Shale entries --
 context-param
 param-nameorg.apache.shale.view.EXCEPTION_DISPATCH_PATH
 /param-name
 param-value/exception/correct.faces/param-value
 /context-param



 !-- Shale Application Controller Filter --
 filter
 filter-nameshale/filter-name
 filter-classorg.apache.shale.faces.ShaleApplicationFilter
 /filter-class
 /filter

 !-- That entry imply that shale will filter all request, not
  just the Faces Servlet ones, is that wanted? When that filter

Re: ADF Faces/Trinidad Shale?

2006-10-20 Thread Simon Lessard

AdfRenderingContext no longer exists so I assume you're actually working
with ADF Faces? Your trinidad filter must be installed, but not the ADF
Faces one maybe?

On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:


Anyone has tried to incorporate Shale into existing Trinidad Apps?



I initially tried this, I added a the necessary entries on the web.xml.
When I run the application it displays an error saying:



500 Internal Server Error

Illegal StateException:No AdfRenderingContext



//StackTrace follows











*The information transmitted is intended only for the person
or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review,retransmission,dissemination or other use
of, or taking of any action in reliance upon, this information by persons
or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.*




RE: ADF Faces/Trinidad Shale?

2006-10-20 Thread Anthony Yulo
Yes Im working on ADF Faces. Do you have an idea why this is not working?
This happens when I put the necessary entries for shale on the web.xml file.
But when I erase the Shale entries, everything's fine.

Im trying again to call a managed bean function from a javascript function,

-Original Message-
From: Simon Lessard [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 20, 2006 8:20 PM
To: adffaces-dev@incubator.apache.org
Subject: Re: ADF Faces/Trinidad  Shale?

AdfRenderingContext no longer exists so I assume you're actually working
with ADF Faces? Your trinidad filter must be installed, but not the ADF
Faces one maybe?

On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:

 Anyone has tried to incorporate Shale into existing Trinidad Apps?



 I initially tried this, I added a the necessary entries on the web.xml.
 When I run the application it displays an error saying:



 500 Internal Server Error

 Illegal StateException:No AdfRenderingContext



 //StackTrace follows











 *The information transmitted is intended only for the person
 or
 entity to which it is addressed and may contain confidential and/or
 privileged material. Any review,retransmission,dissemination or other use
 of, or taking of any action in reliance upon, this information by persons
 or
 entities other than the intended recipient is prohibited. If you received
 this in error, please contact the sender and delete the material from any
 computer.*


*The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review,retransmission,dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.*


Re: ADF Faces/Trinidad Shale?

2006-10-20 Thread Simon Lessard

I'm not well versed with Shale yet. However I can go with an hypothesis.
Does Shale use a Servlet? If so, you must place ADF Faces filter on that
servlet as well.


Regards,

~ Simon

On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:


Yes Im working on ADF Faces. Do you have an idea why this is not working?
This happens when I put the necessary entries for shale on the web.xmlfile.
But when I erase the Shale entries, everything's fine.

Im trying again to call a managed bean function from a javascript
function,

-Original Message-
From: Simon Lessard [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 8:20 PM
To: adffaces-dev@incubator.apache.org
Subject: Re: ADF Faces/Trinidad  Shale?

AdfRenderingContext no longer exists so I assume you're actually working
with ADF Faces? Your trinidad filter must be installed, but not the ADF
Faces one maybe?

On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:

 Anyone has tried to incorporate Shale into existing Trinidad Apps?



 I initially tried this, I added a the necessary entries on the web.xml.
 When I run the application it displays an error saying:



 500 Internal Server Error

 Illegal StateException:No AdfRenderingContext



 //StackTrace follows











 *The information transmitted is intended only for the person
 or
 entity to which it is addressed and may contain confidential and/or
 privileged material. Any review,retransmission,dissemination or other
use
 of, or taking of any action in reliance upon, this information by
persons
 or
 entities other than the intended recipient is prohibited. If you
received
 this in error, please contact the sender and delete the material from
any
 computer.*


*The information transmitted is intended only for the person
or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review,retransmission,dissemination or other use
of, or taking of any action in reliance upon, this information by persons
or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.*



Re: ADF Faces/Trinidad Shale?

2006-10-20 Thread Simon Lessard

Hello, try adding those lines to web.xml

   filter
   filter-nameadfFaces/filter-name
   filter-classoracle.adf.view.faces.webapp.AdfFacesFilter
/filter-class
   /filter
   filter-mapping
   filter-nameadfFaces/filter-name
   servlet-nameFaces Servlet/servlet-name
   /filter-mapping


On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:


Shale uses the standard JSF Servlet: How do I this?

  servlet
  servlet-namefaces/servlet-name
  servlet-classjavax.faces.webapp.FacesServlet/servlet-class
/servlet
servlet-mapping
  servlet-namefaces/servlet-name
  url-pattern*.faces/url-pattern
/servlet-mapping

-Original Message-
From: Simon Lessard [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 8:52 PM
To: adffaces-dev@incubator.apache.org
Subject: Re: ADF Faces/Trinidad  Shale?

I'm not well versed with Shale yet. However I can go with an hypothesis.
Does Shale use a Servlet? If so, you must place ADF Faces filter on that
servlet as well.


Regards,

~ Simon

On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:

 Yes Im working on ADF Faces. Do you have an idea why this is not
working?
 This happens when I put the necessary entries for shale on the
web.xmlfile.
 But when I erase the Shale entries, everything's fine.

 Im trying again to call a managed bean function from a javascript
 function,

 -Original Message-
 From: Simon Lessard [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 20, 2006 8:20 PM
 To: adffaces-dev@incubator.apache.org
 Subject: Re: ADF Faces/Trinidad  Shale?

 AdfRenderingContext no longer exists so I assume you're actually working
 with ADF Faces? Your trinidad filter must be installed, but not the ADF
 Faces one maybe?

 On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:
 
  Anyone has tried to incorporate Shale into existing Trinidad Apps?
 
 
 
  I initially tried this, I added a the necessary entries on the web.xml
.
  When I run the application it displays an error saying:
 
 
 
  500 Internal Server Error
 
  Illegal StateException:No AdfRenderingContext
 
 
 
  //StackTrace follows
 
 
 
 
 
 
 
 
 
 
 
  *The information transmitted is intended only for the
person
  or
  entity to which it is addressed and may contain confidential and/or
  privileged material. Any review,retransmission,dissemination or other
 use
  of, or taking of any action in reliance upon, this information by
 persons
  or
  entities other than the intended recipient is prohibited. If you
 received
  this in error, please contact the sender and delete the material from
 any
  computer.*
 
 
 *The information transmitted is intended only for the person
 or
 entity to which it is addressed and may contain confidential and/or
 privileged material. Any review,retransmission,dissemination or other
use
 of, or taking of any action in reliance upon, this information by
persons
 or
 entities other than the intended recipient is prohibited. If you
received
 this in error, please contact the sender and delete the material from
any
 computer.*

*The information transmitted is intended only for the person
or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review,retransmission,dissemination or other use
of, or taking of any action in reliance upon, this information by persons
or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.*



RE: ADF Faces/Trinidad Shale?

2006-10-20 Thread Anthony Yulo
This is the complete web.xml:

?xml version = '1.0' encoding = 'windows-1252'?
web-app 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 xmlns=http://java.sun.com/xml/ns/j2ee;
descriptionEmpty web.xml file for Web Application/description
context-param
param-namejavax.faces.STATE_SAVING_METHOD/param-name
param-valueclient/param-value
/context-param
context-param
param-nameCpxFileName/param-name
param-valueorg.clarke.pagedefs.DataBindings/param-value
/context-param

!-- Commons Chain Configuration Resources --
context-param
 
param-nameorg.apache.commons.chain.CONFIG_WEB_RESOURCE/param-name
param-value/WEB-INF/chain-config.xml/param-value
/context-param

!-- Shale Application Controller Filter --
context-param
 
param-nameorg.apache.shale.view.EXCEPTION_DISPATCH_PATH/param-name
param-value/exception/correct.faces/param-value
/context-param


!-- Commons Chain Configuration Listener --
  listener
listener-class
  org.apache.commons.chain.web.ChainListener
/listener-class
  /listener


  !-- Shale Application Controller Filter Mapping --
  filter-mapping
filter-nameshale/filter-name
url-pattern/*/url-pattern
  /filter-mapping

 filter-mapping
filter-nameshale/filter-name
servlet-nameFaces Servlet/servlet-name
  /filter-mapping


servlet
servlet-nameFaces Servlet/servlet-name
servlet-classjavax.faces.webapp.FacesServlet/servlet-class
load-on-startup1/load-on-startup
/servlet

  !-- JavaServer Faces Servlet Mapping --
  servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern*.faces/url-pattern
  /servlet-mapping

servlet
servlet-nameresources/servlet-name
 
servlet-classoracle.adf.view.faces.webapp.ResourceServlet/servlet-class
/servlet
servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern/faces/*/url-pattern
/servlet-mapping
servlet-mapping
servlet-nameresources/servlet-name
url-pattern/adf/*/url-pattern
/servlet-mapping
session-config
session-timeout10/session-timeout
/session-config
mime-mapping
extensionhtml/extension
mime-typetext/html/mime-type
/mime-mapping
mime-mapping
extensiontxt/extension
mime-typetext/plain/mime-type
/mime-mapping
filter
filter-nameadfFaces/filter-name
 
filter-classoracle.adf.view.faces.webapp.AdfFacesFilter/filter-class
/filter

filter
filter-nameadfBindings/filter-name
 
filter-classoracle.adf.model.servlet.ADFBindingFilter/filter-class
/filter

filter

filter-nameshale/filter-name
filter-class
  org.apache.shale.faces.ShaleApplicationFilter
/filter-class
  /filter


filter-mapping
filter-nameadfFaces/filter-name
servlet-name*.jsp/servlet-name
/filter-mapping
filter-mapping
filter-nameadfFaces/filter-name
url-pattern*.jspx/url-pattern
/filter-mapping

  filter-mapping
filter-nameshale/filter-name
url-pattern/*/url-pattern
  /filter-mapping


welcome-file-list
welcome-file/faces/pages/welcome.jsp/welcome-file
/welcome-file-list
/web-app

-Original Message-
From: Simon Lessard [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 20, 2006 9:13 PM
To: adffaces-dev@incubator.apache.org
Subject: Re: ADF Faces/Trinidad  Shale?

Hello, try adding those lines to web.xml

filter
filter-nameadfFaces/filter-name
filter-classoracle.adf.view.faces.webapp.AdfFacesFilter
/filter-class
/filter
filter-mapping
filter-nameadfFaces/filter-name
servlet-nameFaces Servlet/servlet-name
/filter-mapping


On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:

 Shale uses the standard JSF Servlet: How do I this?

   servlet
   servlet-namefaces/servlet-name
   servlet-classjavax.faces.webapp.FacesServlet/servlet-class
 /servlet
 servlet-mapping
   servlet-namefaces/servlet-name
   url-pattern*.faces/url-pattern
 /servlet-mapping

 -Original Message-
 From: Simon Lessard [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 20, 2006 8:52 PM
 To: adffaces-dev@incubator.apache.org
 Subject: Re: ADF Faces/Trinidad  Shale?

 I'm not well versed with Shale yet. However I can go with an hypothesis.
 Does Shale use a Servlet? If so, you must place ADF Faces filter on that
 servlet as well.


 Regards,

 ~ Simon

 On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:
 
  Yes Im working on ADF Faces. Do you have an idea why this is not
 working?
  This happens when I put the necessary entries for shale on the
 web.xmlfile.
  But when I erase the Shale entries, everything's fine.
 
  Im trying again to call a managed bean function from a javascript
  function,
 
  -Original

Re: ADF Faces/Trinidad Shale?

2006-10-20 Thread Simon Lessard
/description
 context-param
 param-namejavax.faces.STATE_SAVING_METHOD/param-name
 param-valueclient/param-value
 /context-param
 context-param
 param-nameCpxFileName/param-name
 param-valueorg.clarke.pagedefs.DataBindings /param-value
 /context-param

 !-- Commons Chain Configuration Resources --
 context-param

 param-nameorg.apache.commons.chain.CONFIG_WEB_RESOURCE/param-name
 param-value/WEB-INF/chain-config.xml/param-value
 /context-param

 !-- Shale Application Controller Filter --
 context-param

 param-nameorg.apache.shale.view.EXCEPTION_DISPATCH_PATH /param-name
 param-value/exception/correct.faces/param-value
 /context-param


 !-- Commons Chain Configuration Listener --
   listener
 listener-class
   org.apache.commons.chain.web.ChainListener
 /listener-class
   /listener


   !-- Shale Application Controller Filter Mapping --
   filter-mapping
 filter-nameshale/filter-name
 url-pattern/*/url-pattern
   /filter-mapping

 filter-mapping
 filter-nameshale/filter-name
 servlet-nameFaces Servlet/servlet-name
   /filter-mapping


 servlet
 servlet-nameFaces Servlet/servlet-name
 servlet-classjavax.faces.webapp.FacesServlet/servlet-class
 load-on-startup1/load-on-startup
 /servlet

   !-- JavaServer Faces Servlet Mapping --
   servlet-mapping
 servlet-nameFaces Servlet/servlet-name
 url-pattern*.faces/url-pattern
   /servlet-mapping

 servlet
 servlet-nameresources/servlet-name

 servlet-classoracle.adf.view.faces.webapp.ResourceServlet
 /servlet-class
 /servlet
 servlet-mapping
 servlet-nameFaces Servlet/servlet-name
 url-pattern/faces/*/url-pattern
 /servlet-mapping
 servlet-mapping
 servlet-nameresources/servlet-name
 url-pattern/adf/*/url-pattern
 /servlet-mapping
 session-config
 session-timeout10/session-timeout
 /session-config
 mime-mapping
 extensionhtml/extension
 mime-typetext/html/mime-type
 /mime-mapping
 mime-mapping
 extensiontxt/extension
 mime-typetext/plain/mime-type
 /mime-mapping
 filter
 filter-nameadfFaces/filter-name

 filter-classoracle.adf.view.faces.webapp.AdfFacesFilter/filter-class
 /filter

 filter
 filter-nameadfBindings/filter-name

 filter-class oracle.adf.model.servlet.ADFBindingFilter/filter-class
 /filter

 filter

 filter-nameshale/filter-name
 filter-class
   org.apache.shale.faces.ShaleApplicationFilter
 /filter-class
   /filter


 filter-mapping
 filter-nameadfFaces/filter-name
 servlet-name*.jsp/servlet-name
 /filter-mapping
 filter-mapping
 filter-nameadfFaces/filter-name
 url-pattern*.jspx/url-pattern
 /filter-mapping

   filter-mapping
 filter-nameshale/filter-name
 url-pattern/*/url-pattern
   /filter-mapping


 welcome-file-list
 welcome-file/faces/pages/welcome.jsp/welcome-file
 /welcome-file-list
 /web-app

 -Original Message-
 From: Simon Lessard [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 20, 2006 9:13 PM
 To: adffaces-dev@incubator.apache.org
 Subject: Re: ADF Faces/Trinidad  Shale?

 Hello, try adding those lines to web.xml

 filter
 filter-nameadfFaces/filter-name
 filter-classoracle.adf.view.faces.webapp.AdfFacesFilter
 /filter-class
 /filter
 filter-mapping
 filter-nameadfFaces/filter-name
 servlet-nameFaces Servlet/servlet-name
 /filter-mapping


 On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:
 
  Shale uses the standard JSF Servlet: How do I this?
 
servlet
servlet-namefaces/servlet-name
servlet-classjavax.faces.webapp.FacesServlet/servlet-class
  /servlet
  servlet-mapping
servlet-namefaces/servlet-name
url-pattern*.faces/url-pattern
  /servlet-mapping
 
  -Original Message-
  From: Simon Lessard [mailto: [EMAIL PROTECTED]
  Sent: Friday, October 20, 2006 8:52 PM
  To: adffaces-dev@incubator.apache.org
  Subject: Re: ADF Faces/Trinidad  Shale?
 
  I'm not well versed with Shale yet. However I can go with an
 hypothesis.
  Does Shale use a Servlet? If so, you must place ADF Faces filter on
 that
  servlet as well.
 
 
  Regards,
 
  ~ Simon
 
  On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:
  
   Yes Im working on ADF Faces. Do you have an idea why this is not
  working?
   This happens when I put the necessary entries for shale on the
  web.xmlfile.
   But when I erase the Shale entries, everything's fine.
  
   Im trying again to call a managed bean function from a javascript
   function,
  
   -Original Message-
   From: Simon Lessard [mailto: [EMAIL PROTECTED]
   Sent: Friday, October 20, 2006 8:20 PM
   To: adffaces-dev@incubator.apache.org
   Subject: Re: ADF Faces/Trinidad  Shale?
  
   AdfRenderingContext no longer

Re: ADF Faces/Trinidad Shale?

2006-10-20 Thread Matthias Wessendorf
 works.

 On 10/20/06, Anthony Yulo  [EMAIL PROTECTED] wrote:
 
  This is the complete web.xml:
 
  ?xml version = ' 1.0' encoding = 'windows-1252'?
  web-app 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 xmlns= http://java.sun.com/xml/ns/j2ee;
  descriptionEmpty web.xml file for Web Application/description
  context-param
  param-namejavax.faces.STATE_SAVING_METHOD/param-name
  param-valueclient/param-value
  /context-param
  context-param
  param-nameCpxFileName/param-name
  param-valueorg.clarke.pagedefs.DataBindings /param-value
  /context-param
 
  !-- Commons Chain Configuration Resources --
  context-param
 
  param-nameorg.apache.commons.chain.CONFIG_WEB_RESOURCE/param-name
  param-value/WEB-INF/chain-config.xml/param-value
  /context-param
 
  !-- Shale Application Controller Filter --
  context-param
 
  param-nameorg.apache.shale.view.EXCEPTION_DISPATCH_PATH /param-name
  param-value/exception/correct.faces/param-value
  /context-param
 
 
  !-- Commons Chain Configuration Listener --
listener
  listener-class
org.apache.commons.chain.web.ChainListener
  /listener-class
/listener
 
 
!-- Shale Application Controller Filter Mapping --
filter-mapping
  filter-nameshale/filter-name
  url-pattern/*/url-pattern
/filter-mapping
 
  filter-mapping
  filter-nameshale/filter-name
  servlet-nameFaces Servlet/servlet-name
/filter-mapping
 
 
  servlet
  servlet-nameFaces Servlet/servlet-name
  servlet-classjavax.faces.webapp.FacesServlet/servlet-class
  load-on-startup1/load-on-startup
  /servlet
 
!-- JavaServer Faces Servlet Mapping --
servlet-mapping
  servlet-nameFaces Servlet/servlet-name
  url-pattern*.faces/url-pattern
/servlet-mapping
 
  servlet
  servlet-nameresources/servlet-name
 
  servlet-classoracle.adf.view.faces.webapp.ResourceServlet
  /servlet-class
  /servlet
  servlet-mapping
  servlet-nameFaces Servlet/servlet-name
  url-pattern/faces/*/url-pattern
  /servlet-mapping
  servlet-mapping
  servlet-nameresources/servlet-name
  url-pattern/adf/*/url-pattern
  /servlet-mapping
  session-config
  session-timeout10/session-timeout
  /session-config
  mime-mapping
  extensionhtml/extension
  mime-typetext/html/mime-type
  /mime-mapping
  mime-mapping
  extensiontxt/extension
  mime-typetext/plain/mime-type
  /mime-mapping
  filter
  filter-nameadfFaces/filter-name
 
  filter-classoracle.adf.view.faces.webapp.AdfFacesFilter/filter-class
  /filter
 
  filter
  filter-nameadfBindings/filter-name
 
  filter-class oracle.adf.model.servlet.ADFBindingFilter/filter-class
  /filter
 
  filter
 
  filter-nameshale/filter-name
  filter-class
org.apache.shale.faces.ShaleApplicationFilter
  /filter-class
/filter
 
 
  filter-mapping
  filter-nameadfFaces/filter-name
  servlet-name*.jsp/servlet-name
  /filter-mapping
  filter-mapping
  filter-nameadfFaces/filter-name
  url-pattern*.jspx/url-pattern
  /filter-mapping
 
filter-mapping
  filter-nameshale/filter-name
  url-pattern/*/url-pattern
/filter-mapping
 
 
  welcome-file-list
  welcome-file/faces/pages/welcome.jsp/welcome-file
  /welcome-file-list
  /web-app
 
  -Original Message-
  From: Simon Lessard [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 20, 2006 9:13 PM
  To: adffaces-dev@incubator.apache.org
  Subject: Re: ADF Faces/Trinidad  Shale?
 
  Hello, try adding those lines to web.xml
 
  filter
  filter-nameadfFaces/filter-name
  filter-classoracle.adf.view.faces.webapp.AdfFacesFilter
  /filter-class
  /filter
  filter-mapping
  filter-nameadfFaces/filter-name
  servlet-nameFaces Servlet/servlet-name
  /filter-mapping
 
 
  On 10/20/06, Anthony Yulo [EMAIL PROTECTED] wrote:
  
   Shale uses the standard JSF Servlet: How do I this?
  
 servlet
 servlet-namefaces/servlet-name
 servlet-classjavax.faces.webapp.FacesServlet/servlet-class
   /servlet
   servlet-mapping
 servlet-namefaces/servlet-name
 url-pattern*.faces/url-pattern
   /servlet-mapping
  
   -Original Message-
   From: Simon Lessard [mailto: [EMAIL PROTECTED]
   Sent: Friday, October 20, 2006 8:52 PM
   To: adffaces-dev@incubator.apache.org
   Subject: Re: ADF Faces/Trinidad  Shale?
  
   I'm not well versed with Shale yet. However I can go with an
  hypothesis.
   Does Shale use a Servlet? If so, you must place ADF Faces filter on
  that
   servlet as well.
  
  
   Regards