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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]