Quantcast
Viewing all articles
Browse latest Browse all 3131

Problem with Page Control

I just noticed the upgrade to UI5 on the HCP trial system.  I created a basic SAPUI5 application and added a hello world button. The only other change the generated code I made was to add a function to the controller. My view:

 

<core:View controllerName="HelloWorld_001.controller.View1" xmlns:core="sap.ui.core" xmlns:html="http://www.w3.org/1999/xhtml"  xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m">  <Page title="{i18n>title}">       <content>            <Button                   text="Say Hello"                   press="doIt"/>       </content>  </Page></core:View>

When I run the application I see the header for the page but no button.  If I delete the Page control, I see the button.  I've tried other controls in instead of the Button and nothing shows up.

 

Image may be NSFW.
Clik here to view.
Capture.PNG

 

Is this a bug or am I missing something.

 

Thanks,

 

Ross


Viewing all articles
Browse latest Browse all 3131

Trending Articles