The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [rendering]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Required attribute not setting to OFF even though I have selected a value in Lightning:Select

I am facing a weird issue. I have a parent and child component and have two picklists in child component. Based on 1st picklist value, I am rendering 2nd picklist with options. Both have required ...
0
votes
0answers
16 views

Chrome pdf not working get contentaspdf [duplicate]

In my sandbox I created a method that generate a pdf from a vf page. Everything was working perfectly. I am now in my prod and when I use google chrome, the pdf is not working anymore, it does a weird ...
2
votes
1answer
60 views

LWC Conditional rendering: alternative for fetching the initial database value?

Looking for a conditional rendering solution in lwc, which uses the initial value of a field in the database to decide whether to render or not. I have found a way to get it working, but it seems like ...
0
votes
0answers
18 views

Conditional rendering on visualforce page not working

At a high level, I have a custom VF page that is creating objects, and I only want the checkbox to select a row to render if an object hasn't been created based off of that particular row already. ...
0
votes
1answer
63 views

How to set lightning:input focus on initial render

I have a Lightning Aura Component form with several lightning:input elements, and a request to set the cursor/focus to the first input when the component loads. I have something like this in my ...
1
vote
0answers
94 views

Quick Action Lightning Component Throws Error due to Opportunity__c lookup field for Platform User

I created a custom quick action lightning component. This component contains a form with a lookup field to an Opportunity (see simplified code below). <aura:attribute name="config" type="...
1
vote
1answer
214 views

How can I display a spinner when switching between lightning:tabset tabs?

I recently asked a related question about how to display the lightning:spinner while waiting for a component to render. Although I found a way to make it work, and have thoroughly reviewed the 'Events ...
1
vote
2answers
668 views

Cannot understand this $A.getCallback error

I've a parent component containing a formattedRichText component and an edit button. Edit button onclick() calls a child component that hold a modal component. That modal component contains an ...
3
votes
3answers
154 views

Lightning Community: v.body on Custom Template is initialized even inside an aura:if

I have a Lightning Community and I'm using a custom HTML template to render my pages, inside this HTML template I have a v.body where my custom components are being displayed (the ones selected from ...
3
votes
1answer
4k views

Rendering problem with Lightning in Chrome

Since a few days, I am experiencing a weird rendering problem in Lightning, only in Chrome. Two issues: Listview drop downs do not display -- all I see is a partial scrollbar, the actual list of ...
2
votes
1answer
166 views

Visualforce Page's outputText not updating when other outputPanels are next to it. Why?

I have the following controller variable {!selectedValue} that updates successfully on the page just fine when the markup next to it is commented out. However when I add the outputPanels back in, it ...
0
votes
1answer
436 views

Is it possible to get the email subject string before sending it?

I know for a fact that it is possible to render the email context without sending it, using the Messaging class' method renderEmailTemplate. This is great for getting the message content rendered, but ...
0
votes
1answer
167 views

Image not rendering in Visualforce Email Template

I am using a visualforce component in which I have an image tag that is rendering in the org, but when I am sending it via Email the image is getting rendered. Visualforce Component <apex:...
4
votes
1answer
2k views

afterRender threw an error in 'lightning:select' [Cannot read property 'setAttribute' of null]

I'm intermittently receiving the following uncaught error on my lightning component. I have a parent lightning component which is used as an input form. The parent component uses metadata, stored in ...
1
vote
0answers
124 views

How to print Lightning icon?

We're having below markup in Lightning component. <lightning:icon aura:id="statusIcon" iconName="action:check" size="xx-small"/> When java-script is controller prints the page with this ...
3
votes
1answer
321 views

Lighning Component: Rendering Lifecycle and JS static resources

I would understand the exact order of execution about "Lightning Component Rendering Lifecycle" and JS static resource. For example, we have this First Scenario. Alpha.cmp: <aura:component> ...
5
votes
3answers
526 views

cmp.set() is blocking the UI to re-render, but no event is triggered

I'm having a big table filled with custom cell components and after changing a cell, the table gets re-rendered. dataChanged: function(cmp, evt, helper) { var table = cmp.get("v.data"); ...
3
votes
3answers
4k views

Aura: init of child component executes before parent components init, alternate approach?

I am new to Salesforce lightning, just started using aura tags. I have to pass parameters to a component (Aura Table) inside parent component (no inheritance), Unfortunately child component's init is ...
3
votes
2answers
4k views

Rerender pageblock on change of picklist

I am working with with picklist. Here I have to show a pageblocksection on change picklist but when I change the picklist it rerenders all the page and I am able to see pageblocksection but my ...
0
votes
1answer
365 views

Rendering Visualforce field based on Profile Id

I've created a Visualforce page and I want a record to render as an inputfield for certain profiles. Can someone help me with the Profile Id syntax? The following works if I remove the following: {!$...
0
votes
1answer
194 views

Setting Fields as required without using Required = True

I have a SelectList from which user selects x,y,z recordName from Object 'A' in a pageBlock 'A' for which the an another pageblock 'B' gets rendered showing fields to insert into 'B' object. Out of ...
2
votes
1answer
960 views

Dynamic Visualforce Input Field

I am trying to make a dynamic visualforce input field. Actually, I have already made it before, however I am trying to clean up code so that I only need one input field per page. I have a table on ...
3
votes
1answer
1k views

Issue changing inline css during Lightning afterRender

I have a simple Lightning component <aura:component > <!-- 100x100 box --> <div style="width:100px;height:100px;background-color:blue"> <!-- 50x50 box --> ...
1
vote
1answer
50 views

VisualForce rerendering issue

I'm trying to set up some visualforce input and output to display if a select list is sent to a certain value. I've got my select list set to rerender the entire panelgrid on change and the inputs and ...
1
vote
1answer
735 views

How do we determine the lightning component is requesting from Mobile device or a Desktop?

I have a Lightning Component which loads in both Mobile(SF1) and Desktop, is there a way to detect the client(who is requesting Mobile or Desktop) based on the parameter value I need to render some ...