Value not set to model for f:selectItem itemValue=" "/

I have a selectOneChoice which value is bound to a String property in backing bean. I select among several one-character values, single space is one of them. The original value is null. When I select the single space option, it is not set to the backing bean. When I select some other option, it works. When I subsequently set the space option, it works.
Is this bug or feature? I work it around by setting a dummy property with special value, that will be mapped to the original one as a space.
Viliam

I've found the culprit, it is method isEmpty in oracle.adf.view.faces.component.UIXEditableValue, here is the decompiled code:
    protected boolean isEmpty(Object value) {
        if(value == null) return true;
        else return (value instanceof String) && ((String)value).trim().length() == 0;
    }The logic to treat space-only strings as empty is good for some (maybe many) applications, but surely it is not the general case.
There is another workaround to use <h:selectOneMenu> tag instead, if you can.
Viliam

Similar Messages

  • DSCP (Differentiated Services Code Point) value always set to '0' for outgoing packet on win 7

    DSCP (Differentiated Services Code Point)
    value always set to ‘0’ for outgoing packet on win 7
    I have setup – Controller (Win 7) and Responder (Win XP)
    In controller I setup DSCP value to something – ‘50’ (in hex 0x32) and perform RTP call
    Then I sniff packets using ‘Wireshark’ where I found DSCP value from Controller to Responder not able to set but which is able to set in packet from Responder to Controller.
    Controller to Responder
    Responder to Controller
    When I run same application under same network, where Controller and Responder are having Win XP, then DSCP value appear in layer 3 protocol.
    When I googled then learned I need to do some registry changes mentioned in below links -
    http://technet.microsoft.com/en-us/library/cc758910(WS.10).aspx
    http://support.microsoft.com/kb/2733528/en-us
    But this solution did not help to resolve my problem.
    Later I did followed changed in Local Group Policy Editor but which was also fruitless.
    I do not want to set some fix DSCP value for all outgoing traffic, as my application has provision to take an input for DSCP value from user.
    http://technet.microsoft.com/en-us/library/cc771283.aspx

    Hi,
    I'll involved another engineer who had more knowledge with your problem. Thanks for your understanding.
    Roger Lu
    TechNet Community Support

  • [svn:osmf:] 14823: Fix bug where canPause was not set to false for live streams.

    Revision: 14823
    Revision: 14823
    Author:   [email protected]
    Date:     2010-03-17 10:51:40 -0700 (Wed, 17 Mar 2010)
    Log Message:
    Fix bug where canPause was not set to false for live streams.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamPlayTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/elements/TestVideoElement.as

    Thanks for looking at this post. We have resolved the issue for ourselves by working with our DBAs to narrow down where the problem actually started. We found that the particular SQL we were looking at was not the issue. In a chart on a subsequent page (via a click through), we were actually running into where apex was starting to consuming memory but we were catching it later.
    What we found was that when we had a chart query that was SQL containing a pipeline function, the memory usage went up. And within 10 minutes, the server would crawl to a halt. To release the memory, the DBAs would have to bounce the Apex instance. When I changed the query to be a function returning SQL, the problem stopped. I don't know what the correlation was between SQL and moving to a PL/SQL function returning SQL.
    I am not even 100% positive of the pipeline function being the cause. I only know that this started happening about the same time as when I implemented the pipeline function. I understand you are leery of a one-second function/query running up that kind of utilization. No one here believed me either (including me really). We figured it HAD to be a coincidence. But once I changed the query from SQL to a function returning PL/SQL, our problem went away.
    Thanks to all who looked at and thought about this.
    Walter

  • Item Values Not Set - Dynamic SQL Fails to Parse.

    ** Think I've fixed this **
    (By simply defining some page computations I was able to set the item values to some default. Please don't feel the need to reply :-))
    I have a page consisting of 5 report parameters and a report, all in one region, 4 parameters are LOVs and one is a text field which in the query are all compared to table column values. The report region type is SQL Query(PL/SQL function body returning SQL Query).
    If I load the page in a new session with default values for the LOVs as '%' and a null text field, I get the following error message:-
    failed to parse SQL query:
    ORA-00936: missing expression
    If I examine the session state, I see that none of the parameter values are set, which is probably why the dynamic sql is failing.
    If I set one of the parameters to something, eg. choose another value in an LOV or type some text in the text field, and re-run the report, it executes without error.
    What's the easiest way to fix this, is it to set the page items to some specific values when the page is first loaded? If so how do I do that? I'm not having much luck creating some process to do it.
    All help appreciated.
    Ian
    Message was edited by:
    Ian_F

    Hi Ian,
    Did you already try to put a default value for that lov?
    Or try to do a computation before header?
    Thanks,
    Dimitri
    -- http://dgielis.blogspot.com
    -- http://apex-evangelists.com

  • Can not set source file for Fireworks png in Dreamweaver

    I recently purchased Adobe Design Premium CS5 to replace my CS3, but I have a big
    problem.  When I export a png in Fireworks to Dreamweaver it does not set the source
    file correctly.  It places the Fireworks object on the page, but when I select the table
    that holds the Fireworks object, the path for the source on the Properties panel is
    wrong - it says menu2.png.  The correct document relative path is dress_images/menu2/menu2.png.
    When I drag the Point to File icon over the menu2.png on the Files panel, it correctly displays
    the full path, but when I let go of it, it sets the path back to menu2.png.  I can not even type it
    in the source box and get it to stay.
    Here is the problem.  When I click on the Edit button, it says it can't find the png.  It is using
    the full path from the C: drive instead of the document relative path.  If I browse to the png file
    and open it in Dreamweaver then click the Done button, it saves the png file but does not change
    any of the content on the HTML page.
    Fireworks and Dreamweaver CS3 worked perfectly here.  Help!
    I just tried to do this on another computer.  This time when I pasted the Fireworks HTML onto the
    page in Dreamweaver it set the path correctly (it was a root relative path instead of a document
    relative path).  I tried to edit in Fireworks using the Edit button, and it opened Fireworks without
    any problem.  I made some changes then clicked the Done button.  Now the Done button is suppose
    to be like magic.  It is suppose to save the changes to the png file, make the changes on the HTML
    page in Dreamweaver, and change any of the supporting files (images) that have been edited.  It
    always worked this way in CS3, and anything less than this would be a huge step backwards.  In this
    case, it saved the changes to the png, but did not make any other changes.  The web page in
    Dreamweaver is still the same.  How do I get the Done button to work its magic using CS5.
    Another problem - when I paste the code onto the page, the page looks totally messed up.  If I save it
    and reopen it then it looks fine.  However, this never occurred with CS3.  Aren't updates to software
    suppose to be improvements?
    Thanks.
    Nathan

    Yes, the web site is correctly defined in Dreamweaver.  I teach web design for both high school and
    adult school, and I have done this procedure 100's of times with CS3.  There is something different with
    CS5.  I took your suggestion and imported the Fireworks HTML using Insert -> Image -> Fireworks HTML,
    but it still does not work.  I can edit it in Fireworks, hit the Done button, and the png file is saved but
    the HTML page remains the same.
    Also, the export does not get the path right, and it will not let me set the path right.  The only way the path
    is right is if the page that I am pasting the Fireworks HTML is in the same folder as the png.  It always
    sets the png's path as menu.png.  Therefore, if the page is in a different folder, the document relative path
    won't find it.  This was never a problem with CS3.  In fact, you could paste the code using Control-V and it
    would work 100% of the time.  That is how we always did it.  When exporting from Fireworks, I would set
    Export to "copy to clipboard" then move to Dreamweaver, click where I wanted the code pasted and do Control-V and presto it would
    always work.  You could come back a month later, select the table, click the Edit button, make changes
    in Fireworks, click the Done button and the changes would be reflected on the HTML page in Dreamweaver without
    doing anything more.  I have tried it with "copy to clipboard" and I have tried it with "export HTML file".  Neither
    works.  There is definitely something different between CS3 and CS5, and right now I am missing CS3.
    Thanks for your help.  I will keep fighting this until I get it, but any additional input would be appreciated.
    Nathan

  • #TAB_LINK# value not set for tabbed navigation list

    I'm a big supporter of searching the threads for an answer before posting. My apologies if I've overlooked this in the threads.
    Like many others, I'm leveraging lists to mimic third level tab functionality. I'm trying to use the tabbed navigation list template. My targets for the list entries are pages within the application. When clicking the links however, #TAB_LINK# is not being interpreted within the link URL. #TAB_LINK# is simply appended to the end of the URL instead of being replaced with the actual link value, for example I would expect to see a typical htmldb page link with the target page value.
    As a result, no navigation occurs to the target page. If I change the list template to horitzontal link list, the links function as expected, however I prefer the look of the tabbed navigation template.
    Any suggestions?
    David

    I took a hint from my own post and checked the template that was working for me and noticed that the horizontal list template uses #LINK# instead of #TAB_LINK#.
    I altered the tabbed navigation list template, replacing #TAB_LINK# with #LINK#, and now the tab links function as expected. I'm not sure if this fix will bite me later, or if this is a known issue. If there is a "proper" solution out there, I would still like to hear it. For now I'll assume my fix is a hack.
    Thanks,
    David

  • Can not set data range for a numerical control

    I want to set the maximum of data range to 5000, but it always went back to default value of 127.
    WHy I can not change the data range? Thanka for explanations.
    Message Edited by Dejun on 11-14-2007 11:47 PM
    Attachments:
    datarange.jpg ‏74 KB

    So hit the 'Representation' button.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Values not appearing in Dropdown for field

    Hi All ,
    My issue is that i have a field in a table which has a dropdown list for choosing values. Somehow the dropdown does not contain any values.
    The dropdown is supposed to fetch the fixed values from the value range of the standard domain 'SO_ESCAPE'. when i click on the dropdown an empty list appeard, where as the dropdown appears for a different field in the same table.
    in the field attributes for this field in screen painter the value list is set as from DDIC/flow logic.
    Can anyone help me out on this pls ???
    Thanks.

    Hi All,
    Thanks for all you suggestion..... I have solved the issue...
    The domain used a standard SAP domain SO_ESCAPE. The issue was that in the domain there was a value range (intervals) defined ( 1 - 9) and also few single values were defined.
    The single value had alphabetic keys, hence there was an ambiguity..
    The interval range allows to enter only values within the interval and the single values were having alphabetic keys. Also because the field is a dropdown we cannot enter values manually also.
    Now ia copied the domain to a Z domain and took away the interval.
    once again thanks for all your ideas

  • Why are my parameter values not setting in report?

    G'day,
    Like many others I am a developer who is new to crystal reports.  I have researched a lot for setting report parameters and although my code seem to be working when I open the report through code I'm always asked to re-enter the parameter values.
    Here is my code:
    behind button event
    PersonalAttendance myReport = new PersonalAttendance();
    ReportUtility ru = new ReportUtility();
    ru.SetReportParameter(myReport, "reportName","the title");
    myReport.Refresh();
    myReport.SetDataSource([a data source]);
    ReportViewer.ReportSource = myReport;
    method behind custom class "ReportUtility()"
    public void SetReportParameter(ReportClass rc, string FieldName, object parameterValue)
    //Get the collection of parameters from the report
    crParameterFieldDefinitions = rc.DataDefinition.ParameterFields;
    //Access the specified parameter from the collection
    crParameterFieldDefinition = crParameterFieldDefinitions[FieldName];
    //Get the current values from the parameter field.  At this point
    //there are zero values set.
    crParameterValues = crParameterFieldDefinition.CurrentValues;
    //Set the current values for the parameter field
    crParameterDiscreteValue = new ParameterDiscreteValue();
    crParameterDiscreteValue.Value = parameterValue;
    //Add the first current value for the parameter field
    crParameterValues.Add(crParameterDiscreteValue);
    //All current parameter values must be applied for the parameter field.
    crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);
    I'd really appreciate any assistance....
    Cheers,
    Brendan

    Hi,
    For better assistance on this question I would suggest you to post this issue on "Business Objects SDK Application Development".
    Regards,
    Sumit Kanhe

  • BED,ECS and SECess value not defaulted in J1IS for return purchase order.

    1)I have created return purchase orde for an excisable material.
    2) In the purchase order i am able to view the BED,ECS and SEcess values.
    3) I have created MIGO, for the return purchase order with excise as part 1 only.
    4) While doing J1is or the 161 material document number, the BED, ECS and SEcess values are not defaulted.
    Kindly help me to solve this issue.
    Regards,
    jayakumar

    Hi,
    Check the settings in
    Tax on Goods Movements  --> India --> Account Determination
    Specify Excise Accounts per Excise Transaction - Check for ETT OTHR
    OTHR          CR Credit     PLAAED PLA AED account
    OTHR          CR Credit     PLABED PLA BED account
    OTHR          CR Credit     PLAECS PLA ECS Account
    OTHR          CR Credit     PLASED PLA SED account
    OTHR          CR Credit     RG23AED RG 23 AED account
    OTHR          CR Credit     RG23AT1 RG 23 AT1 Account
    OTHR          CR Credit     RG23BED RG 23 BED account
    OTHR          CR Credit     RG23ECS RG 23 ECS Account
    OTHR          DR Debit     MSUSP CENVAT suspense account
    also check for Specify G/L Accounts per Excise Transaction
    Regards,
    Vikas Mayekar

  • Values not populated in S_ALR_87012806 for a specific cost element

    Hi all,
    Postings made to specific cost element are not populated in report S_ALR_ 87012806. Can anyone throw some light on this?
    Thanks
    Shravan

    Hi Krishna
    I dont think "Cost Accounting > LIne Item" would work for Master Data
    You can use exit COOPA_01 (SMOD) > Include ZXAUFU08 (Part of EXIT_SAPLKOAU_002)... I have used this for similar purposes in the past
    Regards
    Ajay M
    Edited by: Ajay Maheshwari on Nov 12, 2010 12:45 PM

  • ECS Value not defaulted in J1IEX for Import PO

    Hi,
    I have raised import purchase orders. After BOE, i am trying to capture excise details in J1IEX. CVD,SECess,AED values get defaulted. But ECS value is not updated in J1Iex.
    Please help me to sort this issue.
    Regards,
    Jothi

    Hi Jothi..
    Can you brief the steps that you did sofar..
    I am also having the same case and i didnot get the default values in J1ieX even...
    Iam getting all the values defaulted in MIGO.But i want to capture that in J1iex only.
    But you jus check whether you are getting the values defauleted in MIGO first..if not chk the configs at "Tax Defaults".
    Thansk
    R.Kannan.

  • Can not set up cc for apple acct

    Can not finish apple id set up

    You (according to your screen capture) have entered the wrong number of characters.

  • Installing new IOS7 and prompt for passcode when I have not set one up for my iphone

    Have installed iOS7 on my iphone 4S and when it has restarted it has asked me to enter my passcode, when I had not previously entered one and now phone is locked and I am unable to use the device. Is their a default passcode that I have to enter before selecting one of own?
    Please advise.

    Try and force your iPad into Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost.

  • Password not set after PSS for user

    Hi,
    Edited by: Chetan on May 24, 2011 2:36 AM

    Hi
    Regarding the first question: You receive the "Password set", but does your test-user have a role assigned in UME through IdM? If yes, I would check the system log to see if any errors are written here.
    If no: Try assigning a role to the user and then try resetting the password.
    Have you checked in UME under security concept if it is allowed to change the password (it is in some check box under security concept under Configuration.
    Best of luck with editing passwords in AD. now THAT is a real challenge
    Kind regards
    Heidi Kronvold

Maybe you are looking for

  • PROFIT & LOSS ACCOUNT CONFIGURATION

    Hi all....... I want to create Profit & Loss A/C. Through FSV I have created Balance Sheet. Can anyone please help me regarding the configuration steps of Profit & Loss A/C. Best Regards Amitava Saha Moderator: Please, avoid asking basic questions an

  • Print Photo from wireless

    When I print a photo wirelessly from the test it prints correctly.  However, when I choose to print a photo outside of the setup it prints on paper instead of the photo paper.  I check 4 x 6 print on HP Premium Paper. What am I doing wrong?

  • ORACLE OPENWORLD EUROPE

    Berlin, Germany 18-21 June 2001 Oracle OpenWorld is the world's largest technology conference dedicated to Oracle products and solutions. New this year at Oracle OpenWorld Learn how to build and deploy e-business applications effectively by attending

  • Formula node error: missing right parenthesis

    Hi NI community, I am working with the formula node structure for the first time and I came along this error which I can't fix. It says it finds a # character, but the strange thing is that there is no character. Is there anyone who can help me with

  • I get Exit code 15  issue on CS installation, should I use the CS6 Cleaner Tool?

    Upon startup the CS6 Beta would pop up the error that the sniffer_gpu.exe stopped working, and would not open.  I updated my graphics card drivers suspecting an OpenGL issue, but that didn't solve my problem. I then uninstalled CS6 via the control pa