of course, you can call the portlets by AJAX. Please see the portlet
pipeline.

On 3/17/06, Anton <[EMAIL PROTECTED]> wrote:
>
> Aaron,
>
> Thank you. That clears it for me. I still think it would be nice to have a
> bridge to Allow AJAX calling portlets, but current approach solves immediate
> problems with porting existing applications to portal.
>
> Thanks again.
> Anton
>
> Aaron Evans <[EMAIL PROTECTED]> wrote: If you have the
> 'emptySessionPath' parameter set to true in your
> tomcat's server.xml, then any objects you store in the user's session
> with APPLICATION_SCOPE scope are available in the session from a
> servlet that lives in the same application as your portlets.
>
> Thus, if you are using an Ajax toolkit like dojo (or if you simply use
> the XMLHttpRequest javascript object directly) and your client
> Javascript hits the URI of a servlet (within your application)
> directly (thereby by-passing the portal), then it will work the way
> you want.
>
> It really has nothing to do with jetspeed at that point...
>
>
>
> On 3/16/06, Anton  wrote:
> > Thanks!
> >
> > Well, actually looks I made a wrong question: I actually need to be able
> to call servlet from AJAX. Servlet should have access to user's session (I
> know it is possible to share objects between applications, but I find this
> somewhat obscure way to solve the problem). As long as JetSpeed 2 claims
> "full support for AJAX" there should be way to call server-side objects
> without sacrificing any of the functionality.
> >
> > I thought I saw some thread on this issue a while ago, but now I
> couldn't find anything related.
> >
> > Thanks again,
> > Anton
> >
> > po2son
> wrote: Jetspeed2 include dojo package(ajax)
> > Look at this.
> > http://dojotoolkit.org/
> >
> > -----Original Message-----
> > From: Anton [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 16, 2006 5:22 AM
> > To: [email protected]
> > Subject: AJAX in Jetspeed
> >
> > Hi,
> >
> > I spent 2 days searching on some guide how to use AJAX, and all I found
> > that there are some pre-built admin actions. I would like to have custom
> > AJAX code (requesting data from server) in my application. Any clues?
> >
> > Thanks,
> > Anton
> >
> >
> > ---------------------------------
> >  Yahoo! Mail
> >  Use Photomail to share photos without annoying attachments.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > ---------------------------------
> > Yahoo! Travel
> >  Find  great deals to the top 10 hottest destinations!
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> ---------------------------------
> Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
>



--
Thanks,
Cubehead Fang

Reply via email to