Skip to main content
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-...
dsharrison's user avatar
  • 3,992
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; ...
Eric's user avatar
  • 54.2k
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'...
sfdcfox's user avatar
  • 497k
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 ...
Eric's user avatar
  • 54.2k
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 ...
David Reed's user avatar
  • 93.2k
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:...
sunnymatharuuk's user avatar
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:...
Avijit Chakraborty's user avatar
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 ...
Adrian Larson's user avatar
  • 151k
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 ...
Sergio Alcocer's user avatar
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 ...
Vijay Ganji's user avatar
  • 6,656
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 ...
David Reed's user avatar
  • 93.2k
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 ...
Tushar Sharma's user avatar
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,...
Florian Heer's user avatar
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 ...
Raul's user avatar
  • 18.8k
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 ...
CloudHugger's user avatar
  • 1,791

Only top scored, non community-wiki answers of a minimum length are eligible