Again, thanks for the reply.

When I did something like this
<jetspeed:uriLookup type="Task Detail" />
I got an error that it did not know what Task Detail was.

I don't follow your comments at the end of this post:
[Why not just have a hyperlink to task_detail.psml (via the portletlink
tag)?
Remember that once you display task_detail.psml page, all actions will
execute in that context.]

are you saying do something like this
<a href="<jetspeed:portletlink name="Task Detail"
psml="user/user/media-type/html/page/task_detail.psml"
action="TaskListAgent.doResolve"/>">

What needs to happen is that when a user wants to resolve the task, there is
some stuff that is going to happen, the status is going to change and I need
to show that to the user, that is why i was looking at post the page back to
itself.

But, i find it weird that if I go to another tab and then back to the
previous one then the posting works.

Task Detail - first level tab
Overview Note Exceptions History - second level tab

There there are portlets assigned to each of the send level tabs

Each portlet will share the same links at the bottom of each .jsp.  When
they select a link, an action will happend and the portlet that was
displayed when the link was selected, needs to be redisplayed.  The links
call a simple javascript which sets some hidden fields in the form tags and
then calls the document.myForm.submit() method to submit the page to the
TaskListAction.java

..
Hope the problem is clear.  I am new to jetspeed and new to java in general.

Thanks


-----Original Message-----
From: Mark Orciuch
To: Jetspeed Users List
Sent: 2/19/03 11:35 AM
Subject: RE: Help submitting portlet to its self

>
> thanks for the reply, but using that tag, will take me to my home page
and
> that is not where I am for this issue.

It should take you to the currently selected tab (I know Home is
misleading).

>
> So, I have a home page which is made up of several portlets.  One of
these
> portlets has a link that when click will bring up a new screen which
> contains the page of interest.  This page has a main tab, in which 4
other
> "panes" (tabs) have been added.  Now for each of these tabs, a
differant
> portlet has been assigned to it.
>
> Now, I thought that what I could do is something like this:
>
> <form name='myForm' method='post' action='<jetspeed:portletlink
name="Task
> Detail" psml="user/user/media-type/html/page/task_detail.psml"/>'>
>

Why not just have a hyperlink to task_detail.psml (via the portletlink
tag)?
Remember that once you display task_detail.psml page, all actions will
execute in that context.

Best regards,

Mark Orciuch - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


---------------------------------------------------------------------
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]

Reply via email to