You need to sign in to do that
Don't have an account?
srilakshmib87
Update the table Contents using Partial page update concept
Hi..,
I have VF page which contains dropdown ,an execute button and Refresh button and a table.Upon selecting a value in the dropdown and click on execute button,at the back end a method will execute and update a value custom object field.
Upon Clicking the Refresh button i want to display the update value in the table of VF page.I am able to update the table but whole page is getting loaded.
I want to refresh only the table componenet part not the dropdown when i click refresh button.
Can anyone please help me acheive this.
Thanks,
Srilakshmi B
Srilakshmi-
I wrote a quick blog post to answer your question. Hope it helps!
http://timinman.blogspot.com/2010/08/community-question-response-partial.html
All Answers
You can do this by wrapping the components you wish to refresh in an outputPanel component, then change the commandButton component to include a rerender attribute.
The VisualForce Developer's Guide has a section entitled "Implementing Partial Page Updates with Command Links and Buttons" which covers exactly what you are trying to achieve.
Srilakshmi-
I wrote a quick blog post to answer your question. Hope it helps!
http://timinman.blogspot.com/2010/08/community-question-response-partial.html