Thanks Scott for the info.

So you mean it's definitely not a good method to copy the psml from a user
(eg. turbine) to generate a default psml for new users who don't have psml
(in this case I don't create the users from the jetspeed interface but
directly in the db, from another application, so the psml is not created
automatically) ?

How about if portlets are inserted in a user's psml another way than the
customizer ? How should we generate these id's ?

Pierre

> -----Original Message-----
> From: Weaver, Scott [mailto:[EMAIL PROTECTED]
> Sent: mercredi, 12. mars 2003 14:46
> To: 'Jetspeed Users List'
> Subject: RE: id parameter in psml
> 
> 
> Hi Pierre,
> 
> > What is the meaning of the id field of a portlet (or group 
> of portlet)
> > entry
> > in the psml ? (eg. <entry id="P-f39483b0dd-10001"
> > parent="emp2">...</entry>)
> 
> It is a unique identifier for that portlet that is generated 
> when you add a portlet via the customizer.
> 
> > Are these id's related to the js_peid of the portlet object 
> ? Are there
> > any
> > nefast consequences if I copy a psml file which contains 
> entries with such
> > id's from one user to another (they would then have the same id's) ?
> 
> js_peid and the id in the psml are one in the same.  Jetspeed 
> use to use the name of the portlet as a unique identifier, 
> but was changed.  By using a unique js_peid you can have more 
> than one of the same portlet in a pane where as before, that 
> was not possible.  The js_peid also helps control action 
> event execution by limiting the execution to only the portlet 
> whose js_peid matches that of request variable submitted.  We 
> had issues in the past where all like named event methods 
> were being fired when action execution was requested.
> 
> Deleting the id may not seem to have any immediate effects, 
> but could definitely cause you problems in the future.  Best 
> to leave it alone.
> 
> -scott
> 
> 
> 

Reply via email to