Raphael,
I was trying to get the WML portlets to work, and I noticed a problem in
the WAPPorletController class. (My snapshot is a few days old, so
ignore me if this is already fixed!)
The problem is in the method getDefaultContent, where it is gettting
the elements of the portlet set enumeration.
Currently, it does this:
Portlet portlet = (Portlet)en.nextElement();
but that line returns the ClearPortletControl, not the actual portlet.
I think the line should be this instead:
Portlet portlet = ((PortletControl)en.nextElement()).getPortlet();
Carol
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]