You need to sign in to do that
Don't have an account?
Sylvie Serplet
Lightning Component issue
Hi,
I have a Lightning Component with a button and I need:
Any help will be greatly appreciated.
Sylvie
I have a Lightning Component with a button and I need:
- to display the text in 2 lines
.THIS .button { width: 150px; color: #00396B; border: 2px solid #005FB2; }
- the button open a VF page and I would like that it opens it in a new window
({ openResidentialform: function(component, event, helper) { var urlEvent = $A.get("e.force:navigateToURL"); urlEvent.setParams({ "url": "/apex/ResidentialForm" })My Component looks like this:
<aura:component implements="flexipage:availableForAllPageTypes" access="global"> <aura:attribute name="FFform" type="String" default="Fact Finder Form" access="global" /> <div class="FFbuttons"> <div aria-labelledby="FFformB"> <fieldset class="slds-box slds-theme--default slds-container--fluid"> <legend id="FFform" class="slds-text-heading--small">Fact Finder Forms</legend> <form class="slds-form--inline"> <div class="slds-form-element"> <ui:button label="Residential Landlord" class="button" press="{!c.openResidentialform}" /> </div> </form> </fieldset> </div> </div> </aura:component>I could not find any solutions in all the forums I read.
Any help will be greatly appreciated.
Sylvie
Try this
use javascript in the VF page to get Id from URL and display according to it.
Thanks,
Bala