New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 3 Question 101 Discussion

Actual exam question for Salesforce's Salesforce Certified Platform Developer II (Plat-Dev-301) exam
Question #: 101
Topic #: 3
[All Salesforce Certified Platform Developer II (Plat-Dev-301) Questions]

Refer to the exhibit

Users of this Visualforce page complain that the page does a full refresh every time the Search button Is pressed.

What should the developer do to ensure that a partial refresh Is made so that only the section identified with opportunity List is re-drawn on the screen?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Dante
3 months ago
Wait, why would we use immediate=true? That seems risky.
upvoted 0 times
...
Peggie
3 months ago
D sounds interesting, but does it really work?
upvoted 0 times
...
Gayla
3 months ago
C doesn't make sense, that won't help.
upvoted 0 times
...
Alishia
4 months ago
I think B could work too, but not sure.
upvoted 0 times
...
Christiane
4 months ago
A is the way to go for partial refresh!
upvoted 0 times
...
Dalene
4 months ago
I vaguely remember the tag being useful for this kind of situation, but I’m unsure about the immediate attribute.
upvoted 0 times
...
Erinn
4 months ago
I practiced a question similar to this, and I feel like returning null in the action method might not be the best approach for partial refresh.
upvoted 0 times
...
Tashia
4 months ago
I think the render attribute on the button could work, but I can't recall if it specifically targets the right section.
upvoted 0 times
...
Aretha
5 months ago
I remember something about using the tag to limit the refresh area, but I'm not entirely sure if that's the right choice here.
upvoted 0 times
...
Luisa
5 months ago
This seems straightforward. Enclosing the data table in the `` tag should be the simplest solution to achieve the partial refresh that the users are looking for.
upvoted 0 times
...
Joesph
5 months ago
Ah, I see. Using the `` tag with `immediate=true` should allow us to refresh the specific section without a full page reload. That's a good strategy to try.
upvoted 0 times
...
Tamera
5 months ago
I'm a bit confused by the options. I'll need to double-check the documentation on partial refreshes in Visualforce to make sure I understand the differences between the choices.
upvoted 0 times
...
Krystina
5 months ago
Hmm, I think the key here is to use the `` tag to target the specific section that needs to be refreshed. That should do the trick without a full page refresh.
upvoted 0 times
...
Marshall
5 months ago
This looks like a tricky one. I'll need to carefully review the Visualforce page structure and the controller code to determine the best approach.
upvoted 0 times
...
Gracia
5 months ago
I'm a bit unsure about this one. Is there an option to make the pictures smaller in size without losing quality?
upvoted 0 times
...
Cecily
1 year ago
Option B with the render attribute? That's a classic developer trick to show off, but I'm not sure it's the right solution for this problem. Keep it simple, folks - go with A!
upvoted 0 times
Kami
1 year ago
Yeah, let's go with option A for a partial refresh.
upvoted 0 times
...
Ashton
1 year ago
I think option B might be overcomplicating things, A seems like the better choice.
upvoted 0 times
...
Kenneth
1 year ago
I agree, keeping it simple with option A is the way to go.
upvoted 0 times
...
...
Mike
1 year ago
Whoa, hold up, are we sure the developer didn't just forget to include the 'required' attribute on the 'Search' button? That would be a real knee-slapper of a solution!
upvoted 0 times
...
Alisha
1 year ago
I'd steer clear of option C. Returning null from the action method? That just sounds like a recipe for trouble. A or D are my top picks here.
upvoted 0 times
Jutta
1 year ago
Yeah, option D could also work to ensure a partial refresh.
upvoted 0 times
...
Aileen
1 year ago
D) Implement the tag with immediate = true.
upvoted 0 times
...
Ivette
1 year ago
I agree, option A seems like the best choice to avoid a full refresh.
upvoted 0 times
...
Peggie
1 year ago
A) Enclose the DATA table within the tag.
upvoted 0 times
...
...
Ashleigh
1 year ago
Hmm, that makes sense too. Let's see what others think before we make our final choice.
upvoted 0 times
...
Aide
1 year ago
I disagree, I believe the correct answer is D) Implement the tag with immediate = true.
upvoted 0 times
...
Mignon
1 year ago
Option D looks interesting, but I'm not sure about that 'immediate = true' part. Might be worth a try, but A sounds like the safer bet to me.
upvoted 0 times
Beth
1 year ago
Let's go with A then, it's the most reliable option to ensure a partial refresh.
upvoted 0 times
...
Leana
1 year ago
I agree, A seems like the best choice to avoid a full refresh every time the Search button is pressed.
upvoted 0 times
...
Leslie
1 year ago
I think A is the safer option here. It will ensure only the section identified with opportunity List is re-drawn.
upvoted 0 times
...
...
Jean
1 year ago
Definitely go with option A. Enclosing the DATA table within the tag is the way to go. Partial refreshes are the way to keep users happy and avoid those annoying full-page reloads.
upvoted 0 times
Antonio
1 year ago
Let's go with option A then, to avoid full-page reloads.
upvoted 0 times
...
Frederick
1 year ago
I agree, partial refreshes are much better for user experience.
upvoted 0 times
...
Ruby
1 year ago
Yeah, enclosing the DATA table within the tag will solve the issue.
upvoted 0 times
...
Ngoc
1 year ago
I think option A is the best choice.
upvoted 0 times
...
...
Ashleigh
1 year ago
I think the answer is A) Enclose the DATA table within the tag.
upvoted 0 times
...

Save Cancel