Chris,

One can define properties in the psml page fragments, (see the castor page-mapping.xml file in components/page-manager/src/java/META-INF). Assuming that your portlet code can access the current fragment and consume them, you should be set.

I have not actually done this, so YMMV and I am not sure how to get the properties in the portlet code out of the portlet request. If you do succeed, please add to the wiki or this list with a reply.

Thanks,

Randy

Chris Custine wrote:

This pertains to J2 BTW.

On 6/23/05, Chris Custine <[EMAIL PROTECTED]> wrote:
I remember seeing this question before but I can't find any outcome anywhere. I have a portlet that I want to parameterize so that I can use it in several places but have slight customizations for each instance. So for example, lets say I want the same weather portlet 3 times on a page but each one has a different city. I don't want this to be a per user preference, I want the admin to be able to specify the parameter in PSML so that the users all get the same thing. Is there (or will there be) a way to pass a parameter from the PSML so that the fragments get the cities passed to them (and or all users). I hope this question makes sense, if not I can elaborate.

Thanks,
Chris




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

Reply via email to