Olivier VIGNON wrote:
David Sean Taylor wrote:
Olivier VIGNON wrote:
Hi,
I'm customizing Jetspeed 2 in order to use Ajax and Drag and Drop,
but I don't find the way to render just one portlet using different
modes (view, edit, help), without its entire page. Can you help me ?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Example of rendering a single portlet in its current mode:
http://localhost:8080/jetspeed/portlet?portlet=j2-admin::LocaleSelector&entity=dp-3
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thank you very much, your example is very helpfull to render a lonely
portlet.
But now I'm looking for a way to change the portlet's current mode
without reloading the whole page (maybe with a Web Service or a Jetspeed
"action"...). I've tried several solutions but I didn't succeed.
Is there a way to do that ?
Yes. Most of the AJAX APIs (except the latest commits) are documented
here, including the one you want.
http://portals.apache.org/jetspeed-2/guides/guide-ajax-api.html
http://localhost:8080/jetspeed/ajaxapi?action=window&state=maximized&mode=edit&id=um-2
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]