Hi Wei, I had the same problem last week (see my mail with title "Tricky behavior with JSP portlet and forms").
what I found out : > - the form in the JSP doesn't need any action attribute > > - the ony needed hidden field is js_peid which contains the > portlet's ID. > > > When I put a hidden field for the action : > <INPUT TYPE="hidden" name="action" > value="CustomizableXsqlPortlet1Action"> > the right method was called but the portlet argument of the > doUpdatefilter > method was null, so the action class couldn't do much. So try to remove the action field... I hope it helps ! Pierre > -----Original Message----- > From: Wei Guan [mailto:[EMAIL PROTECTED]] > Sent: lundi, 27. janvier 2003 07:49 > To: [EMAIL PROTECTED] > Subject: portlet object in doUpdate() > > > I have a doUpdate in an VelocityAction class: > > VelocityPortlet portlet = (VelocityPortlet) context.get("portlet"); > > the portlet is null. > > Is this a bug? > > Wei >