In XML view, how to set sap.ui.core.CSSSize array for property "widths" of MatrixLayout Control?

As SAPUI5 prefer XML views, I'm rewriting JS view into XML views.
When I translate the statements below, I can not set sap.ui.core.CSSSize array for property "widths" of Control MatrixLayout.
JS version:
var oLayout = new sap.ui.commons.layout.MatrixLayout({
    id : 'matrix3'
    columns : 3,
    width : '600px',
    widths : ['100px', '200px', '300px']
XML version:
<l:MatrixLayout
    id="matrix3"
    columns="3"
    width="600px"
    widths="['100px', '200px', '300px']">
<l:MatrixLayout>
The error says: Uncaught Error: "[100px, 200px, 300px]" is of type object, expected sap.ui.core.CSSSize[] for property "widths" of Element sap.ui.commons.layout.MatrixLayout.
Same problem with property `backgroundDesign` of MatrixLayoutCell, I can only use a workaround to use String "Fill1" not the Class "sap.ui.commons.layout.BackgroundDesign.Fill1".
When we meet a property which need a Class object as value, we can not set it in String Format for XML views. That's a pity or I did not find the right way to set NON-String values as property for XML Controls.

Hi,
any settings that are not possible in the XML, need to be set in the controller instead.
Using the string value of an enum is fine, though.
Regards
Andreas

Similar Messages

  • How to set and resent reconcilation a/c for Assent a/c

    hi
    how to set and resent reconcilation a/c for Assent a/c
    amk

    You are permitted to post the recon account undercertain special circumstances :
    USe the transaction codes OAMK and OASV.
    Kindly read the SAP on line documentation before making a postings directly to the recon account.
    Definition of the Reconciliation Accounts
    You are not allowed to manually post to the reconciliation accounts for Asset Accounting in Financial Accounting. Normally, you designate the corresponding General Ledger accounts in Financial Accounting as reconciliation accounts. This change, however, can no longer be made in Financial Accounting, once these accounts already have balances from the legacy data transfer. However, you can use a special report to assign these accounts the status of reconciliation accounts in Financial Accounting (in Customizing for Asset Accounting, choose Preparing for Production Startup ® Production Startup ® Set Reconciliation Accounts).
    There is another report for removing this specification (Reset Reconciliation Accounts).
    Subsequent Correction Postings to Reconciliation Accounts
    Suppose you have already defined the asset G/L accounts in Financial Accounting as reconciliation accounts, but still need to transfer balances to these accounts, or make corrections. You can make correction postings to these reconciliation accounts with a special posting transaction in Customizing for Asset Accounting (Transfer Balances), using posting key 40 or 50. You can only postings to those accounts in a company code with implementation status (Customizing for Asset Accounting, choose Preparing for Production Startup ® Production Startup ® Activate Company Code).

  • How to set the Mail and Fax options  for the Smartforms ???

    How to set the Mail and Fax options  for the Smartforms ??? Please reply me very soon. Its a life deciding question now for me. Please .

    >
    veera Karthik wrote:
    > How to set the Mail and Fax options  for the Smartforms ??? Please reply me very soon. Its a life deciding question now for me. Please .
    Hi
    Check this Link:
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/28d3b9d26211d4b646006094192fe3/frameset.htm
    P.S: Never say reply me soon....people answer you here voluntarily and as everyone has their own desk to manage...sp replies may late or early..depending upon the availabality of the members.
    Vishwa.

  • How to set up and configure AirPort Express for AirPlay and iTunes

    Saw somewhere that supposedly there were some apple written guidlines on the above topic. I have searched all over for them. Anyone know where I can get a copy to read through. Just trying to educate myself a bit and sety up another room with access to itunes, radio, etc with high quality speakers and amp off my express.

    Here you go ...
    How to set up and configure AirPort Express for AirPlay and iTunes

  • How to set default User preferences in Analyzer for all users

    How to set default User preferences in Analyzer for all users<BR><BR>Hi,<BR><BR>I would like to set some settings in Analyzer as default for all users. For example:<BR>1. Display | Char<BR>2. right mouse click on char | Chart Properties<BR>3. Axes tab<BR>4. "Format: Currency" i would like to change to "Format: Number".<BR><BR>How to set default values to all users? Is this possible?<BR><BR>Thanks,<BR>Grofaty

    I'm pretty sure higher access superceedes, so you could set up a group with no actual access, just to get the preferences working, then their individual security will dictate what they can do. I haven't tested this fully, but I beleive this is how it will work.<BR>As far as setting the preferences, go into the admin console and right click on the group, then select Preferences. To apply the group preferences to a user, add the user to the group, then right click on the user, select preferences and from the upper left corner, use the drop down to select the active preference, in this case, it will be the group you created and added them to.<BR><BR>HTH

  • How to set user preferred timezone in OBIEE for all objects.

    How to set user preferred timezone in OBIEE for all objects based on users TZ(may be from @{session.timeZone}). without changing My Account -> Preferences

    Check
    Time Zone Specification from http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#4535403
    just in case https://blogs.oracle.com/xmlpublisher/entry/how_to_keep_your_dates_from_go

  • Without to change the setting.how to set the decimal place to 7 for an UDF.

    Without to change the setting, how to set the decimal place to 7 for an UDF?

    Hi
    Once you create a UDF it will automatically be binded to the data source of data type that you gave at the time of creating UDF.
    So i think you can not set the decimal places without changing the setting in display parameters.
    i am not sure whether it will work or not one thing you can try is that create it as a alphanumeric data type and convert your decimal value to sting and then assign it to UDF,While retrieving for any manipulation you convert it as decimal.
    Hope it helps you
    Regards
    Vishnu

  • How to set up an iPhone as PAN for MacBook Air

    I would like to know how to set up a Personal Area Network for my MacBookAir by using my iPhone.
    I successfully used Bluetooth to pair the two, according to the MacAir, but the iPhone never believed it and insisted that it had found no device to pair to.
    This is after it had presented the correct pairing number with the Mac.
    Thank you.
    Kit

    Create a folder on the external drive named "Music." Copy your /Home/Music/iTunes/ folder into the Music folder on the external drive.
    Now select the iTunes folder on the external drive. Hold down the COMMAND-OPTION keys then drag the iTunes folder icon to your Desktop. This should create an alias named, "iTunes alias." Open the /Home/Music/ folder on your internal hard drive. Drag the iTunes folder to the Trash but do not Empty the Trash. Copy the alias on the Desktop into the /Home/Music/ folder. Select the alias and press RETURN to edit the name. Delete the word, "alias" so that the alias is now simply "iTunes."
    Now open iTunes to verify that you are accessing your real iTunes data. If all is well you can Empty the Trash.

  • How to set up the "incoming Mail server" for google apss account

    how to set up the "incoming Mail server" for google apss account

    The settings are not generic for all webmail accounts, only your office IT department would know what the server address is for their outgoing email server.  You'll have to ask them about it.

  • How I set my Q5 so that reminders (for appointments, etc.) are displayed on my home screen?

    How I set my Q5 so that reminders (for appointments, etc.) are displayed on my home screen?
    Solved!
    Go to Solution.

    Swipe down from the top of your homescreen and select Settings>Notifications. Near the bottom you'll see in blue letters Lock Screen Settings. Click that and toggle Lock Screen Notifications to ON. Now whenever you have an appointment in your Calendar, it'll show up that day on your Lock Screen.
    Cheers.  
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • How to set the gain and input coupling for each channel on a NI 4462 DaQ card?

    I've seen a few examples in how to set the gain for NI 4462, but none tell me how to chose the channel I wish to set this gain.  Also the same problem with input coupling
    Does anyone know how to set the gain and input coupling for each individual channel?
    Thanks,
    Hector
    LabView 8.5 Windows XP

    Hey Hector,
    http://forums.ni.com/ni/board/message?board.id=100&thread.id=1688
    This has a few examples of how to do that.  Let me know if you have further questions.
    Have fun!
    -gaving

  • List view - how to set spacing

    I am running Mavericks on a MBP and want to set List view so the Name column doesn't stretch out all the way across the window - I want it to default to something only 1.5-2 inches on screen, so I can easily see and order things by the other columns [such as size, date etc.] - I can't figure out how to set up List View to have a default spacing setting = if I add Comments column [which generally is blank anyway] that'll do it but I don't want that, I just want to set up the Name column in list view to be more limited and not stretch all the way across on first opening.

    It's dynamic and requires showing more than just the name column. That's Apple's new paradigm.

  • How to set SAP idle session time out

    Hello gurus,
          I want to know how to set the time to terminate idle SAP session. What is the parameter and what is the T-code to access that parameter?
    Thanks and Regards,
    Rahul

    Hi Udvadia
    Maximum work process runtime parameter
    rdisp/max_wprun_time                        600
    If its a portal or something else it might differ, above parameter is for a regular work process in a SAP Netweaver installation.
    This can be set in the startup profile of your system using transaction RZ10.
    *Indeed dynamic parameters do not require stop/start
    Reward points if useful.
    Kind regards
    Tom
    Message was edited by:
            Tom

  • How to set up FSCM 9.0 Application for Customers to use ?

    Folks,
    Hello. I have just installed FSCM 9.0 ( all of its modules) and run the application in Browser successfully. The Database is a clean System Database without any Demo data (Production Database).
    In order for Customers to type in their data into the application, we need to set up CharFiled, SpeedType, SetID, common data in Controls Tables in the Database. In Menu, there is "Setup Financial/Supply Chain", and under PeopleTools, there is "Setup Manager". But I don't understand where to start to set up the application FSCM 9.0 application.
    Do any folks understand the procedure to set up FSCM 9.0 application for Customers to use step by step ?
    Thanks.

    Folks,
    Hello. Thanks a lot for replying.
    I have installed FSCM 9.0 all of 50 modules. I just want to implement General Ledger module. Thus, I create a project named "General Ledger" in Setup Manager under PeopleTools as follows:
    PeopleTools -> Setup Manager -> Manage Implementation Project -> Create New Project by Product -> select "General Ledger" ->View Summary -> Save -> Type in "General Ledger" in Project Name Box -> Click ok -> click "generate setup tasks" -> click "setup task generation status"
    It has been for a long time, I still see "Run Status" is always "Queued". The button "View Setup Task" does not become clear. This means the process is not completed.
    Do we need to configure Process Scheduler at first before run Setup Manager ? If yes, how to configure Process Scheduler for Setup Manager to generate a list of setup tasks of a project ?
    Thanks.

  • How to set up use of relative URLs for a BSP application

    Dear all,
    I need to access a BSP application through our external portal.
    This is failing because generated URLs are absolute URLs (they mention physical server name, not known of course on the internet) where they should be relative URLs (they use external portal URL as prefix).
    How to set this up?
    I'm logged on http://myportal.com/irj/portal and want to call a BSP application. To build this page, my internet client (Internet Explorer) tries to get elements from the server. Looking at HTTP trace, I can see that my IE is trying to reach the physical server, not known on internet of course, then page loading fails.
    Ex absolute URL : http://myservername.domain.com/sap/bw/[...]/image1.gif
    This is the behavior I can see at the moment.
    Relative URL : http://myportal.com/sap/bw/[...]/image1.gif
    This is what I'd like to see.
    Many thanks in advance for your help.
    François

    Any idea ?

Maybe you are looking for