>
> I am having a problem of trying to submit a portlet to itself and have it
> rendered correctly.
>
> I have a defined a .psml file is made up of a single tag, that
> then groups 4
> more tags.  Under each of these tags is assigned a .jsp file.  I
> have built

I assume you meant "tabs" not "tags".

> and action class and the buildNormalContext method is working
> correctly.  I
> have added an action called doResolve to this action class.  Now, the .jsp
> files have a form section.  The form is submitted by the user clicking a
> link, which calls a javascript function which which sets some
> hidden values
> in the form section and then calls the submit() method of the form.  I can
> see that the action method doResolve is being called.
>
> What is happening is that the current .jsp page is being displayed back to
> the user, but the tabs are no longer there.
>
> Any ideal has to what would cause this to happen? and what can be done to
> fix it?

I would make sure that the .jsp is defined something like:

============================================================================
==================
<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%>

<FORM METHOD="POST" ACTION="<jetspeed:uriLookup type="Home"/>">
  <INPUT TYPE="hidden" NAME="js_peid" VALUE="<%=(String)
request.getAttribute("js_peid")%>">
  <INPUT TYPE="SUBMIT" NAME="eventSubmit_doResolve" VALUE="Resolve">
</FORM>
============================================================================
==================

Hope this helps.

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]

Reply via email to