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

Re: View navigation in SAPUI5 using Form in xml view

$
0
0

i attached the inputs A, B, C to a json model in the xml view as follows-

 

<Label text="A" />

  <Input value="{newModel>/A}" />

  <Label text="B" />

  <Input value="{newModel>/B}" />

  <Label text="C" />

  <Input value="{newModel>/C}" />

 

In the controller file, I called the json model newModel and then called its .getdata() in a variable. This variable is being passed to the router for the next view on the buttonclick action.

 

Thanks for everything!

 

Cheers,

-NK


Viewing all articles
Browse latest Browse all 9069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>