I was having similar problems with the calendar component.  So this is for 
anyone who searches this forum looking for an answer (like I did ;o)

The key is to add the tomahawk ExtensionsFilter, which injects the appropriate 
resources (ie. javascript includes) into the page.  Note that this has 
dependencies on some commons jars like commons-fileupload.

This is from the the myfaces examples war web.xml:


  |     <filter>
  |        <filter-name>extensionsFilter</filter-name>
  |        
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
       
  |     </filter>
  | 
  |     <!-- Filter Mappings -->
  |     <filter-mapping>
  |        <filter-name>extensionsFilter</filter-name>
  |        <url-pattern>*.jsf</url-pattern>
  |     </filter-mapping>
  |     <filter-mapping>
  |        <filter-name>extensionsFilter</filter-name>
  |        <url-pattern>/*</url-pattern>
  |     </filter-mapping>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909943#3909943

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909943


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to