cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh a View per button

Former Member
0 Kudos

hi all,

anybody knows a way to refresh the actual view per buttonclick?

background is, that i want to refresh a pdf which is on the view and gets individually filled.

actually i try it to make it per outbound->inbound but when i comeback to the view the pdf is totaly black!

thanks in advance

greets

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi and thanks for your answer.

but i do the contextbinding on the buttonclick, which calles the new pdf for the view...

the problem is that the pdf dont notice, that there is a new context which it should reload..

greets

Former Member
0 Kudos

hi,

if you are binding to the node, subnodes that are loaded by supply functions won't react,

try node->invalidate( ). before you bind the data to it (with node the one you bind to)

grtz,

Koen

Former Member
0 Kudos

hi i dont use supply functions but i will try it!

thanks anyway!

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Do the context binding again in the event handler of the button. Then your view should get refreshed. If you want the refresh to happen on clicking any button in your view, put the code in the modifyview method. It will be called for every action on your view.

regards

nithya