Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: how to fetch and display input field text from one page to another?

$
0
0

Hi Sanjo,

 

It's better to use a model rather than passing parameters through view, since it will be useful anywhere in the application. Consider you have many views and you wanted to use the same value in third view, then you can just use this model path to bind the values.

 

Yes on button click, get all the input values and store it in a model array. So the same model can be used to bind the values in second view.


Use setProperty when you're setting any values and getProperty for getting the values.


Regards,

Sai Vellanki.


Viewing all articles
Browse latest Browse all 9091

Trending Articles