Hi Experts,
I created an SAPUI5 Application project in my NWDS (7.3) by following the blog http://scn.sap.com/community/developer-center/front-end/blog/2012/10/15/consume-netweaver-gateway-services-via-sapui5. After this I am running the application by right clicking on the project and selecting Run As -> Web App Preview. I am able to see the output and the application is fetching the flight data by connecting to the netweaver gateway demo system (http://scn.sap.com/docs/DOC-31221).
Image may be NSFW.
Clik here to view.
Now I am looking for a way to integrate this application into the portal (NW 7.3 SP07). Since there is no template provided by SAP yet for SAPUI5 Applications, I tried to export my UI5 application project as an EAR file, but was unable to do so. Only option I have is to export it as a WAR file. But I am not sure if I deploy the WAR file to the portal, how I can create an iView out of it.
Also instead of building an SAPUI5 Application Project I tried building a Portal Application Project and creating a HTML page within this project to fetch the flight data from the gateway demo system, but when I open this HTML page in the Web Browser, unlike in the SAPUI5 Application Project I see an empty table with no data.
Any ideas why the page works only in UI5 project and not through a portal component project?
Regards,
Saurabh