Re: Communication between portlets

2005-01-05 Thread Carlos Torres
Thank you Ken,

my problem is the same of the thirdy item and I need to review my
application.

Regards,

Carlos Torres.

- Original Message - 
From: "Ken Ramirez" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Tuesday, January 04, 2005 1:43 PM
Subject: Re: Communication between portlets


> Check out this articles:
>
> https://portlet.dev.java.net/files/documents/1654/8898/tip1.html
>
> Hope it helps you achieve what you're looking for :-)
>
>
> Carlos Torres wrote:
>
> >Hi people,
> >
> >I have 2 portlets in a panel and I need to comunicate, change
information, between these 2 jsp portlets. How can I make this?
> >
> >Thank you
> >
> >Regards,
> >
> >   Carlos Torres
> >
> >
> >
>
> -- 
> ************
> Stay on top of all things to do with JSR-168 Portlet and
> Portal development by bookmarking the authority on the
> subject: http://community.java.net/portlet
> *
> * News
> * Weblogs
> * Community Tips
> * Portlet and Portal Projects
> * Featured Articles
> * And much more
> *
> ************
> Ken Ramirez
> Send mail to: mailto://[EMAIL PROTECTED]
> Check out the website: http://www.TheJavaThinkTank.org
> Check out my Blog at: http://weblogs.java.net/blog/ken_ramirez
> ************
>
>



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



Re: Communication between portlets

2005-01-04 Thread Ken Ramirez
Check out this articles:
https://portlet.dev.java.net/files/documents/1654/8898/tip1.html
Hope it helps you achieve what you're looking for :-)
Carlos Torres wrote:
Hi people,
I have 2 portlets in a panel and I need to comunicate, change information, 
between these 2 jsp portlets. How can I make this?
Thank you
Regards,
  Carlos Torres
 

--
************
Stay on top of all things to do with JSR-168 Portlet and
Portal development by bookmarking the authority on the
subject: http://community.java.net/portlet
*
* News
* Weblogs
* Community Tips
* Portlet and Portal Projects
* Featured Articles
* And much more
*
************
Ken Ramirez
Send mail to: mailto://[EMAIL PROTECTED]
Check out the website: http://www.TheJavaThinkTank.org
Check out my Blog at: http://weblogs.java.net/blog/ken_ramirez
************


Communication between portlets

2005-01-04 Thread Carlos Torres
Hi people,

I have 2 portlets in a panel and I need to comunicate, change information, 
between these 2 jsp portlets. How can I make this?

Thank you

Regards,
 
   Carlos Torres


Re: communication between portlets

2003-07-30 Thread sophy
I agree with Holger Dewes since all portlets share the same request object, and what 
the portlet will render  depends upon other portlets how to deal with their content.

sophy

- Original Message - 
From: "Holger Dewes" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 12:15 AM
Subject: RE: communication between portlets


> -Original Message-
> From: Ender Hikmet KILIÇOÐLU [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 30, 2003 6:12 PM
> To: Jetspeed Users List
> Subject: YNT: communication between portlets
> 
> 
> but the order is important
> message sender applet must be run before receiver on other 
> case it wont work
> 

Actually, I see it the other way around: because (in general) you have
no influence over the rendering order of the portlets, you have to make
sure that order does _not_ matter.

That's why I said, portlet B has to check the request, if portlet B is
the one to display the result of the request. Then it won't matter
whether portlet A has been rendered already. Of course, portlet A could
also be influenced by the request. In that case you either let both
portlets create their result independently or let whoever gets the
result first put it in the request for the others. Anyway, that's how I
do it :-)

Cheers
-- 
Holger Dewes




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




RE: communication between portlets

2003-07-30 Thread Holger Dewes
> -Original Message-
> From: Ender Hikmet KILIÇOÐLU [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 30, 2003 6:12 PM
> To: Jetspeed Users List
> Subject: YNT: communication between portlets
> 
> 
> but the order is important
> message sender applet must be run before receiver on other 
> case it wont work
> 

Actually, I see it the other way around: because (in general) you have
no influence over the rendering order of the portlets, you have to make
sure that order does _not_ matter.

That's why I said, portlet B has to check the request, if portlet B is
the one to display the result of the request. Then it won't matter
whether portlet A has been rendered already. Of course, portlet A could
also be influenced by the request. In that case you either let both
portlets create their result independently or let whoever gets the
result first put it in the request for the others. Anyway, that's how I
do it :-)

Cheers
-- 
Holger Dewes




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



YNT: communication between portlets

2003-07-30 Thread Ender Hikmet KILIÇOÐLU
but the order is important
message sender applet must be run before receiver on other case it wont work

ENder


-Özgün Ileti-
Kimden: sophy [mailto:[EMAIL PROTECTED]
Tarih: Wednesday, July 30, 2003 2:48 PM
Kime: Jetspeed Users List
Konu: Re: communication between portlets


thanks, I have tried it  successfully.

sophy



- Original Message -
From: "Holger Dewes" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, July 30, 2003 3:18 PM
Subject: RE: communication between portlets


> Hello,
>
> yes, this is possible, since all portlets share the same request object
> (runData.getRequest()).
> So portlet B has to check the request in its buildNormalContext()
> method.
>
> Cheers
> --
> Holger Dewes
>
> > -Original Message-
> > From: sophy [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 30, 2003 3:54 AM
> > To: Jetspeed Users List
> > Subject: communication between portlets
> >
> >
> > hi, all
> >
> >  Can I use jetspeed to implement the communication betwee
> > two portlets? For example, when I input some text in portlet
> > A and submit it ,then I can see the text in Portlet B.
> >
> >   thanks
> >
> >   sophy
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


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



Re: communication between portlets

2003-07-30 Thread sophy
thanks, I have tried it  successfully.

sophy



- Original Message - 
From: "Holger Dewes" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, July 30, 2003 3:18 PM
Subject: RE: communication between portlets


> Hello,
> 
> yes, this is possible, since all portlets share the same request object
> (runData.getRequest()).
> So portlet B has to check the request in its buildNormalContext()
> method.
> 
> Cheers
> -- 
> Holger Dewes
> 
> > -Original Message-
> > From: sophy [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, July 30, 2003 3:54 AM
> > To: Jetspeed Users List
> > Subject: communication between portlets
> > 
> > 
> > hi, all
> >   
> >  Can I use jetspeed to implement the communication betwee 
> > two portlets? For example, when I input some text in portlet 
> > A and submit it ,then I can see the text in Portlet B. 
> >  
> >   thanks
> > 
> >   sophy   
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

RE: communication between portlets

2003-07-30 Thread Holger Dewes
Hello,

yes, this is possible, since all portlets share the same request object
(runData.getRequest()).
So portlet B has to check the request in its buildNormalContext()
method.

Cheers
-- 
Holger Dewes

> -Original Message-
> From: sophy [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 30, 2003 3:54 AM
> To: Jetspeed Users List
> Subject: communication between portlets
> 
> 
> hi, all
>   
>  Can I use jetspeed to implement the communication betwee 
> two portlets? For example, when I input some text in portlet 
> A and submit it ,then I can see the text in Portlet B. 
>  
>   thanks
> 
>   sophy   
> 


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



communication between portlets

2003-07-29 Thread sophy
hi, all
  
 Can I use jetspeed to implement the communication betwee two portlets? For 
example, when I input some text in portlet A and submit it ,then I can see the text in 
Portlet B. 
 
  thanks

  sophy   


YNT: communication between portlets

2003-06-04 Thread Ender Hikmet KILIÇOÐLU
yes but do not forget that there is an order for portlet process and it
depends on page layout. Maybe you can use global action without giving
js_peid so every portlet get this action. Maybe forward tool used for
internal forwards?

Ender


-Özgün Ileti-
Kimden: Stefan Kuhn [mailto:[EMAIL PROTECTED]
Tarih: Wednesday, June 04, 2003 12:17 PM
Kime: Jetspeed Users List
Konu: Re: communication between portlets


Am Wednesday 04 June 2003 10:22 schrieb Tobias Hummrich:
> Hi,
>
> I'm trying to create a web application using Jetspeed, but I'm not sure
> if it (or any portal framework, for that matter) offers the
> functionality that I need. More specifically, I'd like to know these two
> things:
>
> 1. How can the result of a request sent to one portlet be displayed in a
> different portlet?

This is no problem. All portlets share the same request/response object, so
you can have a form in one portlet and read the values in another portlet
via
request.getParameter() or runData.getParameters() and then display the
result
in this portlet.

>
> 2. How can a portlet access the state of another portlet?
>

Do you mean closed/minimized etc. ? I'm afraid I don't know this.
Stefan

> Basically, what I'm trying to do is implement a portal that behaves like
> an MDI application. Is that possible, or do I have the wrong idea about
> portals?
>
> Thanks in advance.

--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428   Fax: +49 (0) 221-470-5092
My public PGP key is available at http://pgp.mit.edu


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


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



Re: communication between portlets

2003-06-04 Thread Stefan Kuhn
Am Wednesday 04 June 2003 10:22 schrieb Tobias Hummrich:
> Hi,
>
> I'm trying to create a web application using Jetspeed, but I'm not sure
> if it (or any portal framework, for that matter) offers the
> functionality that I need. More specifically, I'd like to know these two
> things:
>
> 1. How can the result of a request sent to one portlet be displayed in a
> different portlet?

This is no problem. All portlets share the same request/response object, so 
you can have a form in one portlet and read the values in another portlet via 
request.getParameter() or runData.getParameters() and then display the result 
in this portlet.

>
> 2. How can a portlet access the state of another portlet?
>

Do you mean closed/minimized etc. ? I'm afraid I don't know this.
Stefan

> Basically, what I'm trying to do is implement a portal that behaves like
> an MDI application. Is that possible, or do I have the wrong idea about
> portals?
>
> Thanks in advance.

-- 
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428   Fax: +49 (0) 221-470-5092
My public PGP key is available at http://pgp.mit.edu


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



communication between portlets

2003-06-04 Thread Tobias Hummrich
Hi,

I'm trying to create a web application using Jetspeed, but I'm not sure 
if it (or any portal framework, for that matter) offers the 
functionality that I need. More specifically, I'd like to know these two 
things:

1. How can the result of a request sent to one portlet be displayed in a 
different portlet?

2. How can a portlet access the state of another portlet?

Basically, what I'm trying to do is implement a portal that behaves like 
an MDI application. Is that possible, or do I have the wrong idea about 
portals?

Thanks in advance.

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


Q on communication between Portlets

2002-06-06 Thread Yuji Miyawaki
Hi,

I am just started to learn JetSpeed and want to implement  portlets
communicating each other.

 Assume a portlet has the function of the tree-view of directory. If a
user
click a directory node in the portlet, then another portlet displays the

listing of the directory node

Please inform me the sample code for implement the function, or the
pointer
to learn the mechanism for it.

Following questions maybe FAQ...
I want to make an application to be a portlet. How can I do it...

The third question is the portlet openes within the portlet.  I read the
mail
archive and found the way to open in another browser page. However, I
cannot
find the way to open within the portlet (not open at the whole browser
window).

Any kind of information, pointers are welcome.

Best regards,

Yuji Miyawaki


--
To unsubscribe, e-mail:   
For additional commands, e-mail: