Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19569

Unable to switch pages shown in visual preview when editing mobile html5

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      1. Create a html5 project from central
      2. Add a new html file using the template HTML5 jQuery Mobile 1.4
      This will have one default page defined.
      3. In the mobile palette, click Page and create a new page.
      This page will be put in the html right after <body>, so it will be the first page. The visual preview will now show this new page.
      4. Try to display the second page in the visual preview - there is no way to do it.

      Show
      1. Create a html5 project from central 2. Add a new html file using the template HTML5 jQuery Mobile 1.4 This will have one default page defined. 3. In the mobile palette, click Page and create a new page. This page will be put in the html right after <body>, so it will be the first page. The visual preview will now show this new page. 4. Try to display the second page in the visual preview - there is no way to do it.

      Description

      I'm not sure if my use case is valid or not.
      But today I tried something [1] and had a html5 using the jQuery Mobile 1.4 template, then I created a new page. The Visual part of the editor shows the first page (div with data-role="page") in the html, but it's impossible to show the second one.
      So I thought: OK, I will add a button to the first page linking to the second page. But once I clicked the button, there was no way to get back and show the first page in the visual preview.

      Shouldn't we offer some kind of navigation? Either the possibility to view different pages in the html, or at least a Back button?

      But maybe I just just misunderstand how this works - maybe this is not a valid request - I'll be happy to be corrected

      [1] I was reviewing a howto document that actually describes exactly this scenario - create html5 from the template and then add a new Page to it using the palette.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kmarmaliykov Konstantin Marmalyukov
                Reporter:
                mmalina Martin Malina
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: