Hi,

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


kind regards,

Frank

David Sean Taylor schrieb:

On Jun 26, 2009, at 3:13 AM, Frank Otto wrote:

Hi,

how can I change the layout (number of rows and columns, size of columns) on a page?

I can't find a description of an ajax action.

Example to change layout:

http://localhost:8080/jetspeed/ajaxapi/default-page.psml?action=updatepage&method=update-fragment&id=dp-1&layout=jetspeed-layouts%3A%3AVelocityThreeColumns

Example to change Decorator:

http://localhost:8080/jetspeed/ajaxapi/default-page.psml?action=updatepage&method=info&layout-decorator=blueocean

Example to change size of columns in a layout:

http://localhost:8080/jetspeed/ajaxapi/default-page.psml?action=updatepage&method=update-fragment&id=dp-1&layout=jetspeed-layouts%3A%3AVelocityTwoColumns&sizes=51%25%2C49%25

I apologize for not having the complete Jetspeed AJAX API documented. I have added a task for the next release here:

https://issues.apache.org/jira/browse/JS2-1038


---------------------------------------------------------------------
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