As Holger noticed, the id will still have a second "-".

There is 2 solutions :

1.
You override the incriminated class by extending it and simply extending getNextPeid 
not to put the "-".
Then you redefine the service in JS.pr :
#services.IdGenerator.classname=org.apache.jetspeed.services.idgenerator.JetspeedIdGeneratorService
services.IdGenerator.classname=path.to.my.new.JetspeedIdGeneratorService

The only stuff you have to be aware is that the next Id generated has to be unique. I 
don't think the method is going to change inside jetspeed but I can't say for sure :(

2.
In your portlet getContent, you get the portlet id, work with to replace all the "-" 
with something else, and add it where you want in your portlet (or in context).

HTH
Aurelien

[EMAIL PROTECTED] a �crit :

> Thanks Aurelien for your timely response.
> It's exactly what I was looking for.
> 
> Regards,
> --Alen

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

Reply via email to