Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Design Studio SDK: Application Header Component

$
0
0

Purpose

A basic wrapper on SAPUI5 Component

 

Implementation

Simple wrapper as of today with some BIAL scripts on top.

 

Short Demo (as animated GIF)

20140911-194956_capture.gif

 

Styles

no extra styles as of today

 

 

Properties
displayLogoffbooleanIf set to true, the logoff area will be displayed at the right hand side of the application header.
displayWelcomebooleanBy default, set to true and dislpays the welcome text
logoSrcURIPath (src) to the logo icon to be displayed in the application header.
logoTextstringThe text that will be displayed beside the logo in the application header. This property is optional.
userNamestringUser name that will be displayed beside the welcome text

(most important taken from: ApplicationHeader - SAPUI5 Demo Kit)

 

Events
logoffFires an event to log off the user from the application. No parameters.

 

Scripting Functions

 

ScriptsShort Description

void setUserName(

  /** User name */ String userName)

Sets the user name that is displayed beside the welcome text.

String getUserName()Returns the user name that is displayed beside the welcome text.

void setLogoText(

  /** Logo text */ String logoText)

Sets the text that is displayed beside the logo in the application header.
String getLogoText()Returns the text that is displayed beside the logo in the application header.

 

Example Application

An Application with example can be downloaded at the BIAPP Repository:

Releases


Source Code & Licensing

This component is for free use. It is under the Open Source Apache Version 2.0 License.

 

Important MaintenanceNotice (... as I am SAP Employee)

The component is NOT delivered under SAP maintenance license.

You cannot claim any Support on this component from SAP!


The components are created on "private" basis - you can use them as is. I can modify, correct or improve - but there is no obligation to do it. Of course I will try to correct bugs or improve the component as long I can.

 

Have Fun!


Viewing all articles
Browse latest Browse all 4216

Trending Articles