I think there is a bug when customizing WML portlets. The customizer adds the
portlet to the user PSML but it does not add a <control> child element to the
respective <entry> element, and this makes Jetspeed crashing when trying to
access the portlet. Edit your PSML manually and add this

<control name="ClearPortletControl"/>

to your portlet's entry element.
Hope it helps.

Helder

----- Original Message ----- 
From: "Jason Weiss" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, July 29, 2003 2:56 PM
Subject: WML Customization Problems


> I've been trying to build a proof of concept for a client using Jetspeed.
> I installed the out-of-the-box build of 1.1.4-b4 and was immediately up
> and running-- accessing both from my desktop web browser and my RIM
> BlackBerry web browser with success.
>
> I then created a Velocity portlet which works GREAT when I access it via
> HTML.  I updated the portlet to support WML as a media type, and wrote the
> following additional file:
>
> <card id="_ProjectHeader">
>   <p>
>     Jason
>   </p>
> </card>
>
> I used an indentical template name to that used on the HTML side (the same
> name listed in the parameters in the .xreg file) and placed the WML card
> into the WEB-INF/templates/vm/portlets/wml directory.
>
> After a restart of Tomcat, I logged in as Tommy Turbine and customized my
> WML home page.  I removed the stock and weather portlets, and added my
> ProjectHeader portlet.
>
> I then grabbed my BlackBerry and tried to log in and it fails.  I've
> probably restarted Tomcat a dozen times in the last 30 minutes.  The
> jetspeed.log file contains little help.  Essentially, I can follow the
> process:
>
> I see the CapabilityMaP identify my BlackBerry user agent.
> The PSMLManager does its thing.
> GenericMVCPortlet logs a velocity, template = project-header
> user "turbine" is authorized to portlet set P-f6ae......
> TemplateLocator: template exists. (flow.vm)
> 6 lines of checking for Portlet permission: actions like customize,
> print_friendly, info, close, etc.
> BOOM! Error rendering Velocity template: null: null
>
> I'm stumpped.  Help?!?!?!?
>
> I've even tried REMOVING my portlet and going BACK to the MyWeather
> portlet and it still crashes.
>
> Jason
>
>
> --
> Jason R. Weiss
> [EMAIL PROTECTED]
> Cell Phone: 832.443.7161
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to