Wiki this please.

2006/8/16, David Chandler <[EMAIL PROTECTED]>:
I'm running Tree2 from Tomahawk 1.1.3 in Jetspeed2 with server-side expansion so as not to require _javascript_. The ExtensionsFilter is therefore needed only to serve up the image resources needed by Tree2, and image requests are handled through the Faces Servlet, not the portal, so the ExtensionsFilter will run as normal for these requests. However, Tomahawk 1.1.3 checks to see if the ExtensionsFilter has been configured, which fails in the portal context, but you can disable the check with a web.xml context param.
 
So to summarize, you can use Tree2 1.1.3 in a portal without any of the MYFACES-434 patches if
 
1) You use server-side toggle
2) You configure ExtensionsFilter as normal for the Faces Servlet
3) You disable the ExtensionsFilter configuration check as follows in web.xml:
 
    <context-param>
        <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
        <param-value>false</param-value>
    </context-param>
 
/dmc
David Chandler
On 8/14/06, Dave Brondsema <[EMAIL PROTECTED] > wrote:
Marcus Smith wrote:
> Hi,
>
> I tried to run Tomahawk components (which require _javascript_) like InputCalendar or tree2 in a Portlet on the Liferay Portal without success.
> On portlet deployment Exceptions are thrown regarding to the ExtensionFilter.
>
> I know there is a JIRA entry about this issues and many patches are available. ( http://issues.apache.org/jira/browse/MYFACES-434).
>
> Can somebody tell me how to apply which patch to the myfaces src?
>
> Has anybody successful deployed portlets using Tomahawk components?
>

I use some tomahawk components that do not use _javascript_, but that
doesn't really help you.  The MYFACES-434 patches are probably
out-of-date from the current development code and need some tweaking
before they can be used easily.

We really need a MyFaces developer who works with portlets.


FWIW, I use the popup calendar from http://www.jenia.org/ which works
fine with no filter.

--
Dave Brondsema
Software Developer
Cornerstone University







--
Yours truly (Atenciosamente),

Rogério (_rogerio_)

Reply via email to