Olivier VIGNON wrote:

Thanks but I'm still struggling !
I have installed the 2.1-dev version in order to use the last Ajax functionalities, I've changed my portlet mode with the "action=window" URL, and I've received a nice XML response which told me that everything was all right, but finally the portlet invocation still gave me the view mode. I've also noticed that the portlets prefences are totally ignored when using the portlet pipeline, even if I specify the PSML file.

I cannot reproduce that one. Are you working against the SVN head?
The desktop uses the portlet pipeline, and preferences are working fine there as far as i can tell. Try this:

1. login as admin
2. navigate to the RSS page
3. modify the LHS RSS portlet, change the "url" pref to something new, like:

http://www.nytimes.com/services/xml/rss/nyt/Books.xml

4. Then goto:

http://localhost:8080/jetspeed/portlet/rss.psml?portlet=rss::RSS&entity=rss-102&encoder=desktop

You should get the new feed

5. Logout, again, goto

http://localhost:8080/jetspeed/portlet/rss.psml?portlet=rss::RSS&entity=rss-102&encoder=desktop

You should get the original NPR feed



I've also tried the desktop pipeline to see how to call Ajax functions, but I didn't find the way to change the portlet's mode and the preferences are ignored too. So I wonder if the Ajax functionalities realy work yet... or if I've not understood the way to use them !


Just tested out the "window" api.
The "window" api is not working, seems I didn't complete the implementation. Just noticed that it updates the PSML, but doesn't set the transient portlet mode and window state
I'll get that fixed


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

Reply via email to