Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rendered]

rendered is an attribute in Visualforce Components used to determine whether the Component should be visible in Visualforce Page or not by passing true or false.

0
votes
2answers
93 views

How to fix: rendered=“false” on a selectoption causes further selectoptions within the repeat to not render

<apex:repeat value="{!myList}" var="item" id="myRepeater"> ... <apex:selectList required="" value="{!item.newValue}" id="mySelectlist" multiselect="false" size="1" style="border:none;-...
2
votes
1answer
224 views

Page displays apex scripts while using render=“true” in <apex:page message> visualforce page?reasons?

When I am trying to display page message in vf page I am getting the following issue and that is because of using rendered="true" Page getting displayed with following code: visualforce page code: ...
1
vote
1answer
373 views

Visualforce RenderedAs=“pdf” is not working as expected

I have the following code :- <apex:page controller="ReportsController" showHeader="false" sidebar="false" title="Valve Sizing Data" name="Sizing Data" applyHtmlTag="false" renderAs="pdf"> The ...
1
vote
1answer
35 views

Add component validation to avoid 'SObject row was retrieved via SOQL without querying the requested field' for grandchild

I want to create a component that can accept an SObject without requiring it to have all of the fields displayed on the component. However, when trying to access a grandchild, I am not able to render ...
1
vote
1answer
394 views

Rendering text or image in Custom Email Template (HTML Version)

I have a custom email template (html and text versions). I want to render certain parts of the template based on a multi select picklist value. I have to render the below 'td' when User....
0
votes
1answer
42 views

Rendered on selectlist not unrendering when a value is selected

I have a problem that I really can't seem to understand. I have a custom Page that has 2 sections. In the first section I select the type of information wanted, and on the second section I display a ...
0
votes
1answer
36 views

styles are changing in <li> , If I put <li> in outputpanel

I am looking to display labels based on the condition for that I am trying to use Outputpanel. But, If I use Outputpanel "li" tag styles are changing and Underline is coming on labels when we put ...
0
votes
1answer
230 views

Need VF Page Opportunity fields to hide/show when checkbox is checked

I have Vf page on Opportunity with custom controller. I need to make fields visible only after checkbox is checked. here is my code . something is missing . i'm getting fields hide all time. Vf Page ...
0
votes
1answer
40 views

Render google map in Page Block Section

My Vf page have 3 steps. And I'm try to show google map in step 3. <apex:PageBlockSection title="Google Maps" columns="2"> <body> <input id="pac-input" ...
2
votes
0answers
125 views

Visualforce conditional rendering formula not evaluating to True

It seems like my rendered If statement is not evaluating as expected (at least my expectations). Basically, I have 2 Id fields pulled from apex, and if they equal each other, it conditionally displays ...
2
votes
0answers
566 views

Rendered not working translated picklist value radio buttons

Im trying to translate visualforce page. I have used custom labels to built the page. the page is translated good. For picklist values I used the below code, the picklist values are also translated ...
1
vote
0answers
87 views

How to appear a field based on the two different field values?

I have 3 fields on visualforce page of custom object, 1) gender__c:Male/female(picklist field) 2) age__c: (number field) 3) field3__c:(picklist field) The field3__c only display, If the ...
1
vote
0answers
188 views

How to render Live Chat Button via a new custom field on the User Record?

Background: We are wanting to use Live Agent for customers only on our Community Site(behind login). I am trying to limit visibility to certain clients based on the Community User record. I am trying ...
1
vote
0answers
231 views

Multiple checkboxes form to create new records

I'm trying to update a jQuery mobile app that uses visual force to do a couple different things, one of which is to create multiple new Tasks based on checkboxes for picklist values. Each value ...
0
votes
0answers
12 views

Rendered causing button to not work

I have the below code which is rendered when the variable Flag is set to true. In the constructor of my class, I set the flag to true by default and only change it to false in the constructor if a ...
0
votes
0answers
43 views

Render a value in visualforce from a wrapper

MyDetail is a class of which MyContacts is a wrapper where value is binded for UI. MyDetail.Mycontacts has all its values as null in it. Here's with an example. My values-->{!MyDetail.Mycontacts} in ...
0
votes
0answers
224 views

Rendered is not working

In my code, I have 2 pageblockTable with 2 values(apex). They are displaying data in 2 different tables. First pageblockTable displays the data based on search button after giving input. Second ...
0
votes
0answers
265 views

How to use page reference and rendered simultaneously?

Hello, everyone! I am developing a website on Salesforce. And I have some pages redirections along with usage of rendered. In particular, I have a home page where products divided by categories are ...
0
votes
0answers
191 views

render apex:image with multiple conditions

In my Visualforce, I want to show a traffic red light or green light base on some condition. Below you find my code: <apex:outputpanel rendered="{!IF(OR(oldCrashesList.OCTO_Closure_Reason_Text__c =...
0
votes
0answers
41 views

Rendered in visualforce based on different outputs

I have an email field on a Contact and when I click a button it has to render a section that will tell you "You can't add the contact to a campaign because the email field is empty." If the email ...
0
votes
0answers
51 views

Pageblock Section is not getting rendered for different profile

I have a page in which one section should be rendered when one picklist value is selected. This working fine for system admin.But for other profiles the section is not getting rendered. <apex:...
0
votes
0answers
1k views

How to check is the map key exist or not

Hi on my VF page I want to render output panal on the based of if the key exist or not. I wan to check if the key exist or not. While checking I am getting an error that Map key result__c not ...