function createQuickViewContent(){
		// In form of "label: value", the value can be either a link or a text view
		// Both (link and text view are created but only one is shown depending on the contents)
		var oLabel = new TextView()
			.bindProperty("text", "label", function( label ){ return label ? label + ":" : ""; });
		var oTextView = new TextView({text : "{text}"})
			.bindProperty("visible", "href", function( href ){ return !href; });
		var oLink = new Link({text : "{text}", href: "{href}"})
			.bindProperty("visible", "href", function( href ){ return !!href; });

		var oLeftCell = new MatrixLayoutCell({hAlign : HAlign.End, vAlign : VAlign.Top, content:[oLabel]});
		oLeftCell.addStyleClass("qvlabel");
		var oRightCell = new MatrixLayoutCell({hAlign : HAlign.Begin, vAlign : VAlign.Top, content:[oTextView, oLink]});
		oRightCell.addStyleClass("qvvalue");

		var oRow = new MatrixLayoutRow({cells:[oLeftCell, oRightCell]});

		var oContent = new MatrixLayout({layoutFixed:true, widths: ["45%", "140px"]});
		oContent.bindAggregation("rows", "/accountData", oRow);

		return oContent;
	}
// 1. create a QuickView form content
1. create a QuickView form content
1 . create a QuickView form content
function createQuickViewContent(){
		var oLabel = new TextView()
			.bindProperty("text", "label", function( label ){ return label ? label + ":" : ""; });
		var oTextView = new TextView({text : "{text}"})
			.bindProperty("visible", "href", function( href ){ return !href; });
		var oLink = new Link({text : "{text}", href: "{href}"})
			.bindProperty("visible", "href", function( href ){ return !!href; });
		var oLeftCell = new MatrixLayoutCell({hAlign : HAlign.End, vAlign : VAlign.Top, content:[oLabel]});
		oLeftCell.addStyleClass("qvlabel");
		var oRightCell = new MatrixLayoutCell({hAlign : HAlign.Begin, vAlign : VAlign.Top, content:[oTextView, oLink]});
		oRightCell.addStyleClass("qvvalue");
		var oRow = new MatrixLayoutRow({cells:[oLeftCell, oRightCell]});
		var oContent = new MatrixLayout({layoutFixed:true, widths: ["45%", "140px"]});
		oContent.bindAggregation("rows", "/accountData", oRow);
		return oContent;
	}
function createQuickViewContent ( ) { var oLabel = new TextView ( ) . bindProperty ( "text" , "label" , function ( label ) { return label ? label + ":" : "" ; } ) ; var oTextView = new TextView ( { text : "{text}" } ) . bindProperty ( "visible" , "href" , function ( href ) { return ! href ; } ) ; var oLink = new Link ( { text : "{text}" , href : "{href}" } ) . bindProperty ( "visible" , "href" , function ( href ) { return ! ! href ; } ) ; var oLeftCell = new MatrixLayoutCell ( { hAlign : HAlign . End , vAlign : VAlign . Top , content : [ oLabel ] } ) ; oLeftCell . addStyleClass ( "qvlabel" ) ; var oRightCell = new MatrixLayoutCell ( { hAlign : HAlign . Begin , vAlign : VAlign . Top , content : [ oTextView , oLink ] } ) ; oRightCell . addStyleClass ( "qvvalue" ) ; var oRow = new MatrixLayoutRow ( { cells : [ oLeftCell , oRightCell ] } ) ; var oContent = new MatrixLayout ( { layoutFixed : true , widths : [ "45%" , "140px" ] } ) ; oContent . bindAggregation ( "rows" , "/accountData" , oRow ) ; return oContent ; }
1. create a QuickView form content
1 . create a QuickView form content
// In form of "label: value", the value can be either a link or a text view // Both (link and text view are created but only one is shown depending on the contents)