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.

Filter by
Sorted by
Tagged with
0
votes
1answer
28 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:...
1
vote
2answers
20 views

How to use rendercondition visualforce on map

I have a map from which i get the value in visualforce. How do I use the redner condition to check that if the falue is empty it will not render. I get the error: Incorrect parameter type for ...
1
vote
1answer
22 views

Help me with adding render and rerender functionalities on page [closed]

My requirement is whenever the checkbox Did you confirm by DOB is true. The required field DOB will display and when checkbox is false it will not. Now the issue is when i am making the check box ...
0
votes
1answer
38 views

Render if variable contains text value in visualforce

I am trying to use render if condition on a viasualforce based on a value containing a string but this seems not to work. What am I missing? See: <apex:pageBlock title="Manuals"> ...
1
vote
1answer
34 views

Button not Rendering when returning to page

I have a visualforce page with two buttons. When I navigate off the page and then return to the page, the Edit button is not visible. If I refresh the page, the Edit button becomes visible. The ...
0
votes
1answer
34 views

rendered issue with actionsupport

I'm trying to rendered a commandLink base on a variable inside the controller. When I use the rendred like below, its everytime get "false" value, and I cant see it (rendered=false) My variable's ...
0
votes
1answer
19 views

display rendered values on the same line

I made a < apex:reapeat> tag within a table and I want to use rendered to display or not values from a list, base on an input search. The problem is if I have 5 values in the list for example: ...
0
votes
1answer
50 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
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 ...
1
vote
1answer
32 views

Visualforce - Multi-Level Rendering

I am trying to render 2 additional field levels in Visualforce using rerender function. Is this possible? I have the first level working, but unable to get the last level working properly. Any ...
0
votes
2answers
90 views

Visualforce Conditionally Render 2 Different Fields based on 2 conditions

Calling VF Experts: Is it possible to conditionally render 2 different fields on a Visualforce page based on a value selected in a picklist? I have the first condition working properly but unsure if ...
1
vote
1answer
41 views

Conditional Visualforce Component call from Visualforce Page

We have to visualforce components. I wanted to call the components based upon a flag on the custom object. I ended up with the following visualforce page, which works, but since I am not really a ...
-1
votes
1answer
23 views

What could be steps that we should generally follow to resolve VF reRender issue? [closed]

I have came across this many times and have spent many hours to resolve VF render issue, suppose I have page with id="page" , form with id="mainform", and a panel with id="mainpanel", so when I wanted ...
1
vote
2answers
2k views

Conditional Rendering in Lightning Component with more than Aura:If(True, ELSE)

I have a lightning:select picklist on a Lightning component called "Best Method of Contact" which is a required picklist, but the required picklist defaults to a blank 'placeholder' value that the ...
0
votes
1answer
361 views

Conditionally Render Apex:Column

I am trying to set up a VF page so that some of the columns only show when they have data. My VF page uses a custom list controller. I have tried using a rendered attribute in the column tag, and ...
1
vote
1answer
30 views

VF page column not rendering correctly

I have the following code(omitted everything else): <apex:column headerValue="try1" rendered="{! s.Quote.RecordType.Name == 'Standard'}"> <apex:inputField value="{!s.Quantity}"/> ...
0
votes
1answer
38 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
3answers
26 views

Visualforce 'Rendered ' parameter not recognising field

I'm trying to display some Visualforce if a checkbox = True. Here is my code snippet: <apex:outputPanel id="warning" rendered="{!(Innovation__c.Show_Warning__c)}"> <h1 color="red"> ...
1
vote
4answers
242 views

How to render text based on condition quoteline items

I have created a custom table in a visualforce page on quote. I use an apex repeat to render the amount of table rows for the quotelineitems. Is it possible to show or hide my table header row based ...
0
votes
1answer
905 views

The value 'null' is not valid for operator '>'

I have an output text field in visualforce page, which has a rendered condition. A few permission set does not have access to that object being checked in the rendered condition and we are getting ...
1
vote
2answers
703 views

Check List of List size in rendered

I have a List of List of account declared in controller like this: public List<List<Account>> listofListOfAccount {get; set;} Now I want to determine size of 1st list item in the List of ...
0
votes
2answers
37 views

Conditional in <response> tag in VisualforcePage

I'm newbie in Salesforce, and I am having a problem that I cant fix. I am using Twilio for making/receiving calls. I would like to put a conditional on my VFP depending on a variable that is set on ...
0
votes
1answer
1k views

How to check if map is empty in Visualforce page on rendered

<apex:outputPanel rendered="{!map.size > 0}" > this doesn't work. gives the error: Unknown property 'map.size'
1
vote
1answer
436 views

Visualforce format an output number depending on decimal value, if decimal is zero then just display the number

I am trying to display multiple values in a page which are currency fields set with 2 decimals (in the object). Currently I am using the below expresion to format the values which works great: <...
0
votes
2answers
177 views

ouput panel not rendering for picklist value onchange event

When i select the picklist Complaint_type__c value as 'others' then i need to rerender the output panel. I tried in different ways using Pageblocksections but no luck. below is my code.. <div ...
0
votes
1answer
281 views

Final variable in an apex controller - Not allowed

I am trying to create a final variable in apex controller which would store the value of a picklist field , example - 'Hello'. I have a visualforce page where I need to use this final variable to ...
0
votes
2answers
96 views

Can I render multiple logics at the same time to display content on vf page

Below is my vf page code: I want to render logics "renderlogic1" and "renderlogicforCustomParts" together to make the field displayed. Please suggest. Below is the vf page code: <...
2
votes
0answers
135 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 ...
3
votes
1answer
151 views

Is it possible to prevent unused Visualforce Components from using View State?

Components appear to use View State even if they are not rendered. i.e. there is almost no difference in the View State size between the following two options: <c:my_component rendered="true"/>...
0
votes
2answers
103 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
282 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
3answers
140 views

Assigning VF page to Record type by rerender tag

I have a record type for opportunity to which i need to assign this VF page. I am getting an error : Element type "apex:pageBlock" must be followed by either attribute specifications, ">" or "/>"...
1
vote
2answers
879 views

Conditional rendering of a VF Page

Is it possible to render a VF page based on two booleans? Can you have something like: <apex:page rendered="{!relatedTo.boolean1 == true}&&{!relatedTo.boolean2 == true}"> Or should I ...
0
votes
0answers
50 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
245 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 ...
1
vote
0answers
100 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 ...
0
votes
1answer
42 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
2answers
973 views

How to hide a custom button in detail page

I have a custom button created whose logic which invokes a visualforce page. I have overridden the view button with a visualforce page that just displays the detail page of salesforce. The custom ...
0
votes
1answer
93 views

Visualforce rendering woes - layout is broken when using a parent <apex:outputPanel>

I have a formatting issue caused by an extra output panel needed for rerendering on my visualforce page. The functionality works they way I have it now, but the formatting is ugly and I want to be ...
0
votes
0answers
288 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
1answer
89 views

checkbox checked but row will not showing in Edit Mode(actionFunction not working)

ActionFuntion not working what i miss can you please tell class code: public class EditContact_controller{ public List<wrapperClass> wrapClassList{get;set;} public List<contact> ...
2
votes
1answer
429 views

Will the PDF rendered VF page can have buttons where user can click

I have designed a solution to generate a document for each record with the values from the record by having button that will generate a PDF form of the record with selected fields and there values. ...
1
vote
1answer
111 views

Unable to render the multi-select and single-select based on the condition?

Am unable to render the multiselect and singleselect in the vf page, suggest me to fix this. code: <apex:page standardController="Account" extensions="OnlineExAnswer" sidebar="false" showHeader="...
1
vote
1answer
472 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 ...
0
votes
0answers
213 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 =...
2
votes
1answer
104 views

Rendered Tags not Working on Sequential Visualforce Pages (Force.com Site)

If a user checks a checkbox to TRUE on page one of a force.com site, then on the next page the true section should render. This works as desired, however, if the user then goes back and checks FALSE ...
3
votes
3answers
2k views

How should I check whether the map is empty or not in Visualforce page (API version 38.0)

I am displaying some records in table format on my Visualforce Page. I want to check if a Map instance is empty before displaying it. I have tried with: .Size() and also with: rendered="{!If(NOT(...
0
votes
1answer
189 views

Rerender an apex:pageBlockSection from an apex:actionFunction

i have a javascript function that must delete an item from a cart and it's work well, i have a command button in which there is a render already and i want that my javascript function reREnder a ...
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
1answer
61 views

reRender value determine

Please find below code where I am facing problem with the reRender value. It's not working as expected. When I change Campaign value, as Product changes accordingly, Userlist below (which is in a ...