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.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
202 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
1answer
256 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: ...
2
votes
0answers
629 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
35 views

VF Page rendered as pdf download without redirecting to any screen

I've a vf page rendered as pdf which has to be downloaded on click of a button. This button has to be present on detail page of 3 objects: Account, Contact and Opportunity. To support 3 objects, a ...
1
vote
0answers
145 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
1answer
45 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
0answers
224 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
261 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

How do I hide the Search, Recently Viewed records and Go button on lookup field visualforce

Is it Possible to hide the Search, Recently Viewed records and the Go button from a lookup field on a visualforce page. I have the requirement to use a lookup field for creating a new record but users ...
0
votes
0answers
23 views

Radio buttons determine which fields will be filled out

I want to select 1 of 2 (or 1 of 3) radio buttons and have certain pageblocksections. I tried to follow about a dozen examples but to no avail. The 2 I have been try to get to work are below. My VF ...
0
votes
1answer
34 views

rendered attribute does not work for me

Let's say I want to conditional rendering of outputPanel markup <apex:page controller="SOQLBC"> <apex:outputPanel id="sobj" rendered="{!LEN(sObj)>0}"> <span> --- {!sObj} -...
0
votes
1answer
76 views

Conditionally Render Apex Column in Visualforce

I would like to conditionally render a column on my VF Page however does not appear to play nicely/support "rendered" logic. Any Help is appreciated! <apex:column> <apex:...
0
votes
1answer
87 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
49 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
2answers
158 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;-...
0
votes
1answer
527 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
0answers
65 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
360 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
1answer
49 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" ...
0
votes
0answers
370 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
293 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
42 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
52 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
2k 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 ...