Skip navigation
nakea
Currently Being Moderated

popView removes my list data

Mar 11, 2013 8:00 PM

In one component I make a call I have a form that accepts login, password and domain information >

I pass that to the next component that on creationComplete makes a call to a web service that pulls an XML object and populates a list of names >

A user clicks on a list item and onChange, I pass to a "Details" component >

I have a popView() evetn that is triggered when someone clicks a back button.

 

Problem: Instead of going back to an existing list, the List component makes a call back to the server to get the information again.

 

Is there an easy way to:

 

1) Enter login name and password in a post that grabs XML

2) Populate a list with the XML

3) On change, send people to a details page

4) When you click a back button, just see the list that has already been populated with the XML data.

 
Replies
  • Currently Being Moderated
    Mar 20, 2013 1:44 PM   in reply to nakea

    Hello,

     

    Try to store the dataProvider of your list in the data property of the view which contains the list

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 9, 2013 9:06 AM   in reply to nakea

    have you tried.... destructionPolicy="never"

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points