Oliver Pfau wrote:

is this jetspeed specific or possible in JSR 168 too ?


jspeid is specific to Jetspeed 1 and allows Jetspeed 1 to figure out which portlet should be the target of the action.

In Jetspeed, JSR-168 portlets function in a very similar way, currently you have PorletURL object that is generated by the RenderResponse.createRenderURL() or RenderResponse.createActionURL() used to generate a URL that is unique to that portlet on that page either rendering or invoking actions repsectively.

-----Urspr�ngliche Nachricht-----
Von: Flo�mann Christoph [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 8. Juli 2004 08:55
An: Jetspeed Users List
Betreff: RE: Portlet programming basic question


What I understood, the jspeid is used to identify portlets on the same pane. The code is in the tutorial, here again (for jsp):

=====================================
<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%>
...
<%
   String jspeid = (String) request.getAttribute("js_peid");
%>
<form method="POST" action="<jetspeed:dynamicUri/>">
        <INPUT TYPE="hidden" NAME="js_peid" VALUE="<%=jspeid%>">
</form>
=====================================


-----Original Message----- From: Oliver Pfau [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 8:48 AM To: 'Jetspeed Users List' Subject: AW: Portlet programming basic question


now I store all the user specific attributes in the PortletSession and it seems that it works.... sorry for this question, but what is the jspeid ? something Jetspeed specific ?

-----Urspr�ngliche Nachricht-----
Von: Flo�mann Christoph [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 8. Juli 2004 08:37
An: Jetspeed Users List
Betreff: RE: Portlet programming basic question


And you are sure that you are using sessions and the jspeid?

-----Original Message-----
From: Oliver Pfau [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 11:29 AM
To: Jetspeed Users List (E-Mail)
Subject: Portlet programming basic question


Hi,

I have the following problem...

I wrote a TreePortlet which is rendering a tree with the
javax.swing.DefaultMutalbeTreeNode data structure.... on init of the portlet
I retrieve the root node, which contains all child nodes, and I store it in
the portlet....in the doView() I dispatch the TreeNode structure to a jsp in
which the structure is rendered....now I have the following problem: when
user X expands a node of the tree, user Y is concerned by the change too. So
all changes a user in the tree makes the other users are concerned... the
TreeNode data structure in the portlet seems to be globally for all users...
well I can use a hashmap with user-TreeNode pairs, but shouldn't the portlet
container handle this ??
By the way I tested it with exo beta 5 by now.... it would be very
interesting for me if this a problem of my design or a problem of the
portlet container.

Thanks,
Oliver


--------------------------------------------------------------------- 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]

---------------------------------------------------------------------
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]

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






--
******************************************
*           Scott T. Weaver              *
*         <[EMAIL PROTECTED]>            *
*     <http://www.einnovation.com>       *
* -------------------------------------- *
*   Apache Jetspeed Enterprise Portal    *
*     Apache Pluto Portlet Container     *
*                                        *
* OpenEditPro, Website Content Mangement *
*     <http://www.openeditpro.com>       *
******************************************


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



Reply via email to