My view is just "loading"

I want to call my view page2 from my view main.htm, but my page is just "loading", and nothing else happens
My controller "ZCL_MOBILE_DEMO_CONTROLLER1" has the method DO_REQUEST, in where I have following code:
  dispatch_input( ).
  request->get_form_fields( changing fields = lt_fields ).
process_input( lt_fields ).
the process_input( lt_fields) takes me to the method: PROCESS_INPUT
From here I would have expected that my page 2 was called by this code:
method process_input.
  data: l_view type ref to if_bsp_page.
l_view = create_view( view_name = 'page2.htm').
  call_view( l_view ).
endmethod.
But I just got the message "loading".
page2.htm
<!DOCTYPE htmlb>
<htmlb>
<head><body>test</body></head>
</htmlb>
Any suggestions?

Hi,
did you define in DO_INIT the subcontroller for your page2 ??  did you create a controller for page2 and the controller class ??
subc_page2 ?= create_controller( controller_name = 'page2.do'
                                   controller_id   = 'page2' ).
In DO_REQUEST I would enter this code:
IF is_navigation_requested( ) IS NOT INITIAL.
        RETURN.
      ENDIF.
      dispatch_input( ).
this code goes in the controller class of page2 and not in your controller "ZCL_MOBILE_DEMO_CONTROLLER1":
data: l_view type ref to if_bsp_page.
l_view = create_view( view_name = 'page2.htm').
  call_view( l_view ).
in the main web page I´d enter this:
<bsp:call comp_id="page2" />
so, that means that you have to learn more about MVC for being able to design, call and process correctly your views.

Similar Messages

  • How do I force an HTML Article to load on every view rather than load a cached version of the page?

    I've got several HTML articles, one is a search page. When you click a search result I am setting a variable in localStorage for the search query so it can be highlighted on the result page. When you get to the result page however, 99% of the time it loads a cached page. I need to force it to refresh and execute the JavaScript on every view not just when the View Application decides it should. Also the thumbnail is often cached to a really old version with something highlighted that you searched for 10 mins ago.
    Is there any API that I can make the HTML Article load on every view?
    Many thanks,
    Kris.

    Flash only supports a small amount of html in text areas.  If what you re trying to include is within what it supports, then you assign the text to the textfield using the htmlText property of the TextField...
    tfield.htmlText = "<a href="...">link</a>"; // will display "link" as a link

  • I already bought mac book pro last year but it can't view windows just like mac pro for education. I want to make like it. How?

    I already bought mac book pro last year but it can't view windows just like mac pro for education. I want to make like mac pro for education How?

    First, if you have a MACBOOK PRO (a laptop), you should post in that forum. MAC PRO (desktop) and Macbook Pro are different things, so when you use those terms interchangeably, it's impossible to know what you're talking about.
    Second, even guessing that you have a laptop, I still have no idea what your question means. Are you trying to load Microsoft Windows on it? Every Mac can run Windows using either Boot Camp or Parallels/Fusion/VMWare solutions. Please explain in more detail what you're trying to do, and we'll try to help. But post in the Macbook Pro forum if you're talking about a laptop.
    Matt

  • I just loaded some July pictures into my PC iCloud photos upload folder, but I do not see them with my iPad. Are they not shared because they are past the 30 day window, or is there a different issue?

    I just loaded some July pictures into my PC iCloud photos upload folder, but I do not see them with my iPad. Are they not shared because they are past the 30 day window, or is there a different issue?

    Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
    It sounds like you are using two methods to upload to Facebook:
    1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
    2. Exporting pics and uploading to Facebook from the browser.
    I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
    I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
    Your problem is not with Aperture, it is using Facebook for showing your work.
    If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
    If you insist to use Facebook as your way to share your work, then your workflow should be this:
    1. Right click images you want to share.
    2. Select Export version.
    3. Export as 100% size and ensure the export settings are set at 100% quality.
    4. Upload this pic into Facebook.
    This will get you the best image size and resolution on Facebook.
    See how you go.

  • Just loaded  IOS 8.1.3 and cannot use iMessage now, help!

    i Just loaded the last IOS 8.1.3. It has messed up my iMessages.  I am not able to set up despite tries over 2 days. Can any one help?  Apple support has expired.

    TThere are several posts like your own here. Check for them by viewing older or doing a search.  I'm not sure if there is a fix but I recall some talk of signing in with their cloud id may have helped. Good luck.

  • I have just load form Pdf file and saved try to sign or type the form,it will not let me?

    Downloaded PDF file and try to type the form or sign the form, it it will not let me?

    From: Pat Willener [email protected]
    Sent: 11 December 2012 02:36
    To: chandabajaj
    Subject: I have just load form Pdf file and saved try to sign or type the form,it will not let me?
    Re: I have just load form Pdf file and saved try to sign or type the form,it will not let me?
    created by Pat Willener <http://forums.adobe.com/people/pwillener>  in Adobe Reader - View the full discussion <http://forums.adobe.com/message/4911163#4911163

  • After updating to ios 7.1 with my iphone 4 my apps wont update it just loads then stop help please

    after updating to ios 7.1 with my iphone 4 my apps wont update it just loads then stop help please

    Reset your iPhone.  Hold the on/off and home buttons together for about 10 seconds till the Apple logo appears.
    If you continue to have issues, try downloading the apps to iTunes on your computer, then sync your iPhone using iTunes.

  • I just got the new itunes and I can open itunes and see my music but whenI try and go to the itunes store it just loads to a white page. I try and refresh and go to the home page and nothing happens. I can sign into my account and the tabs for the itunes

    I just got the new itunes and I can open itunes and see my music but whenI try and go to the itunes store it just loads to a white page. I try and refresh and go to the home page and nothing happens. I can sign into my account and the tabs for the itunes store pop up like they normally would when browsing the itunes store but when I click on one of them, it is a blank page. Is there a setting I need to change? Does it just take an extremely long time to load? Please help!!

    Bucktr09:
    I'm having the exact same problem.  I upgraded to the newest version of iTunes on my iMac and ever since I did the store is a blank white screen.  I can get my library content but the store is a no go.  Is there any one out there with a solution?

  • For some reason, I can not delete bookmarks. I did one at a time, then tried 5 or 6 and it worked once then no more. I then tried 1 at a time and it worked once the no more. This is a brand new computer (Win7) and FF just loaded about 3 hours ago.

    # Question
    For some reason, I can not delete bookmarks. I did one at a time, then tried 5 or 6 and it worked once then no more. I then tried 1 at a time and it worked once the no more. Why is this happening? This is a brand new computer (Win7) and FF just loaded about 3 hours ago. Do not know how the bookmarks even got in there. Some were ok, but no order and some that were never bookmarks. Looks like FF tried to import some BM's from the Virtual XP installed, but did not get it any where near right. I need to completely delete all of them and install from a saved .html file.

    Well, I did not see the exact problem that I was having listed in the articles, BUT the problem is solved for now.
    I opened FF and the Bookmarks to Organize again. I deleted all of the folders and entries, ONE AT A TIME, AND IT WORKED. Evidently, for what ever reason, FF did not like "Batch" deletes of ANY amount greater than 1 and the HANG UP would occur.
    Deleting one at a time then importing the good .html from a good file, loaded the wanted Bookmarks. Yea

  • Power view couldn't load the model or data source because the data source type is not supported

    Hi,
    I have SQL 2012 standard edition in my local. I have developed SSAS & deployed in local. I have been asked to develop power view report in excel 2013 using this SSAS. But when I tried to do in Excel 2013 professional Plus, I am getting below error:
    Power view couldn't load the model or data source because the data source type is not supported.
    Does power view is supported in standard edition of SQL or it requires Business/Enterprise edition of SQL server?
    Thanks in advance

    What type of SSAS install are you using?
    PowerView in Excel 2013 currently only supports Tabular data sources.
    Only PowerView in Sharepoint 2013 supports both Tabular and Multi-Dim data sources. (provided you have the required Sharepoint and SQL updates installed)
    http://darren.gosbell.com - please mark correct answers

  • Error message on print window for Vista--"out of paper"--I just loaded paper...?

    error message on print window for Vista--"out of paper"--I just loaded paper...?
    What can I do to get it to print?

    hi there,
    could you provide the community with a little more information to help narrow troubleshooting? Things like your printer model can help out a lot.
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Just loading Windows XP Pro Sp2 on Sata Raid 0 for first time. Stuck at F6

    Hi Guys:
    Read Sake's guide and subsequent postings. A bit stuck here, created the diskette with Hyperion64 drivers but not sure if this applys to regular Windows XP Pro or just to Windows XP64. A little confused. I also just copied the TXTWETUP.OEM from the DriverDisk file, is that the right way to to do it.
    Also, am I just a little behind here, should I be waiting for the XP64 release or would it make sense to just load the 32bit version and wait for an upgrade option?
    Thanks, Brian

    Quote from: LongTRocker on 23-April-05, 04:12:30
    TS: How does the Promise controller perform? Is it a better option to the Via controller?
    Regards, Bri
    Occassionally however I have discovered severe stability problems with it.
    To install windows on VIA!! make the F6 disk using this driver:
    http://www.planetamd64.com/index.php?download=144
    Just copy the contents of the drvdisk folder to a blank floppy then use F6 insert the disk and specify the additional driver

  • HT1386 I just loaded the latest version of itunes and now my Outlook notes won't sync and notes no longer appears in the advanced section of the info page

    I just loaded the latest version of itunes and now I cannot sync my notes from Outlook 2010 to my iphone.  Notes no longer appears under the advanced section of the info tab.  Since I have not had luck syncing in the cloud I always check the boxes and tell the sync to sync from my computer to my phone.  Does anyone know how to get this to work.

    When you connect your ipod up to the computer. It should show the device, usually with the name of the device, in my case 'jordan's ipod'. This should be on the row which shows 'songs', 'albums' e.t.c on the far right. There when you click on it it should go to a different screen showing a picture of your ipod along with two buttons - Update and Restore. Click update and it should take a 2 mins while your ipod is updated to the latest version of Ios.
    After updating te ipod see if there is a change in results.
    PS: make sure the device is active while syncing so keep tapping the screen.
    Sorry for any incorrect info, i have an ipod touch, but i've had experience with an ipod

  • Just loaded latest version of itunes and now it won't open I get the following error message MSVCR80.d11 missing   and error 7 windows error 126, can anybody help

    Just loaded latest iTunes update and now it won't open i get a message eror MSVCR80.d11  followed by error 7 Windows error 126, anybody help?

    Hi Jeff,
    see for your problem:
    http://pcsupport.about.com/od/findbyerrormessage/a/msvcr80-dll-not-found-missing -error.htm
    it worked for me.
    Grtz

  • My Game Center crap got all messed up. And now it won't let me download anything. It will just load. What do I do?

    I am having troubles. Every time I download something it. Will just load the password thing won't pop up . What do I do?

    Hello, brendono. 
    Thank you for visiting Apple Support Communities. 
    I would first force all applications to close then power cycle the device.  Once this is done test accessing Game Center.
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    If the issue persists, try the attached troubleshooting steps. 
    If you are having difficulty logging in to Game Center or staying connected
    Verify that you are connected to the Internet.
    If you are unable to create or sign in to your Game Center account from within a game, try creating or signing in to your account using the Game Center app.
    Try signing out of your Game Center account, then sign back in. If you can't sign in to your Game Center account with an Apple ID, try resetting your password or using another email address. To manage your Apple ID account, go to My Apple ID.
    When using a Wi-Fi connection, verify that your Wi-Fi router is configured for Game Center.
    Using Game Center
    http://support.apple.com/kb/ht4314
    Cheers,
    Jason H. 

Maybe you are looking for

  • ITunes Won't Start, Popped Up Out of the Blue, Then Crashes and Won't Start Again.

    I was listening to iTunes Radio on my laptop and I didn't notice it had stopped. I tried to reopen but it wouldn't so I restarted my laptop which used to work, but now it will not open at all. I have tried the REPAIR option, I have tried to uninstall

  • Gl/L account item without tax code in document $1 with deferred taxes

    Hi, While processing MIRO i am getting this error message.. I have checked the GL master data, All the GL has marked as posting without tax allowed and tax category as *. the message no-FF891.please give me possible solutions. Regards, Venky

  • Modifying an Access database posted in a SharePoint doclib

    I inherited the maintenance of a database used to store data for reporting. I needed to add a simple new query and "union" it to a group of existing queries. When opening the database, I am prompted to open it read only, or download a copy to my PC t

  • Many-to-many association: inserting in the detail table fails

    I'm using jdeveloper 11g and configured the many-to-many association as described in the documentation, so I have accessors in both directions, with composition association and a many-to-many link view. Using the business component browser, the link

  • 08 or stick with 06?

    I haven't published my 08 website yet because I have been reading that there are problems with viewing websites on PC's. Should I stick with my 06 iweb knowing I won't have any compatibility problems? Or should I take the plunge and publish the 08 ve