You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Yong Bing Khoo <yo...@hotmail.com> on 2003/03/25 02:12:33 UTC

Re: WAS : id parameter in psml by Pierre Henry

Hi Javed,

The js_peid is set in JspPortlet's getContent method.

regards,
yb





>From: "Javed Mahmud" <jm...@it.uts.edu.au>
>Reply-To: jmsyed@it.uts.edu.au
>To: <je...@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


Re: WAS : id parameter in psml by Pierre Henry

Posted by Javed Mahmud <jm...@it.uts.edu.au>.
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" <jm...@it.uts.edu.au>
>>Reply-To: jmsyed@it.uts.edu.au
>>To: <je...@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