Thanks, thats works. Another questions to ajax api:

Can I create a new page and delete a page with ajax api?

How can I refresh the whole page (fragment) without browser reload?


kind regards,

frank

David Sean Taylor schrieb:

On Jun 29, 2009, at 11:06 PM, Frank Otto wrote:

Hi,

thanks for the examples. How can I get the available layouts?


use the "getthemes" api. Here are getting the page decorations list in xml format:

http://localhost:8080/jetspeed/ajaxapi?action=getthemes&type=pageDecorations

or the same api with json:

http://localhost:8080/jetspeed/ajaxapi?action=getthemes&type=pageDecorations&format=json

other getthemes apis are available with type =

pageDecorations
portletDecorations
desktopPageDecorations
desktopPortletDecorations
layouts

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to