portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarek Aridi <tar...@cmguc.com>
Subject Retain Customize screen after clicking on doUpdate button
Date Fri, 24 Oct 2003 00:02:19 GMT
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


Mime
View raw message