on 06-17-2008 11:06 AM
Hi
I have used 2 views ie. overview and details view.
On overview I have a table bound to the valuenode which is filled with data from backend on Doinit method..
In details view I allow the user to create new record .
Once user has inserted a record in details view with the help of fireplug I redirect user to overview . I want the overview page to be refreshed and display newly inserted record.
If i refresh manually the new record is displayed .I want it to happen without physically refreshing the page.
I am also updating the value node on details view with new record inserted.
Please help
Hi Anzar,
If you want to show fresh data on your screen everytime screen is displayed then in your inbound plug bind the node and fetch data again.
binding node will clear all the previous data . and fetching will populate fresh data from database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Write the below code in your inbound plug action method
this.wdDoInit();
Or If you want to refresh your view the below code will help you
view.resetView()
Regards
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In inbound plug of overview view, just call the method which
takes data from backend and fills table.
Regards
LakshmiNarayana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anzar,
While coming back to first view first invalidate the node and then get the data from teh back end once again and set the node with the values.
Regards,
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.