UIX: MessageList : How to add empty option?

Hi everyone, I've got this MessageList code:
<messageList model="${bindings.IdUnidadOrg1}" prompt="Father" required="no">
<contents childData="${bindings.IdUnidadOrg1.displayData}">
<option model="${uix.current}"/>
</contents>
</messageList>
The data in the bindings don't contain the empty option, how can I add it, so the user can choose between the data in the bindings or nothing?
I tried this:
<contents childData="${bindings.IdUnidadOrg1.displayData}">
<option value="" text="None"/>
<option model="${uix.current}"/>
</contents>
But it renders the "None" option once for each current object.
Thanks for your help in advance.
Fernando.

<contents
childData="${bindings.IdUnidadOrg1.displayData}">
<option value="" text="None"/>
<option model="${uix.current}"/>
</contents>Hi Fernando!
Try this syntax, it should work fine.
<contents>
<option text="" value=""/> <!-- this is what you're looking for. Putting the empty option outside of the datascope--->
<dataScope>
<contents childData="${bindings.<iterator of the viewobject you want to query>.allRowsInRange}">
<option text="${uix.current.att1}" value="${uix.current.att2}"/>
</contents>
</dataScope>

Similar Messages

  • How to add empty rows in table in smart form

    how to add empty rows in table in smart form?
    plz help me regarding this
    send me ur queries to [email protected]

    You will need to add some extra rows to the internal table that your table is displaying.  Use a program node to append additional rows with a key but no argument.
    Alternaively a template may me more suitable for your requirement than a table.
    Finally, please do not include you e-mail address in your question.  Your question and the answers provided to it are for the benefit of everyone in the Community.
    Regards,
    Nick

  • How to add JVM option???

    i am facing problem of permgen memory exceprion..
    i got solution as to add following JVM option
    Increasing the PermSpace of the JVM with -XX:MaxPermSize=256M or higher only
    i don't know how to add JVM option...
    GOOGLING DIDNT WORK

    Done !!!!!!!!!!
    in glass fish
    admin console in JVM SETTING TAB

  • How to add extra options for style of images.   iPad version has far more options than Mac version

    How to add extra options for style of images in pages.   iPad version has far more options than Mac version

    Thank you, you made me go look again and I realised the ones I use on the iPad are under Borders not style and they are on Mac also.  I feel a bit silly but I wouldn't have got there without your prompting.  Do you mean by "create your own"  using the borders and then saving as a style or can you create something that is not in either?
    Thanks again

  • How to add empty coloumn in the work sheet

    Hi
    how to add empty coloumn in the work sheet for taking notes after getting print out the work sheet
    Regards
    Manikandan

    And if you want the column to be a certain width, then just create that calculation with spaces instead (ie: calc_junk = ' ' ).
    Russ

  • How to add empty folder in a jar file ?

    Well
    I know how to add files in a jar file but I cannot add empty folder.
    I would like to do this so that when I get back the jar file I can have all the structure of the save main folder.
    I also test that it is possible to do that on line with the "jar" command.
    Does any of you know how to do this programacticaly ?
    Thanks in advance

         JarOutputStream jos = // ...
         jos.putNextEntry(new JarEntry("directory/"));
         jos.closeEntry();
         jos.finish();
         jos.close();on the command line:
    jar -tf <your_jar_file.jar>

  • How to add empty soap header?

    Hello,
    I created a web service proxy using WSDL and XSD files. Then, I created a sample request from client interface and sent the request as an object to call the web services. However, I am not directly calling the webservices as I am doing it through a Gateway. Here, the problem is, the Gateway accepts only empty SOAP headers and the Gateway inserts the security details in that SOAP header and will send a request to the original web services. Even if we add any element in the SOAP header, it is not accepting the request.
    While sending a request through the client interface(Java class), I am not able to generate a empty SOAP header and send as request. I tried several ways adding a empty header. but no result. Is there any way we can add empty SOAP header while sending a requesting through Java class(Client interface)?
    Thanks
    sekhar

    Thanks for your reply.
    I have tried different approaches for adding empty SOAP header with no elements. But, none of them worked. The only solution for this issue is to add OSB proxy which has the functionality to send empty SOAP header which worked for me.
    Thanks
    sekhar

  • How to add custom option in context menu

    Hi,
    When viewing a document of a repository, can we add our own option (for example, "View In new Browser") in the context menu? And how can we configure the function when a user clicked on the option of context menu?
    Thanks,
    Ray

    Hi Ray,
       Yes, you are right. This is the assignation chain:
       Command->group commands->resource/collection/details->layout set->folder/KM navigation iview.
       Remember, layout set is a service that you need to active on your repository.
       Layout set allows you define (between other things) commands groups availables for resource, links or folders.
       The context menu will have differents commands group depending reource type.
    Patricio.

  • How to add an option in the LOV of Change Disposition to in Item Samples

    Hi
    Can anyone please tell me how to customize this particular issue.
    ADDING ONE MORE OPTION IN THE LIST OF VALUES OF CHANGE DISPOSITION TO IN THE ITEM SAMPLES FORM.
    FOR EXAMPLE- REGRADE OR REPROCESS APART FROM ACCEPT, ACCEPT UNDER DEVIATION AND REJECT.
    ### Steps to Reproduce ###
    1.GO TO QUALITY MANAGER RESPONSIBILITY
    2.GO TO SAMPLES
    3.GO TO ITEM SAMPLES
    4.CREATE A SAMPLE AND SAVE
    5.ENTER RESULTS AND SAVE
    6.GO TO ACTIONS
    7.GO TO CHANGE DISPOSITION.
    Thanks in advance
    Prem.

    Hi
    Just while trying to find something for myself, came across this. Not sure since when this has been introduced, but there is a lookup that is availalbe. I went into OPM ALL Responsibility and got GMD Lookups. In this is GMD_QC_SAMPLE_DISP which has the disposition options.
    Regards
    Girish
    Message was edited by:
    [email protected]

  • Hi All How 2 add empty record to table control

    Hi All,
    If my table control has 10 records , and I want to add an empty record when i click a push button for that what is the procedure to do it. please send me the source code for that its Urgent.
    Thanks&Regards.
    Bharat Kumar .

    Hi..
    In the PBO Module which is called before the LOOP on Table control .
    Give the code like this..
    DESCRIBE TABLE ITAB.
    if OK_CODE = 'ADD'.
    TABCON-LINES = SY-TFILL + 1.
    ELSE.
    TABCON-LINES = SY-TFILL .
    ENDIF.
    This will give the Additional line always when you click the ADD(some) button.
    <b>Reward if Helpful</b>

  • How To Add Job Options In a .PS File

    Acrobat Distiller 5.5 and 7.0
    Greetings,
    I currently automate making a single combine PDF based on runfilex.ps.
    I cannot figure out the snytax to specify the job options file ( fdi.joboptions )
    to the following .ps file
    /prun { /mysave save def
            dup = flush
            RunFile
            clear cleardictstack
            mysave restore
    } def
    (C:/ACAD/COVER.PS) prun
    (C:/ACAD/PD.PS) prun
    (C:/ACAD/DXB-EVE.PS) prun
    (C:/ACAD/DXB-EVS.PS) prun
    (C:/ACAD/DXB-EVW.PS) prun
    (C:/ACAD/DXB-SSE.PS) prun
    (C:/ACAD/DXB-SSW.PS) prun
    Any help would be greatly apprciated.  I find adobe's help files in need of help.  -David

    The /j switch sounds interesting
    I've tried the following syntax with no luck in the .bat file I use to run distiller
    C:\Progra~1\Adobe\Acroba~2.0\Distillr\acrodist.exe c:/acad/VL-90001.ps  /j=c:/fdi-d.joboptions
    /j:C:/fdi-d.joboptions
    /jfdi-d.joboptions
    No luck searching the help files for either /j  or command line
    Any suggestions?  Thanks  -David
    PS I copied the joboptions file direct to c:

  • How to add email option for vendor.

    Hello all,
    I looked for adding an email to the vendor in xk01, but there was no option of email field. I want to post FCEM output to test whther the output working fine thorugh email.
    Plz advice.

    Hi,
    If you are using sap delivered vendor account group, system defualt shows email address in vendor master data.
    In address tab, communication segment you can see the vendor email address.
    Or Goto OMSG t.code choose vendor account group, double click on general data.
    double click on communication, check the Internet mail address field and save.
    Regards,
    Chandra

  • How to add SELECT-OPTIONS to VL10

    Hi Friends,
    I am bit new to enhancements, my requirement is,
    I have to add field VBAK-SUBMI as a Selection Criteria to the Selection Screen for the VL10 - Program V50RINCL - user exit <b>V50R_SELECT_OPTION_ADD</b>.
    Could u please advise either i can inclue zprogram to user exit or i can put code directly in above user exit. If possible give step by step code in zprogram.
    Thanks in advance, points will be given.
    Regards. VK Rao.

    Hi ,
    when you go inside the user exit, there would already be an include statement written for a z program. this z program might or might not be implemented before.
    If it is not implemented, on double clicking on the program name, you will be given a warning saying that the code has not been written yet. So when you press enter, the program will be in editable mode and yo can put your piece of code there.
    and if its already implemented by someone else, then you directly go in change mode in that include program and write your logic.
    Hope this helps,
    Reward points if helpful,
    Thanks,
    Karan

  • How to add more options for e-commerce shopping chart?

    I am considering to use BC for web shop to sell printed products. I would like to add a feature that customer can choose printing size and server side script would count final price of the product.
    I am now choosing a platform for my e-commerce but I do not know enough if BC is a good platform for developers? Is it possible to add this kind of features with BC API?
    Kind regards,
    Susi Waegelein
    www.kuvita.org

    You create attributes on the product and an attribute can have a price associated with it that adds to the total product price.

  • How to add java script option in firefox as this is not available in the menu of tools menu and content of firefox

    Dear sir,
    I am regular computer user and firefox is my default web browser. But it is seen that my web browser is not having the option of enable java scripts as I am learning web page designing. Could you please tell me how to add this option in my web browser on mozila as I am interested to work mozila all the time. I can add this by using internet but that is not always easy and also not sure when this option is enable or disable. Please guide me resolving my problem.
    Regards,
    Mohammad Hossain

    You can no longer do that via the user interface, but you need to check the related pref on the <b>about:config</b> page.
    The <b>javascript.enabled</b> pref should be true on the <b>about:config</b> page to enable JavaScript.
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config
    See also:
    *QuickJava: https://addons.mozilla.org/firefox/addon/quickjava/

Maybe you are looking for

  • Formulas for trail balance

    hi can any body tell me that  if i am creating a report for the G/l what r all the general  formulas are being used for the calculation  of trail balance regards gurkiran

  • Convert Action script Flex project to MX Component

    Hi gurus, I am looking into one of the examples on "Inspectable" in Flex project. As per my knowledge to convert we need to define a .MI file. Can anyone help me in converting this project into a MX component. Thanks and Regards Srikanth Anthargam

  • On Win VISTA start-up "1304: iTunesHelper.exe - Unable To Locate Component"

    I am receiving this error notice whenever logging into windows. Says "This application has failed to start because ASL.dll was not found. Re-installing the application may fix the problem." My children use itunes, so I'm unfamiliar with it and its co

  • I would like to develope a GUI-Builder with Java. Any idea

    Hi! I would like to support GUI-Developers by writing a GUI-Builder with integrated design rules. For example selecting Platform dependent widgets, controlling the number of widgets on the form, proper positioning of widgets on the form etc.This shou

  • DB2 Hostname Change

    Dear All, Our SAP Servers use Linux Suse 11 for OS with DB2 v10.1.0.2 which run on VMware virtualization on Blade Server. Because of that our DRC planning will be done by restoring VMware images. But, there are issues when we try to restore the Produ