Hi, all:
I customized a meun item and the action to create a specific form. ( it'a almost equivelent to click File\New\Form and click next)
public boolean execute(String s, IConfigElement iconfigelement,
ArgumentList argumentlist, Context context, Component component,
Map map) {
//create a specific form instance, get object id
...
//jump to xformedit component
ArgumentList arg = new ArgumentList();
arg.replace("objectId", xFormObjectId.getId());
arg.add("isNew", "true");
arg.add("deleteOnCancel", "true");
component.setComponentJump( "editxforms", arg, new Context() );
}
After I click the "cancel" button on the form, the form disappears and browser screen become all white.
But if I use File\New\Form to create the same form and click the same "cancel" button on the form, the brower will reload and navigate back to main component.(main screen)
could somebody know the reason?
what do I have to do to navigate the browser back to main component after I click the "cancel" button(cancel trigger) on the form?
thanks in advance.