4
votes
Accepted
Rerendering of an output panel not happening
Unfortunately, this is how the Visualforce framework works. When you supply an Id value to the rerender attribute, Visualforce finds that element in the DOM and when your request is complete, re-...
3
votes
Accepted
<apex:actionSupport> event not firing in <apex:selectRadio> group
The problem in your code is that the outputPanel is never rendered by default. That is it ID is not accessible by the actionSupport. To solve this you will need a "wrapper" outputPanel and rerender it....
3
votes
Visualforce rendering woes - layout is broken when using a parent <apex:outputPanel>
Unfortunately if the Section items are not rendered the first time then they will not be rendered properly.
Also note that <apex:pageBlockSectionItem> components can't be
rerendered; ...
3
votes
Accepted
Load data without a page refresh
pullReportOP appears to be an apex:actionFunction. You need to specify the reRender attribute on this element, not on your a anchor. Despite the JavaScript-y nature of apex:actionFunction, if you don'...
3
votes
Accepted
ReRender outputPanel via commandLink not reRendering anything when pressed
You issue is that:
You are updating tempContact
Your getIsVerified method is using the cont variable Last_Verification_Date__c field which is set on page load
You are not updating the cont variable ...
3
votes
Displaying a list returned from a method on a Visualforce page
Apex is a case-insensitive language. The identifiers pgm and PGM are the same as far as the compiler is concerned. In addition, there is a key logical error in the code populating this variable. Let's ...
2
votes
Using javascript inside the render attribute of apex:outputPanel
if you want to use rerender you will need a property in your apex controller e.g.
Boolean renderPanel {get; set;}
Your output panel would be rendered based on this property e.g.
<apex:...
2
votes
Accepted
PageBlockTable causing outputpanel to not rerender
Please Check my blog here. If you have a panel with rendered condition you need to wrap with another panel without any condition and rerender it.
<apex:outputPanel id="outerPanel">
<apex:...
2
votes
Accepted
How to format label within an output panel
Just rerender the whole section:
<apex:pageBlockSection id="someId">
<!-- additional markup -->
<apex:pageBlockSectionItem rendered="{!...}">
<!-- additional ...
2
votes
Accepted
Difference between Output Panel vs Page Block Buttons in Visualforce?
If you pay a bit of attention to the rendered section of,
<apex:outputPanel rendered="{!$User.UIThemeDisplayed =='Theme4d'}">
you'll realise that the commandButton inside is ...
1
vote
Accepted
output panel is showing error while saving visualforce page
That is not the way to generate the visualforce dynamically, the other simpler way I can think of is to write two output links and render it based on your conditions.
Your visualforce page which ...
1
vote
how to set dynamic height of output panel on vf page within a section on record detail page?
Embedded Visualforce pages always exist in a fixed-height container on the page layout, the height of which is configured in the page layout editor.
Without replacing the entire record page with a ...
1
vote
Accepted
ouput panel not rendering for picklist value onchange event
As this apex:inputfield is required
<apex:inputfield value="{!ca.Other_Type__c}" required="true" />
So your rerender will work for first time but next time when you rerender it again it will ...
1
vote
Rerendering nested output panel at onChange event of Selectlist not working
I have looked at your page and have created a controller for this, to test it.
If your SetChangeFlag() changes the isExists property, I get the behaviour that you describe. The checkbox stays checked,...
1
vote
outputPanel rerender css issue
Use apex:pageBlockSectionItem as mentioned by Santanu.
Important thing is that apex:pageBlockSectionItem must contain 2 elements, apex:outputLabel and its input.
Also you can apply rendered property ...
1
vote
OutputPanel causing extra lines on VF page
For your wrapper outputPanel op1 set layout ="none" and then inside that put your conditionally rendered components.
You need the outer panel because if inner components are not rendered when page is ...
1
vote
How to show/hide pageblock based on clicking a button in Visualforce using a standard controller?
<apex:pageBlock rendered="{!NOT(isSaved)}">
<apex:pageBlockButtons location="Bottom">
<apex:commandButton rerender="pageblock-one" value="Save" action="{!quicksave}" />
...
1
vote
How to rerender panel only onetime for onkeydown/onkeypress/onkeyup Javascript events
You need to clear the previous timer, or you'll get multiple calls, spaced one second after the original event:
var timer;
function SetTimer(e){
if(timer) clearTimeout(timer);
timer = ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
outputpanel × 48visualforce × 35
rerender × 24
apex × 9
rendered × 7
repeat × 4
actionsupport × 4
javascript × 3
dynamic-visualforce × 3
pageblocktable × 3
pageblock × 3
visualforce-component × 2
css × 2
actionfunction × 2
commandbutton × 2
selectoption × 2
refresh × 2
pageblocksection × 2
selectradio × 2
community × 1
custom-button × 1
picklist × 1
html × 1
page-layout × 1
lightning-design-system × 1