You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Patrick McCabe <pa...@gmail.com> on 2007/05/23 15:26:10 UTC

Submitting a Form using POST to RenderURL

Hi All,

We were running a site using Jetspeed 2.1-Dev and are now trying to get
everything working with 2.1 Final. We have quite a few places where we were
using a HTML form, like follows.
<form method="POST" action="<portlet:RenderURL/>">
<input type ="hidden" name="blah" ... />
</form>

Since moving to 2.1 Final this no longer works.  It seems that the portlet
is not called at all, as nothing in the doView method gets executed.  Does
anybody have any ideas what is going on here?

Thanks

Pat

Re: Submitting a Form using POST to RenderURL

Posted by Aaron Evans <aa...@gmail.com>.
Sounds like you are getting cached portlet content.  You might set
your cache setting in portlet.xml to 0 and see if that helps.

I would think you would want to use an action URL instead of a render
URL for your form post though...

On 5/23/07, Patrick McCabe <pa...@gmail.com> wrote:
> Hi All,
>
> We were running a site using Jetspeed 2.1-Dev and are now trying to get
> everything working with 2.1 Final. We have quite a few places where we were
> using a HTML form, like follows.
> <form method="POST" action="<portlet:RenderURL/>">
> <input type ="hidden" name="blah" ... />
> </form>
>
> Since moving to 2.1 Final this no longer works.  It seems that the portlet
> is not called at all, as nothing in the doView method gets executed.  Does
> anybody have any ideas what is going on here?
>
> Thanks
>
> Pat
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org