Monthly Archives: November 2019

Dynamic Add or Remove Rows using Lightning Component

Hi, Here we have shown Inserting multiple records using Add Or Remove Row functionality in Lightning Component. If at all Account Name is empty, error message will be displayed in alert message. Apex Controller Lightning Component : addRemoveRowsDynamically Controller Js Helper Js Application Output Share this…Facebookemail

Share this...
Share on Facebook
Facebook
Email this to someone
email

Based on picklist value in one component, display the message in another component using Events in Lightning

Hi, Here we have shown, Based on picklist value you have selected, selected picklist value will be displayed in the child component using events. Here, we have shown the connection between 2 components. Data will be modified in 2 component based on 1st component picklist value. Apex Controller Lightning Event : component level event Lightning… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email

ActionFunction in Visualforce

What is Action Function? apex:actionFunction component provides support for invoking controller action methods directly from JavaScript code using an AJAX request. It is different from actionsupport which only provides support for invoking controller action methods from other Visualforce components. In controller method we are checking if Rating is high then we are setting boolean variable… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email

Using actionstatus visualforce page should be disable

In the example below, we are using actionStatus for commandbutton. When user will click on save buttton, request will go to controller method. We are showing gif image to user while AJAX request is in progress using actionstatus component. We are using apex:facet tag inside actionstatus to show image and we have specified name value… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email

Actionstatus & ActionSupport using Visualforce

Here we used action status & action support. In this example we are showing some text message to user while AJAX request is in progress using actionstatus component. It shows some different message once request is complete. When user will click on ‘Click here for increment’ or ‘Click here for decrement’, then count will be… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email

Use of ActionStatus in Visualforce

apex:actionStatus A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete. Using actionstatus, we can also display some gif (graphic Interchange Format), which shows to user that their request is in progress. Here we have also shown Apex:message after data inserted succesfully. Apex Controller… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email

Action Poller in visualforce

What is actionpoller? When we want, the same action to be repeated we use actionpoller… Actionpoller acts as a timer in visualforce page. It is used to send an AJAX request to the server depending on the time interval that we specify in interval attribute (time interval has to be specified or else it defaults to 60 seconds).Each request can… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email