The AJAX api has been used to view a page PSML definition and serve as
an initial basis for a PSML editor.

This API need not be used to create pages, (tabs). This API and any
others that operate on the PSML pages eventually end up invoking the
PageManager. You can do that within your portlet application. See the
J2-admin examples. I believe there is also a user registration portlet
that creates new user pages upon registration... so you might want to
see if you can find that example... but any portlets that deal with the
PageManager will due. Two hints:

- when you access the J2 components, you need to define your access in
your WEB-INF/jetspeed-portlet.xml; and
- if the default profiling rule is in effect, user pages should be added
under WEB-INF/pages/_user/$username/X.psml.

HTH,

Randy


On Mon, 2006-02-20 at 10:44 +0530, Tarun Mangal wrote:
> Hi All,
> What purpose does the AJAX API getPage solve? I tried using it and as
> described in the guide it returns the psml for the page requested in the
> URL. My issue is that i want to create a new tab on the fly by clicking a
> link on one of the portlets. Can anyone suggest me as to how I can do it?
> 
> Thanks in advance,
> Tarun


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

Reply via email to