Vlad,
There is no direct access to the PSML Page or Fragment from a portlet.
If there were, it would certainly not be a JSR-168 portable feature!
The easiest thing is to simply create a derived portlet that more or
less invokes doEdit() on doView()... there are portlets that swap
doView/doEdit based on internal state, (see the SSOIFramePortlet for
example). That approach might be effective for what you are trying to
achieve.
If you feel that you would like this feature despite the non-standard
pitfalls, feel free to submit a JIRA issue... you are certainly not the
first that has requested such a capability.
Randy
Vlad Mangeym wrote:
I am using Jetspeed2 (M3).
I am trying to create two PSML pages that each have the same portlet,
but on one page I want to display it in view mode and on the other one
it should be in the edit mode.
Is there a way to set portlet's mode from the PSML?
Is there a way to set/send any attribute (or parameter) to the portlet
from PSML?
Any help will be greatly appreciated.
---------------------------------------------------------------------
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]