Hey,
I created a DB that stores company name, contact and details.
I created a user login and signup which works fine. On home page after login there is a button that goes to another page where user enters in company details then clicks save which in turn goes back to home page and saves data in DB. Also on the homepage is a list that is populated by the DB list service when page loads. I followed the tuts for the master detail page using the hidden value way. Using the database list service I mapped the following :
I also made the list item set local storage variable on click and also navigate to company details page on click.
On the company details page i setup a grid with labels inside for each colounm of the companie collection... Mapping as follows:
also invoked the service when page loads. Now if i go back to home page list is populated with the users company entries, Pondalowie and a couple more. When I click on any of them they dont display the company i clicked just the first entry in the database collection..... Not sure why it wont register the id. I check console and the value is being passed to local storage... it just not using it on the company details page... PLease help?