cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

page refresh

Sriram_Rammohan
1-Visitor

page refresh

Hi All,

Can you help me solving my issue,

When I am creating a document object via wizard ,the pop-up message "Object created successfully !" is displayed.ButI am not able to refresh my info page.The document object is createdunder the "Related Objects" tab in the Part info page.I have to maually apply F5 to get the document object appear in the Table.

I am extending PartDocCreateObjectFormProcessor.

Can you suggest a solution for this.

Sriram

1 REPLY 1

public FormResult setResultNextAction( FormResult formresult,
NmCommandBean nmcommandbean, List list )

throws WTException {





if(formresult.getStatus() ==
FormProcessingStatus.SUCCESS || formresult.getStatus() ==
FormProcessingStatus.NON_FATAL_ERROR)

{


formresult.setNextAction(FormResultAction.REFRESH_CURRENT_PAGE);



} else

if(formresult.getStatus() ==
FormProcessingStatus.FAILURE)

{


formresult.setNextAction(FormResultAction.NONE);

}

return formresult;



}



Override this in same class as form processor with do Operation. There
should be a status to refresh parent page that invocated wizard.












Announcements


Top Tags