You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Tarek Aridi <ta...@cmguc.com> on 2003/10/24 02:02:19 UTC

Retain Customize screen after clicking on doUpdate button

Please help me on this task.
I have modified the custom temple for the DatabaseBrowerAction to filter
database query results and would like to stay in the Customize screen when
clicking the Update button.  I tried several things but nothing worked for
me. It always takes me back to the main portlet.


In the DatabaseBrowerAction:doUpdate method I'm doing the following:



    public void doUpdate(RunData rundata, Context context)
    {
        VelocityPortlet portlet = (VelocityPortlet)context.get("portlet");
        String st_rebrand
=(String)rundata.getParameters().getString(REBRAND);
        System.out.println("AVS Rebrand Value = "+st_rebrand);
        AVSUpdateBrandingGroup(portlet, context, rundata,st_rebrand,null);


//       buildConfigureContext( portlet, context, rundata );  //this didn't
work
      context.put("action","controls.Customize");

      try
      {
		//doPerfoem(rundata,context);   //This did work
      	perform(rundata);				// This didn't work
either
      }
      	catch (Exception e)
      {

      }
    }

What am I doing wrong?

Thanks in advance.

Rick Aridi



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