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