Re: problem using t:inputHtml

2007-05-25 Thread AM101

Thanks, This mapping did the trick.


Lionel Port-2 wrote:
 
 I have this additional mapping
 
   !-- extension mapping for serving page-independent resources
 (javascript, stylesheets, images, etc.)  --
   filter-mapping
   filter-nameExtensionsFilter/filter-name
   url-pattern/faces/myFacesExtensionResource/*/url-pattern
   /filter-mapping
 
 
 Otherwise you maybe experiencing this issue.
 http://issues.apache.org/struts/browse/SHALE-409
 
 In desperation I had to build a custom version of shale with this fix
 applied.
 
 
 On 5/21/07, AM101 [EMAIL PROTECTED] wrote:

 When I use t:inputHtml, I get following error:

 EVERE: Servlet.service() for servlet faces threw exception
 java.lang.IllegalStateException: ExtensionsFilter not correctly
 configured.
 Resource mapping missing. Resources cant be delivered. Please see:
 http://myfaces.apache.org/tomahawk/extensionsFilter.html
 at
 org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:371)
 at
 org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:352)
 at
 org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288)

 I already configured extension filter in my xml to use with file upload
 and
 file upload works fine.

 my web.xml looks like this:

 !-- File Upload Start--
 filter
 filter-nameExtensionsFilter/filter-name
 !--filter-class
 org.apache.myfaces.component.html.util.ExtensionsFilter
 /filter-class--
 filter-class
 org.apache.myfaces.webapp.filter.ExtensionsFilter
 /filter-class
 init-param
 param-nameuploadMaxFileSize/param-name
 param-value500k/param-value
 /init-param
 init-param
 param-nameuploadThresholdSize/param-name
 param-value10k/param-value
 /init-param
 /filter

 filter-mapping
 filter-nameExtensionsFilter/filter-name
 servlet-namefaces/servlet-name
 /filter-mapping
 filter-mapping
   filter-nameExtensionsFilter/filter-name
   url-pattern/forsalebyowner/*/url-pattern
/filter-mapping
filter-mapping
   filter-nameExtensionsFilter/filter-name
   url-pattern*.xml/url-pattern
/filter-mapping
 !-- File Upload End --


 --
 View this message in context:
 http://www.nabble.com/problem-using-t%3AinputHtml-tf3789498.html#a10716626
 Sent from the Shale - User mailing list archive at Nabble.com.


 
 

-- 
View this message in context: 
http://www.nabble.com/problem-using-t%3AinputHtml-tf3789498.html#a10800735
Sent from the Shale - User mailing list archive at Nabble.com.



Re: problem using t:inputHtml

2007-05-22 Thread Lionel Port

I have this additional mapping

!-- extension mapping for serving page-independent resources
(javascript, stylesheets, images, etc.)  --
filter-mapping
filter-nameExtensionsFilter/filter-name
url-pattern/faces/myFacesExtensionResource/*/url-pattern
/filter-mapping


Otherwise you maybe experiencing this issue.
http://issues.apache.org/struts/browse/SHALE-409

In desperation I had to build a custom version of shale with this fix applied.


On 5/21/07, AM101 [EMAIL PROTECTED] wrote:


When I use t:inputHtml, I get following error:

EVERE: Servlet.service() for servlet faces threw exception
java.lang.IllegalStateException: ExtensionsFilter not correctly configured.
Resource mapping missing. Resources cant be delivered. Please see:
http://myfaces.apache.org/tomahawk/extensionsFilter.html
at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:371)
at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:352)
at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288)

I already configured extension filter in my xml to use with file upload and
file upload works fine.

my web.xml looks like this:

!-- File Upload Start--
filter
filter-nameExtensionsFilter/filter-name
!--filter-class
org.apache.myfaces.component.html.util.ExtensionsFilter
/filter-class--
filter-class
org.apache.myfaces.webapp.filter.ExtensionsFilter
/filter-class
init-param
param-nameuploadMaxFileSize/param-name
param-value500k/param-value
/init-param
init-param
param-nameuploadThresholdSize/param-name
param-value10k/param-value
/init-param
/filter

filter-mapping
filter-nameExtensionsFilter/filter-name
servlet-namefaces/servlet-name
/filter-mapping
filter-mapping
  filter-nameExtensionsFilter/filter-name
  url-pattern/forsalebyowner/*/url-pattern
   /filter-mapping
   filter-mapping
  filter-nameExtensionsFilter/filter-name
  url-pattern*.xml/url-pattern
   /filter-mapping
!-- File Upload End --


--
View this message in context: 
http://www.nabble.com/problem-using-t%3AinputHtml-tf3789498.html#a10716626
Sent from the Shale - User mailing list archive at Nabble.com.




problem using t:inputHtml

2007-05-21 Thread AM101

When I use t:inputHtml, I get following error:

EVERE: Servlet.service() for servlet faces threw exception
java.lang.IllegalStateException: ExtensionsFilter not correctly configured.
Resource mapping missing. Resources cant be delivered. Please see:
http://myfaces.apache.org/tomahawk/extensionsFilter.html
at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:371)
at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:352)
at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288)

I already configured extension filter in my xml to use with file upload and
file upload works fine.

my web.xml looks like this:

!-- File Upload Start--
filter
filter-nameExtensionsFilter/filter-name
!--filter-class
org.apache.myfaces.component.html.util.ExtensionsFilter
/filter-class--
filter-class
org.apache.myfaces.webapp.filter.ExtensionsFilter
/filter-class
init-param
param-nameuploadMaxFileSize/param-name
param-value500k/param-value
/init-param
init-param
param-nameuploadThresholdSize/param-name
param-value10k/param-value
/init-param
/filter

filter-mapping
filter-nameExtensionsFilter/filter-name
servlet-namefaces/servlet-name
/filter-mapping
filter-mapping 
  filter-nameExtensionsFilter/filter-name 
  url-pattern/forsalebyowner/*/url-pattern 
   /filter-mapping 
   filter-mapping 
  filter-nameExtensionsFilter/filter-name 
  url-pattern*.xml/url-pattern 
   /filter-mapping 
!-- File Upload End --


-- 
View this message in context: 
http://www.nabble.com/problem-using-t%3AinputHtml-tf3789498.html#a10716626
Sent from the Shale - User mailing list archive at Nabble.com.