Ryan Wynn wrote:
I am trying to get the inputCalendar to work inside a Portlet. It seems to me that although I have the myfaces ExtensionsFilter mapped in my web.xml the appropriate javascript is not being included in the response. I get DateFormatSymbols is undefined which looks like it is declared in date.js. I subclassed ExtensionsFilter and it looks like the doFilter method is not being called at all for the page that contains the inputCalendar, even though I have the filter mapped to /* Has anyone had success with the ExtensionsFilter inside a portlet? Everything else is working fine in the portlet environment.
Filters do not apply to portlets. The portlet spec recognized this and chose not to address the issue in the 1.0 specification. Future versions of the specification will probably address portlet filters. http://issues.apache.org/jira/browse/MYFACES-434 some patches & files which will allow <head> elements to be written into a portal's final html page. An integration class for Jetspeed2 has been written, you'll have to write one for any other portal. I tried to write one for uPortal but it seemed too difficult (so I'm sorta fixing it via a different method; ask me if anyone wants details). -- Dave Brondsema : [EMAIL PROTECTED] http://www.brondsema.net : personal http://www.splike.com : programming <><
signature.asc
Description: OpenPGP digital signature

