portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javed Mahmud" <jms...@it.uts.edu.au>
Subject Re: WAS : id parameter in psml by Pierre Henry
Date Tue, 25 Mar 2003 02:11:30 GMT
Out of curiousity where does this getContent Method gets the id values from?

javed
> Hi Javed,
>
> No, the js_peid value uniquely identifies portlets. This helps to
> distinguish portlets with the same name.
>
> regards,
> yb
>
>
>
>>From: "Javed Mahmud" <jmsyed@it.uts.edu.au>
>>Reply-To: jmsyed@it.uts.edu.au
>>To: <jetspeed-user@jakarta.apache.org>
>>Subject: Re: WAS : id parameter in psml by Pierre Henry
>>Date: Tue, 25 Mar 2003 12:40:38 +1100 (EST)
>>
>>Hi yong,
>>Well this jspeid value is the value for individual portlets set for
>> every portlet being displyed in the user view? or this is for a
>> particular request... if it is for particualr request then question is
>> the
>>portlet.getId() method in build normal context will be the same to the
>> request one no matter what portlet is being submitted.
>>
>>javed
>>
>> > Hi Javed,
>> >
>> > The js_peid is set in JspPortlet's getContent method.
>> >
>> > regards,
>> > yb
>> >
>> >
>> >
>> >
>> >
>> >>From: "Javed Mahmud" <jmsyed@it.uts.edu.au>
>> >>Reply-To: jmsyed@it.uts.edu.au
>> >>To: <jetspeed-user@jakarta.apache.org>
>> >>Subject: WAS : id parameter in psml by Pierre Henry Date: Tue, 25
>> Mar
>> >> 2003  12:05:56 +1100 (EST)
>> >>
>> >>Hello All,
>> >>I have developed a personalized web site based on Jetspeed
>> framework. I
>> >> have been thinking of using jspeid field to know exactly which
>> portlet has been submitted and the corresponding portlets action or
>> build normal context should be run based on that field rather than
>> running the heavy code for all the portlets even if they are not
>> submitted.
>> >>Now the question is that one gets the jspeid field in the request
>> but
>> >> with what this jspeid field shud be compared with in the action or
>> build normal context method. ( I am sorry if I sound a bit confused
>> but I actually am :))
>> >>I am assuming that the portlet in the build normal  context method
>> is
>> >> the portlet which is being submitted and its id can be fethced by
>> >>portlet.getID() method. Now the ID in the HTTPrequest where is it
>> set
>> >> as I can see in the JSP's that a call is made to
>> >>String jspeid = (String) request.getAttribute("js_peid");
>> >>where is this attribute set as this value is used in :
>> >><input type="hidden" name="js_peid" value="<%=jspeid%>">
>> >>
>> >>So I want to know where this jspeid valu is set.
>> >>
>> >>Thanks
>> >>Javed
>> >>
>> >>
>> >>
>> >>---------------------------------------------------------------------
>> >> To unsubscribe, e-mail:
>> jetspeed-user-unsubscribe@jakarta.apache.org For additional
>> commands, e-mail: jetspeed-user-help@jakarta.apache.org
>> >>
>> >
>> >
>> > _________________________________________________________________
>> MSN Instant Messenger now available on Australian mobile phones. Go
>> to http://ninemsn.com.au/mobilecentral/hotmail_messenger.asp
>> >
>> >
>> > ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail:
>> jetspeed-user-help@jakarta.apache.org
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>>
>
>
> _________________________________________________________________
> MSN Instant Messenger now available on Australian mobile phones. Go to
> http://ninemsn.com.au/mobilecentral/hotmail_messenger.asp
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org For
> additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


*---------------------------------------*
|Research Assistant                     |
|Building 10                            |
|Room 4405                              |
|Faculty of Information Technology      |
|Department of Computer Systems         |
|University of Technology Sydney        |
|Phone: 9514 4513                       |
|Mobile : 0413 607172                   |
*---------------------------------------*



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Mime
View raw message