problem using the ternary operator in el?

Hi all
I m using the ternary operator in el in entering text in the property value as

value = "#{bindings." FirstName.inputValue eq 'amit '? Amit: links. LastName.inputValue}.

Can you all please let me of this. Not able to find out where I m making mistake.

Thanks in advance.

Hello

You can try the below el

value="#{bindings.FirstName.inputValue eq 'amit' ? bindings.FirstName.inputValue : bindings.LastName.inputValue }"

~ Abhijit

Tags: Java

Similar Questions

  • Columns of Union two problem using the TO_CLOB function

    Hello

    Let me start by you (a simplified version of) showing the query I'm running:

    SELECT
    l.Person,
    TO_CLOB(l.letter_code ||) "letter has been sent.") Note
    letters l

    UNION

    Select
    n.Person
    n.Note
    n notes

    And here's the table structure

    LETTERS)
    l.Person varchar2 (10);
    l.letter_code varchar2 (2);
    *)*

    NOTES)
    n.Person varchar2 (10);
    CLOB n.note;
    *)*

    Each request runs on its own without any problem but when I union together I get a ' * ORA-00932: inconsistent data types: expected - got CLOB * "error. I can't understand what is the cause. The TO_CLOB in the first query is to convert the varchar2 column in a CLOB then why would he be oppose to be clauses with the second query?

    Any advice would be much appreciated! Thanks :)

    You may not use the set operations, UNIONS, MINUS, INTERSECT with CLOB columns etc. simple as that.

  • problems using the snap have amd, playback of Jpeg files

    Original title: I'm having problems using the component feature snap-in.

    Sometimes a single document disappears. When this happens while the document program is managed by then will not work. The document seems to be flying around the office. The last time this happened I had a doc JPEG upward and now I can't see what is JPEG. I don't know why the document wants to fly around, and I don't know how to get my use of the JPEG back.

    Hey Graham,.

    To view all jpeg images in the Viewer Windows photo or any other photo software visualization, you must configure this software as a default value in the default programs.

    Check out the link that allows you to configure the program as default.

    http://Windows.Microsoft.com/en-in/Windows7/change-which-programs-Windows-uses-by-default

    You can try to run the Aero Troubleshooter and see if that makes a difference.

    http://Windows.Microsoft.com/en-in/Windows7/open-the-Aero-Troubleshooter

    If the problem persists, provide us newspapers observer of events, as well as the error message if you receive a message.

    http://Windows.Microsoft.com/en-in/Windows7/open-Event-Viewer

  • I'm having a problem using the slideshow module in LR 6.3. The slideshow contains the background image as one of the images to display. Earlier, I had created a slideshow of practice and the background image was not displayed as an image in itself. How to

    I'm having a problem using the slideshow module in LR 6.3. The slideshow contains the background image as one of the images to display. Earlier, I have created a slideshow of practice and the background image was not displayed as an image in itself. How to make it behave?

    Another approach, perhaps a little more elegant (?). Create a collection that includes images for the slideshow. Include the background image in the collection. Drag the background image in the Panel to designate. Then, remove this image from the collection and create the slide show. I just tried and it works, too.

  • My account is active, but Adobe PDF Export ask me to sign up again. The system worked only once on my PC, using the Vista operating system.

    My account is active, but Adobe PDF Export ask me to sign up again. The system worked only once on my PC, using the Vista operating system.

    You must connect prove you are currently subscribed.

  • By using the negative operator

    I am very new to oracle and works collaboratively with the negative operator to run a query. I could use some help!

    Here's the query I'm working on that:

    Select the provider name, partname
    quote
    where partname = "hammer".
    less
    Select the provider name, partname
    quote
    where partname = "hammer";

    HOW CAN I GET THE QUERY TO DISPLAY ONLY THE ROWS OF SUPPLIERNAMES THAT PROVIDE ONLY HAMMERS?
    I WOULD BE VERY HAPPY FOR CLARIFICATION.

    You did not if you use LESS, or you just want to. I guess for now by using LESS that it is a requirement.

    Experiment with the SQL you are using. Add predicates in the WHERE clause to get precisely the lines you want for both queries. Remember that the results for LESS than will take the results of the first query and delete the second query results with the values returned by the first query not returned by the second result.

    Also remember that comparisons of strings in Oracle are dependent case. Your query used 'Hammer' - tiny - but the information you listed used "HAMMER" - uppercase. These are different values and will not match. I'm not sure that you want to search for 'HAMMER' in the second query if you want to remove the other values - you may need to check the values that are not "HAMMER" instead.

    In addition, you used the LIKE operator without a wildcard "%" or "_". AS no Joker becomes =.

  • Problem when using the SDO operations

    Hi all

    I am trying to run spatial SQL queries and I came up with a problem: if I enter the following query, the space operation (in this case SDO_INSIDE) is perfectly executed and the data is returned:
    SELECT SUM(fact.quant) as SUM_quant, instalacao.name as Name
    FROM fact, instalacao, layer_region, emissao
    WHERE fact.instalacao_id = instalacao.instalacao_id AND fact.emissao_id = emissao.emissao_id AND SDO_INSIDE (instalacao.glocal, layer_region.geom)='TRUE' 
    GROUP BY instalacao.instalacao_id, instalacao.name
    ORDER BY instalacao.instalacao_id
    However, if I have introduced another GROUP OF element, like this (where "emissao" has no spatial information and is not used in the space operation):
    SELECT SUM(fact.quant) as SUM_quant, instalacao.name as Name
    FROM fact, instalacao, layer_region, emissao
    WHERE fact.instalacao_id = instalacao.instalacao_id AND fact.emissao_id = emissao.emissao_id AND SDO_INSIDE (instalacao.glocal, layer_region.geom)='TRUE' 
    GROUP BY instalacao.instalacao_id, instalacao.name, emissao.poluente
    ORDER BY instalacao.instalacao_id
    the database apparently 'stuck' in a loop, and when I cancel I get the following error:
    ORA-13268: error obtaining dimension from USER_SDO_GEOM_METADATA
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 8
    ...
    I do not understand what I am doing wrong because the table 'emissao' is not used in any space operation.

    Any ideas please?

    Thanks in advance,
    ~ Ruben

    One of them could probably work, let me know how it goes:

    1)
    SELECT / * + NO_MERGE (v) * / SUM (fact.quant) as SUM_quant, v.name as name
    In fact, emissao,.
    (SELECT / * + (l i) LEADING, USE_NL (l i) INDEX (i instalacao_glocal_idx) * /)
    i.Name, i.instalacao_id
    OF l layer_region, instalacao I
    WHERE (i.glocal, l.geom) SDO_INSIDE = 'TRUE') v
    WHERE fact.instalacao_id = v.instalacao_id
    AND fact.emissao_id = emissao.emissao_id
    GROUP BY v.instalacao_id, v.name, emissao.poluente
    ORDER BY v.instalacao_id

    2)
    SELECT / * + LEADING(e f l) USE_NL (l i) INDEX (i instalacao_glocal_idx) * / SUM (f.quant) as SUM_quant, i.name as name
    In fact e emissao f, layer_region l, instalacao I
    WHERE f.instalacao_id = i.instalacao_id
    AND f.emissao_id = e.emissao_id
    AND SDO_INSIDE (i.glocal, l.geom) = 'TRUE'
    GROUP OF i.instalacao_id, i.name, e.poluente
    ORDER BY i.instalacao_id

    Published by: sravada on July 6, 2009 08:49

  • Cannot transfer or write emails. Using the linux operating system

    I can't write an email or send an e-mail sent. I use linux for operating system.

    Solved the problem. It was the program of Ghostery.
    Thank you for your help.

  • Problem: Using the command 'msg' with 'system Exec.vi.

    I try to write to the LabView code that takes advantage of the 'Exec.vi System '. For the moment, I have tried to use it to ping machines, return the command ipconfig and run through the code example that provides NEITHER.

    I would use the "msg" command used on Windows operating systems to send a message to several machines on our network at a time. Warning that we're about to update a program and that they should disconnect, things like that.

    I tried to use the command 'msg' LabView maintains return errors. I also wrote a quick command as follows file:

    @echo we
    CD c:\Windows\System32\
    Msg.exe /server:localhost * test

    When I run the batch of windows, it runs. When I launch from LabView (using the Exec.vi system), it fails.

    Potential quirks:

    I discovered in a different place under a machine to receive these messages they need to have a registry entry:

    "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" and have a DWord value called "AllowRemoteRPC' = 1.

    Note that "/ Server: localhost" might be "/ server: anycomputer" and the "*" is used as a wildcard character that sends a message to anyone who is connected to this computer. Also note that the 'test' is the message to send.

    Any ideas why I'm having a problem?

    TL; Dr.: "System Exec.vi" does not have the command "msg". Why is this?


  • Problems using the file on the server

    Lately, we have difficulties to use the suite of creative cloud files. When the file is opened for some time, the software crashes. However, if the file is copied to disk local is not a problem.

    Contact support via chat, he guided me to use the file locally, because Adobe does not guarantee the functionality of the files on the server, only disk locally on the workstation.

    Anyone knows help me or have experienced this situation?

    It's just that: work locally.

    For some people indeed does the work on the server, but it's a very personal thing as there are a lot of different hardware and software solutions interfering (all the different servers and switches, and cables and their operating system). For some people, it can even run on a computer but not on the other in the same room.

  • Performance problem with the guest operating system

    Hello gurus - I have one of the most unusual questions, I ran into a few time.   Here it is:

    I have a guest w2008R2 OS - installed in a 5.1 version of VM 7 vSpherer - which has an Emulex LPe 12002-E 8 GB dual HBA port is assigned to the as 2 PCI (1 device per port) via DirectPath devices

    The guest operating system has an application that performs backup tests.   WWPN of the HBA is zoned in the fabric and declared in the interface of Compellent Storage Center and everything is good here. the application creates a replay of a volume, mount it as a drive, read all the blocks, then dismantles and moves then repeat the process with what ever additional volumes should be safeguarded.   It is so cool I have do this with a VM right and not a physical host?  (would be cool if I had work NPIV but that's another story, not with technology HBA vendor support...)

    So, what's the problem?   Well, the bed the mounted disk backup will work extremely slow as slow as 5MB\sec flow, then during any other activity takes place on the system the flow jumps up to 150MB\sec all of a sudden and will continue to run fast for a long time and finish jobs on time with each work taking a little more than an hour.  But when the slow going the same work (all jobs are the same, they are simply by reading all the blocks of a bunch of 200 GB volumes and wrote a set of NULL value, do not forget this is just test) takes up to 10 hours to complete.

    I think that what is the culprit?   POWER MANAGEMENT.

    I have just about each performance counter and the journal of events known to man and I don't see anything abnormal on the table, ESXi virtual machine, nothing.  But what I see in the newspapers is any kind of activity that could happen in a transparent manner to save energy.

    FACTS on this case:

    -Reservation of memory is defined (it must be for directpath otherwise, you can't power on the virtual machine)

    -Booking CPU - has not been defined before an hour ago, I gave her just a small reserve for this rule, so I do not know if this will help alleviate the slow flow, or have an effect on what I think is a question of power (unit linked) management

    -windows power management is set to high performance never-ever - but not until an hour there doesn't I changed advanced settings for USB Disabled------turned off.  PCI peripheral energy saving setting was already off.  Which is in contradiction with my theory.  But maybe, just maybe, something is broken somewhere, or could be a bug... blah blah blah

    -the HBA, Emulex, as it appears in Device Manager in the guest OS doesn't have a power management tab to disable the feature, I don't see that the adapter VMXNET3 had this tab, and I turn off the power save setting to be conservative, do not think that it was the culprit, but as there is no real data running through the NIC.  The data is simply to be read from the disk mounted, not copied on any wire Ethernet.  never the less, in the Emulex properties is a Details tab and a selection of power data, and performance data indicate you what power mode, the device is, as well as feeding supported systems.  D0: full power, but D3, which shows as supported by the device, is an energy saving mode.   I could not yet attend the setting at the time of slow activity, my good intention as soon as possible. He is currently shooting in D0, full power.

    This is so what I have to offer on this, I hope that its just...   If I'm missing something, or if others have experienced this massive loss of unknown flow without reason and have resolutions, please share.

    If there is a way for me to disable power on the Emulex HBA management inform you please, I don't mind if I stop to enter the firmware, if that was even possible.  But if possible I would disable it immediately before any new tests are executed.

    The root cause of this issue has never been identified by VMware support which for me is a question of ugly.  Reservation of CPU for the VM using directpath IO with HBA installed in it corrected the problem.  I'd be leary with direct path IO.

  • has could not initialize photoshop because of a problem using the engine of color adobe (Win 7)

    Running the latest version of Photoshop CS5 and added a second quad and 4 monitors graphics card more.  Now the PS does not start and I get the error message "could not initialize photoshop because of a problem in using the adobe color engine."
    Computer has 2 cards NIVDIA Quadro4 NVS420 graphics with 8 monitors Samsung SyncMaster 1920 x 1080.  If I turn off 4 monitors for CS5 to start normally.  I don't have to remove the extra graphics card.  When I extend the desktop again to all 8 monitors I get the above error.

    How do I troubleshoot the problem?  It's Photoshop, NIVDIA or Windows 7?

    A display profile is corrupt (in the sense that we've not seen before), or the OS color engine is returning false data about the installed profiles and displays.

    My guess is that it's the operating system and displays.

    It could be a driver issue, but I suspect it is the operating system.

  • Problems using the iPad Pro notes app

    I have a new iPad Pro (IOS 9.2), but the notes app doesn't seem to work properly with a pencil. There is no line doodle icon and I can't write with a pencil. Can I use the pencil to 'click' on the functions as "BOLD" and new, but not as a pencil. Someone at - it experience with this and how can I solve this problem?

    Have you updated the Notes app in the app itself.

  • Equium L40 problems using the recovery disk

    Hello

    I wonder if anyone can help me?

    I want to restore my computer but when I put the recovery disk in I select the cd/dvd rom drive by pressing f12 at startup.
    I also maintained pressed C when I lit. I select the disc I want to start the computer, it goes to a black screen, then it loads just windows up as usual.

    I phoned with Toshiba for help and all they could tell me was that as another drive worked on my computer, it isn't a problem with the disk drive, but a problem with the disc and it will cost me 30 quid for a new!

    Is anyone able to give me any help

    Thank you

    Hello

    If I understand your message, you are not able to recover the laptop using the Toshiba disc. Is this good?

    Well, in your case I recommend to start from another original Windows XP CD bootable disc or Vista DVD or a Linux drive to test if the CD/DVD drive can handle this drive.

    In this case, you can test if your CD/DVD drive is faulty or if the problem is related to the Toshiba DVD recovery.

    Welcome them

  • M277dw: Reset zero problem using the USB to M277dw

    Hello, I'm just trying to see if anyone else has had this problem. I use the laserprinter HP M277dw and use a current running nine Imac El captain. If I print anything on my printer and then decide to reboot my computer for some reason any, if I keep the USB cable connected to my computer that is connected to the printer, the computer hangs on reboot. It is the same on a full stop to the low and new start up as well. It's almost as if the printer is not disconnected somehow when I shut down or restart. The solution I found is to unplug the printer USB whenever I have to restart or shut down and then reconnect to the computer up and running again. My feeling is that this is related to the El captain, but I can't say for sure. Anyone else see this problem?

    Hi @andrewdawson11,

    Welcome to the Forums of HP Support! I see that you have problems, turn off the Mac, it crashes on restart when the printer is connected by a USB connection. I will definitely do my best to help you. If this helps you to find a solution, please click on the button "Accept as Solution" down below in this message. If you want to say thanks for my effort to help, click on the 'Thumbs Up' to give me a Kudos.

    Run Apple updates.

    You download and install the latest drivers for the printer? If the latest driver is not installed, which can cause this problem. Here is the link if you have not already: HP Easy Start.

    Make sure that the correct driver is added.

    Click on the Apple menu, click System Preferences. Click on Printers & Scanners, highlight the name of the printer on the left side and right side of the screen it should show the name of the printer. (Laserjet M277dw)

    If the full name of the printer is not correctly, delete and add the printer name back from the list. Click on the sign - to remove the driver and then click on the + sign to add the driver might have to drop-down list to select the name of the printer to add a click.

    If the problem persists, try the following:

    Fix permissions of the drive on the Mac:

    Close all applications.

    In the Apple menu, click OK, click Applications, and then click utilities.

    Double-click disk utility.

    Highlight your hard drive / partition on the left.

    Click on check and then repair disk permissions.

    Restart the computer...

    Reset the printing system:

    Note: This will remove all printers in the print and Fax/Scan, any printer deleted can be re-added later by clicking the sign plus (+) symbol.

    Click on the Apple icon and then click on System Preferences.

    Click on Printers & Scanners.

    Make a right click (or Ctrl + click) in the left white side panel, and then click Reset printing system.

    Click OK to confirm the reset.

    Type the name and the correct password.

    Click OK to reset the printing system.

    Then click on the sign to add the driver, highlight the printer +. (you may need to click the drop down menu to select the printer name) Then click the Add button.

    Test the printer and try to restart the Mac again.

    If there is anything else I can help you, let me know. Thank you.

Maybe you are looking for

  • The new tab button has been hijacking

    I've updated Auslogics Registry Cleaner. Companion Web of Lavasoft has been automatically downloaded and installed on my computer. He seems to have changed Firefox: whenever I try to open a new tab, the search engine Bing opens automatically in the n

  • List a subvi, called by a vi

    Hello I would like to know how to generate the list of VI in a VI "main"? I need to have a complete list of the sources of my software. Thank you

  • Pavilion sleekbook 14-b040tu: ACPI\VEN_HPQ

    Hello the Device Manager I have an unknown device with the following hardware ID ACPI\VEN_HPQ & DEV_0004ACPI\HPQ0004* HPQ0004 Location: on pci express root complex Instant unit path: ACPI\HPQ0004\3 & 11583659 & 0 Someone knows a driver for him or is

  • hp8620: tools of the printer

    I installed the printer using my pc Tower, next to the router and the printer is connected via an ethernet cable, I also have a laptop, I installed the printer drivers on it, how can I install printer tools from the CD on my laptop computer, without

  • Windows continuous update of re - ask to install even if it is installed.

    Hello team,I have a problem that I can't seem to stop. I have a windows update that keeps asking the udpate even again and again. Recently I did a format and expense installing this OS. The BONE I have is 2002 service pack 3 Windows xp profession. Th