cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh of The page

Former Member
0 Kudos

Hi

I have prepared a application which has a Insert button when we click on insert we get a form this page has two buttons Save and Back . After filling all the details if we do Back and then click on Insert then the Form is not getting refreshed . It has all the Details fill .

Plz can Anybody help me .

I have tried it with Invalidate it is not working .

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You have to invalidate in the method onActionPlug<FirstView> of the Save and back button in the second view. Then it will work.

Reason being the init of the Second view will be called only for the first time in a session. So, we have to invlaidat or clear the values in the plug from first view action.

Regards,

Nagarajan.

Former Member
0 Kudos

Hi,

where you are invalidating the node?

Invalidate the node onActionOfInsert().

thanks & regards,

Manoj

Former Member
0 Kudos

Hi,

Try these steps:

1. Have a "<i>boolean</i>" member inside the second view controller class. Let's call it "<i>isPlugged</i>". In the onPlug<plug name> event handler in the second view set this

wdThis.isPlugged = true;

2. In the "<i>wdDoModifyView()</i>" of the second view, write this code:

if(wdThis.isPlugged)
   view.resetView();

Regards,

Satyajit.

Former Member
0 Kudos

Hi Anuradha,

Just go to the view wherein you have bakc and save button and open the properties of the view.

Set the Lifetime for that view to When Visible.

Regards,

Murtuza