Hello all,
I am in the process of learning the latest Jetspeed and I have a question
about placing multiple portlets on the same pane.
I was looking at the "HelloVelocity" Portlet example and trying to
understand how the actions worked and it struck me as odd that the target
URL for the form it generates appeared to submit to the overall "portal"
target (instead of to a specific Portlet). In addition, the action
specified in the form was not specific to a given Portlet instance.
As a test, I placed 2 instances of the HelloVelocity Portlet on the same
pane. I see what I would consider "odd" behavior.
First, when I submit a change to the text, both portlets are updated with
the text on the screen.
Second, when I minimize one of the Portlet instances, both instances
minimize.
I realize that HelloVelocity is probably a simple example and probably is
intended as a naive implementation, but it raises a question.
Is it possible in the Jetspeed architecture to implement a Portlet such that
if more than 1 of the same Portlet type are placed on the same pane, they
naturally act independently of each other?
I also noticed that the first time I changed the text in the Portlet, it
updated the psml file with the new text (by adding a parameter entry for the
"text" parameter). From then on, any new text entered never made it to the
psml file. In fact, on subsequent submissions of new text, the psml file
WAS updated, however, the "text" parameter was set to the first value that I
had entered (not the latest value).
I am hoping that the architecture supports this capability. If it does, it
may be a good idea for the simple HelloVelocity example to provide an
implemenation that supports more than 1 being placed on the same pane.
Any explanation or guidance would be appreciated.
Thanks,
Chuck
--
Charles D. Johnson
Vice President of Engineering
ViviPort, Inc., North Andover, Massachusetts USA
978.686.0096 | [EMAIL PROTECTED] | www.viviport.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]