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.

This has been discussed on this list before. The ExtensionsFilter tries to insert the <script> command just before the </head> tag. But apparently portlets don't emit any <head></head> tags so the script reference never gets output.

That doesn't match with your description of "doFilter not being called" though.

You'll find the original posting if you search the email archives. I'm only repeating what I remember from that posting...

Regards,

Simon

Reply via email to