facebook

Problem with local DB request

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #328203 Reply

    dabbelju
    Member

    Hi all,

    I am facing the following problem and need help.

    What is the APP doing:
    – It is downloading news via jquery and xml and is storing them in a local DB.
    – It is reading the news from the local DB and displays them in a list.
    – On click at one news I want to display the details.

    So far it works, BUT only once! If you start my projekt, it will download the news and display the list. On click at one of the news it will show the details of the news. Go back and click on another news. The on click handler is fired, bt no db request is done. I did put in some alert boxes to make it more clear.

    Please find attached my project.

    Any help and thoughts is welcome!

    Thanks a lot in advance.

    best
    dabbelju

    P.S.: In order to get the XML download working please turn of the local web server of MobiOne. Window => Settings => local Webserver. Otherwise you will run into a cross domain problem.

    Attachments:
    You must be logged in to view attached files.
    #328441

    Hi dabbelju,

    Do you still need assist on this? I’m doing an overview to your code but didn’t find anything yet. I can look deeper later if you haven’t figured out yet.

    #328457

    dabbelju
    Member

    Hi Octavio,

    no, I do not need more help on this one. I did figure out that it has something to do with the back button. I do use now my own functions to do the navigation and now it works.

    But I would highl appreciate help on this topic:

    http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=3262

    Thanks a lot.
    Dabbelju

    #328476

    Hi dabbelju,

    I’ll try to provide feedback before the end of the week. Just to confirm, you want to adjust the content area height depending the number of listitems, right?

    #328488

    dabbelju
    Member

    Hi Octavio,

    yes, that’s what I want to achieve.

    Background:
    I do have a list of items in a panel so that the user can scroll through the list. In some cases the number of items in the list may diversify. I did try to do something with a custom css but somehow the content area height of a panel is overwritten, and it seems to me, that something regarding the hieght is comming from the js file generated automatically.

    Preferable I would like to set the content area height in the design center to “auto”. If there is no way to set the height to “auto” it would be ok for me to calculate the height (cause when I generate the list I know the number and height of the items) and set it as style in the html.

    Thanks and best regards
    dabbelju

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problem with local DB request

You must be logged in to post in the forum log in