Is it possible to use if then else EL expression with DependsOnItem?

I have an item in a form layout which depends on items depends on the value of another item (DocumentType).
If DocumentType = N then DependsOnItem --> Name
If DocumentType=J then DependsOnItem --> Name, Mapping
With EL I have tried to use the following expression:
DependsOnItem --> #{bindings.DocumentType.inputValue=='J' ? (Name,Mapping) : (Name)}
But this does not work. Can anyone tell me if this is possible with EL and DependsOnItem?

What is the problem with specifying both Name and Mapping as depends on item? It only generates a partialTriggers property, so if redundantly make an itejm dependent (when the value = 'N') it shouldn't matter.
Steven Davelaar,
JHeadstart team.

Similar Messages

  • HT4145 is it possible to use a sngle air port express both for streaming music to an audio system AND as a wireless base station

    is it possible to use a single air port express both for streaming music to an audio system AND as a wireless base station

    Yes you can - if it is your only router or it is after another Apple router - if you have a non-Apple router then it would have to be hard wired to create its' own wireless network.

  • How to use if-then-else-end if in template building?

    hi,
    I am not able to use the "if-then-else-end if" in my template. I want to display a data based on a condition. My requirement is as follows:
    if bal_for_vd < 0 then
    bal_for_vd * no_of_days
    else 0
    end if
    I tried using
    1.<?if: BAL_FOR_VD < 0 then BAL_FOR_VD*NO_OF_DAYS else 0 end if?>
    2.<?xdofx:if BAL_FOR_VD < 0 then BAL_FOR_VD * NO_OF_DAYS end if?>
    3.<?choose:?>
    <?when:BAL_FOR_VD < 0?> <?BAL_FOR_VD * NO_OF_DAYS ?>
    <?end when?>
    <?otherwise?>0
    <?end otherwise?>
    <?end choose?>
    4.<?if:BAL_FOR_VD < 0?><?BAL_FOR_VD*NO_OF_DAYS?><end if?>
    but ended up getting errors or nothing is getting displayed.
    When i used <?BAL_FOR_VD * NO_OF_DAYS ?> alone its working fine and correct getting result. But on giving condition its erring out.
    I will be glad if i get some solution for this.
    Regards,
    Vishnu T Ramakrishnan

    Hi..
    Below syntax should work..I tried with a sample xml..
    <?xdofx:if BAL_FOR_VD < 0 then BAL_FOR_VD * NO_OF_DAYS
      else
    0
    end if?>HTH..

  • Is it possible to use Adobe Illustrator in multiple computers with the same account?

    Hi guys,
    So our company is a small designing tile company,
    we wanted to purchase the Adobe Illustrator and was wondering if it was possible to use it in multiple computers with one account, as we have two computers that are frequently use for designing, or do we have to buy two separated Adobes Illustrators for each computer?
    Thanks

    From the End User License Agreement (EULA):
    2.1.3 Portable or Home Computer Use. Subject to the restrictions set forth in Section 2.1.4, the primary user of the Computer on which the Software is installed under Section 2.1 (“Primary User”) may install a second copy of the Software for his or her exclusive use on either a portable Computer or a Computer located at his or her home, provided that the Software on the portable or home Computer is not used at the same time as the Software on the primary Computer.
    So, while it CAN be installed on more than one computer, they may not both be in use at the same time.
    --OB

  • Is it possible to use parameter in a user query with subquery ?

    Hi ,
    i need to use parameter ( [%0] ) in user query using a subquery , but i have errors message when i execute the query 
    example :
    SELECT T0.[DocNum] as docnum, T0.[DocTotal] as cde , 0 as fact FROM ORDR T0 WHERE T0.[CardCode]  =N'[%0]'
    union all
    SELECT T0.[DocNum], 0 as cde,T0.[DocTotal] as fact FROM OINV T0 WHERE T0.[CardCode]  =N'[%0]'
    works fine
    but ( exactly the same query in the subquery )
    Select t2.Docnum ,t2.cde , t2.fact from
    SELECT T0.[DocNum] as docnum, T0.[DocTotal] as cde , 0 as fact FROM ORDR T0 WHERE T0.[CardCode]  =N'[%0]'
    union all
    SELECT T0.[DocNum], 0 as cde,T0.[DocTotal] as fact FROM OINV T0 WHERE T0.[CardCode]  =N'[%0]'
    ) t2
    return an error message
    the same query without parameter works fine too :
    Select Docnum ,cde , fact from
    SELECT T0.[DocNum] as docnum, T0.[DocTotal] as cde , 0 as fact FROM ORDR T0 WHERE T0.[CardCode]  ='C1'
    union all
    SELECT T0.[DocNum], 0 as cde,T0.[DocTotal] as fact FROM OINV T0 WHERE T0.[CardCode]  ='C1'
    ) t2
    Is it possible to use parameter in a subquery ?
    thanks

    Try this one:
    declare @cc nvarchar(20)
    set @cc=/*Select c.cardcode from OCRD c where c.cardcode=*/'[%0]'
    Select Docnum ,cde , fact from
    SELECT T0.[DocNum] as docnum, T0.[DocTotal] as cde , 0 as fact FROM ORDR T0 WHERE T0.[CardCode]  =@cc
    union all
    SELECT T0.[DocNum], 0 as cde,T0.[DocTotal] as fact FROM OINV T0 WHERE T0.[CardCode]  =@cc
    ) t2

  • Possible to use mySQL, an open source program with Labview without the use of toolkit, just like we can do with MySQL with Command line.

    Hi i am trying to see if I can use sys exe .vi to execute Mysql commands. Is it possible to use without toolkit?
    regards,
    Clement

    Hi. I know there's a free toolkit that use ADO. But the problem is that my company not wish to splurge on the purchase of MS database server or  alikes, but prefer to run MySQL. So can I do the labview with the MYSQL only?
    Clement

  • Is it possible to use an ipad2 as a keyboard with a ps3 via Bluetooth

    Is there a app, or even possible to use your iPad to connect to a ps3 via Bluetooth for use of a keyboard or transferring files even.

    The iPad cannot act as a Bluetooth keyboard for other Bluetooth devices and iOS does not support the File Transfer Bluetooth profiles for transferring files to other Bluetooth devices.
    There are over 20 different Bluetooth profiles, and no device supports all of them. In the case of iOS Apple has included support for a small subset of the profiles.

  • Possible to use non-AT&T wireless card with iPad??

    Thinking of getting an iPad, however I travel frequently and after looking at the outlandish prices for international data plans, I am about ready to give up on the idea. Anyone know if it is possible to use a non-AT&T wireless card with the iPad? I'm guessing there would be a compatibility issue of some sort.

    The 3G iPad is not locked to a particular service provider. You can get a local Sim card and data plan in many countries. This article will give you some idea of what's available: http://gigaom.com/2010/05/10/ipad-data-plan-guide/

  • Need help with summing column when using if-then-else

    Using logic
    <?xdofx:if INVOICE_BILL_AMT_IN_INV_CURR is null then INVPROC_BILL_AMOUNT else INVOICE_BILL_AMT_IN_INV_CURR end if?> for column field.
    Having trouble summing the column using the logic above.
    Any suggestions would be very much appreciated.
    Thanks,
    Nancy

    Thanks Tim,
    That worked. Got rid of my error. However, if the field is null (=''), I get a total.
    11.05 + 1429.70 = 1440.75
    If the not null (!='') I am not getting a total.
    103.74 + 173.13 =
    BTW, recently took XML class. Leta Davis highly recommended your blog and I have gotten a lot of great tips from it.
    Thanks,
    Nancy

  • Use If then else statement to display concatenated values

    Hi,
    I am trying to create a field which will display 2 different names depending on the status of another field.
    Here is the code I have but it returns no data when I try it:
    <?xdofx:if ReportStatus='Approved' then concatenate(DisplayFirstName, DisplayLastName) else concatenate(InvFirstName, InvLastName) end if?>
    (Also I need to solve how to create a space between the first and last names)
    Any help would be appreciated thanks

    Use the following.
    <?choose:?>
    <?when:ReportStatus='Approved' ?>
    <?DisplayFirstName?> aspace <?DisplayLastName?> or <?concat(DisplayFirstName,' ', DisplayLastName)?>
    <?end when?>
    <?otherwise:?>
    <? InvFirstName?> a space <? InvLastName?>  or <?concat(InvFirstName,' ', InvLastName)?>
    <?end otherwise?>
    <?end choose?>

  • Is it possible to use more then one apple tv in a network?

    Hi communitie,
    I would like to have two Apple TV devices un my home network using two different TV's. Is that possible? Has anyone already tried it?

    Yes many has it works fine give them different names

  • Possible to use Acrobat Pro 9.3.2 with Safari 5?

    Prior to recent installation of Safari 5, I was able to view pdfs in my browser window using the fully-featured Acrobat plug-in. Now, the only choice I seem to have is disable the Acrobat reader and use Preview.
    Is there any way to get my Adobe functionality back?
    Adobe tells me 9.3.2 Pro is the latest. Safari 5.0 seems to be the latest too.
    I am running 10.5.8.
    Thanks for any help you can provide.

    After considerable experimentation, I've gotten it to work, but with issues I'd like to pursue:
    1. After a few quits, restarts and cache clearing, I have noticed that I cannot view pdfs (a) on websites I've created using Rapid Weaver 4.4.1 (latest) (b) if they are password protected unless (c) I have saved the username and password to my keychain.
    2. All other commercial websites, protected or otherwise, that have pdfs I can download without difficulty.
    3. All pdfs on sites/directories of my own creation that are not password protected download and show just fine.
    Is this an issue with my Rapid Weaver pages? My web host?
    I'd like to be able to log in on my laptop, enter my username and password to gain access to the site, without putting the info on my keychain, if possible.

  • Is it possible to use Facetime between Mac and iPad with the same Apple ID?

    Hello,
    I have a MacBook Pro and an iPad. May MacBook is used by my wife and me at home. I take the Pad with me when I travel. On the MacBook I have and Apple ID registered. It is the same I use with the iPad. Do I need a differnt ID for my wife if we want to use Facetime? Or do I need to create a seperate user-profile for my wife on the MacBook?
    Thanks for your feedback in advance.

    Hi
    I use the same apple id for the same thing when i travel between myself and people at home over my iphone and the ipad i leave at home always seems to work of for me
    I normally just give it a little test before i leave each time by signing in of both devices and trying ringing myself
    Hope this helps

  • Possible to use old macbook (mini dvi port) with 24 in LED display?

    Is there a combo of adaptors that will allow me to use my older macbook (mini-DVI port) with the new apple LED screens- i.e. adaptors allowing mini-DVI to mini displayport connector that comes with monitor?

    You need this component and a mini DVI to DVI adapter.
    (53913)

  • Is it possible to use run-time configuration in conjunction with Session Manager?

    I'm trying to avoid using MAX, basically because it's a pain for users to configure MAX when the application already knows what the configuration is. I actually get the configuration from a database, but that's another story. I've experimented with run-time configuration (see page 4-31 of the 'IVI Driver Toolset' manual) and it works fine. However, when I try to use this in conjunction with Session Manager, session manager complains that my logical name is not a driver session name. I suspect that Session Manager is looking up logical names from a different source, therefore run-time configuration won't work. Any suggestions? I've attached the files I'm working with.
    Attachments:
    SessionMgrTrial.zip ‏41 KB

    Hello Mark:
    The Session Manager GetLogicalNames method does not distiguish between logical names and virtual instrument names. A user of the method cannot ask for just logical names or just virtual instrument names. Right now you always get both. The new function is called InstrSessionMgr.GetNames. Notice that the online help file says Boolean for the flags parameter when it is an enum.
    Hope this helps. If you have any further queries, please let us know.
    -NI support
    National Instruments - Software IS the instrument!
    Attachments:
    help.gif ‏22 KB

Maybe you are looking for

  • Projector Connection

    Does anyone know how to hook an iPad up to a projector via Wi-Fi. I have found a projector that allows you download the drivers directly from the adaptor without a CD but I do not know if I can do that with an iPad.

  • Invalid Check Number in the Outgoing Payment SAP 8.8

    Hi Experts, Can somebody help me give the reason why system was not able to accept manual check number 31234578910 in the Outgoing Payment?. System message is "Numeric Value deviates from legal range". Based on the system information displayed Cheque

  • Integration of BI with Oracle EBS R12

    Hi friends, Im in the process of integrating oracle BI 11g with the EBS R12, by following the saurabh gautam document. I followed all the steps indeed in the document but it didnt worked as i can redirect to the BI 11g page soon after clicking the me

  • I have changed my internet connection to Huawei e586 modem 3g 4g wireless modem my Air Play not working any more

    I have apple TV 3rd generation it use to work fine through the previous modem(THOMSON TG585 v7) I have changed my internet connection now using Huawei e586 modem 3g 4g wireless modem At the moment There is internet connection in the apple TV  I can m

  • ITunes: "There were problems downloading some purchased items"

    I am receiving this error message every time that I log in to my iTunes account. There 11 listed items (that I do not recognize) each followed by error 8268 Here is the screen shot Any ideas? Thank you