Posts

Showing posts from August, 2017

HOW TO PASS VALUE FROM LIGHTNING COMPONENT TO CLIENT-SIDE CONTROLLER AND CLIENT-SIDE CONTROLLER TO SERVER-SIDE CONTROLLER

Image
Today i will share some simple lightning for those who are the beginner in Lightning. I know the is a lot of stuff for apex and visualforce but there is less resource for learning lightning. So here i am sharing some basic lightning stuff with you. After that chapter you will learn :- - How to take the value from lightning form to client-side controller. -How to  apply css in lightning component. -How to create and pass the value from client-side controller to server-side(Apex) controller. Here i will share the all the code snippet for all. Try to understand the meaning of the code if you can't able to understand please contact me or email me for any doubt. Step 1. Create Lightning app name as SimpleForm Step 2. Create Lightning component give the name FormComponent and paste the below code. <aura:component controller=" SimpleServerSideController ">         <div align="center" class="test">     ...