Adding two expressions in ADF Groovy

Hi All,
I want to add two expressions in Groovy given as below. Is a Groovy reference link available for starters. Basically the below expression gives eg: "3+4" instead of 7.
#{bindings.DefibrillationNoAmsShocks.inputValue}+#{bindings.DefibrillationNoOtherShocks.inputValue}
Thanks

What is the datatype of the attributes DefibrillationNoAmsShocks, DefibrillationNoOtherShocks?
In Jdeveloper 11.1.1.4, If the datatype is of type oracle.jbo.domain.Number, both these expressions provides the desired results:
"#{bindings.DefibrillationNoAmsShocks.inputValue.value + bindings.DefibrillationNoOtherShocks.inputValue.value}"
"#{bindings.DefibrillationNoAmsShocks.inputValue.data + bindings.DefibrillationNoOtherShocks.inputValue.data}"Thanks,
Navaneeth

Similar Messages

  • I accidentally added two .doc files, they show in iTunes file sharing, but don't show on iPad?

    I accidentally added two .doc files by dragging and dropping into itunes, under my device, then the app tab, then file sharing for Adobe Reader, they show in iTunes file sharing window, but don't show on iPad 3, and I cannot delete them on iTunes screen? Please help!

    First, I would advise you to apply Tao philosophy to this. Given the dysfunction of most software, if this was just an accidental copy and you don't want them on iPad and they are not showing up anyway, what's the problem? Forget it. It's not worth the hassles. I'm more concerned that you have psychological issues you need to be dealing with, not this. You are making much too unnecessary work and stress for yourself.
    As for deleting them, I'm assuming you highlighted them and hit delete and it didn't work. If not, it should. Works for me. But if it doesn't, my advice is also not to worry about it, as annoying as the clutter is. It will eventually resolve itself (like when your data files corrupt or your iPad crashes, LOL. (I apologize for my cynicism but I am fed up with dysfunctional software). It's not worth the hassles of trying to figure out petty issues.
    As for me, I have the opposite, and very serious problem. I've got Reader on my iPad too. But I can't move the pdfs out of it and onto my laptop with iTunes' dysfunctional file sharing. I get the error "file cannot be copied because you do not have permission to see its contents." I have hundreds of pdfs on my iPad that I converted from web surfing with other programs that also don't work and I can't get them off the iPad for backup and to have a synced library I can access from both laptop and iPad.
    I called iTunes twice and both times they blamed it on the app, saying iTunes file sharing doesn't support third party apps and that I should call Adobe and talk them into writing the code that will work with iTunes. Yeah, right. And Reader is not the only problem. This is happening with iAnnotate and Write PDF and other apps.
    I suspect that both of us have the root problem, perhaps Apple's greedy refusal to support the apps that it sells in the app store and are quasi-integrated enough to show up in the file sharing documents list, but can't be moved or deleted; and the apps that don't bother to make their apps fully work with iTunes file sharing.
    If anyone has any solutions ......

  • Problem araised in  adding two custom fields to ksb1 tcode.

    hi experts,
      I added tow fields vendor no, vendor name to Tcode:KSB1.
    i used user-exit :   coomep01 .
    in this exit i added two fields to ci_rkpos (include table) . i.e zlifnr,zname1.
    but that problem is ci_rkpos is not appearing in green color it means it is not transported .
    in development  client is working properly .
    using sm34 i added fields names.
    error is coming like this.
    The following syntax error occurred in the program SAPLXKAEP :
    "The data object "CS_RECORD" has no component called "ZLIFNR", but ther"
    Error in ABAP application program.
    The current ABAP program "SAPLKAEP" had to be terminated because one of the
    here wat ever we add the zfields will appear in kaep_coac ,so in this structure two added fields are appeared in dev client
    but,the same zfields when transported to quality is not appearing .
    please suggest how to do??

    hi breakpoint.
    yes i attached  in transport.
    in quality client.
    wat ever i wriiten code  in user exit it is coming ,but
    incldue table structure is not coming ,and even that fields are appearing in v_tkalv ,but in structure kaep_coac
    blank include strcuture CI_RKPOS is appearing ,but
    in dev client is working properly, and in quality first of all report is going to dump.
    here this tvode is using all 3 plants,how can i restrict to specified plant so that ,it will not affect others plant.
    suggest me how to do??
    Edited by: kamalsac on Aug 18, 2010 10:57 AM

  • Adding two leading zeroes infront of a variable(both character and numeric)

    Hi Experts,
    I have a variable v_data. Whatever is the value of the v_data, two leading zeroes should get added to it.
    v_data may be numeric or charachter type.
    I am using FM CONVERSION_EXIT_ALPHA_INPUT for adding two preceding zeroes for numeric types but for character types what logic I should use?
    Currently I am doing:
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input         = v_data
    IMPORTING
       OUTPUT        = v_data.
    if v_data CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.
        SHIFT v_data BY 2 PLACES right.
        v_data+0(1) = '0'.
        v_data+0(2) = '0'.
    endif.
    But the above code is giving output like this: 0 P0001 but I want output like 00P0001.
    How to fix it?
    Regards,
    Sangeeta.
    Edited by: Sangeeta on Nov 11, 2008 6:22 AM

    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = v_data
    IMPORTING
    OUTPUT = v_data.
    if v_data CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.
    SHIFT v_data BY 2 PLACES right.
    v_data+0(1) = '0'.
    v_data+1(1) = '0'.   " change this
    endif.

  • I have added two new extension on CUCM, Directory not showing in attendant console even after resynch on CUCM and attendant cosn

    I have added two new extension on CUCM, Directory not showing in attendant console even after resynch on CUCM and attendant cosnole
    Any idea?

    Hello,
    Can you tell us what versions of CUCM and CUxAC you are using?  Just extensions alone in CUCM will not sync to the corporate directory within the attendant console application.  You will at least have to have user's associated with those extensions and depending on your rule set within the console that should then bring those extensions into the console directory.
    Thanks,
    Tony

  • Adding two special double numbers

    Adding two double numbers.
    say, 12543.34 and 42895.00 am getting in the decimal part .3999999.
    Now I want .34 instead .399999 and how??
    Can any body help me ??

    Read this (or search the forums--this question is asked at least once a day):
    http://docs.sun.com/source/806-3568/ncg_goldberg.html

  • I manually added two rows in error. How do i delete them?

    Help, I manually added two rows, but cannot find out how to delete them without deleting all the responses!

    Hi;
    You can delete a single, or multiple rows in the Response Table by clicking on the row (or selecting multiple rows by clicking on the first row and then Shift+Click on the last row you want to select) and either using the right click context menu item "Delete Row/s" or clicking the arrow that appears when you mouse over the left side of the row/s and selecting "Delete Row/s" from the menu:
    Thanks,
    Josh

  • I just added two external firewire drives and they keep going to sleep.  I did not have this problem when USB.  I have turned off "put disks to sleep" in power preference.

    I just added two external firewire drives and they keep going to sleep.  I did not have this problem when using USB external drives.  I have turned off "put disks to sleep" in power preference.

    It is not clear if these are the same drives, just connected
    differently, or different drives?
    One thing that may be happening is that the drives firmware
    itself is putting it to sleep when inactive.  Many drives on
    the market have ths feature and it is turned on by default
    and require a drive utility from the manufacturer to disable it.

  • Airport Extreme, Apple TV and two Expresses

    I have a network that runs between the Apple Extreme and the Apple TV. I joined two Expresses to that same network. The Apple TV disconnects now when I play music through the two Expresses.
    Should I set up two different networks: Extreme to Apple TV (one network)AND Wireless G Adapter to the two Expresses (a second network)?
    Thanks for your help,
    Matt

    This may work if your assumption (and mine) is that your existing wireless LAN doesn't have enough bandwidth to support an AppleTV and two Airport Expresses.
    I assume you are thinking of having one cabled LAN with two wireless access points on it - one dedicated to communicating with AppleTV (using an Airport Extreme N base station) at N-only speeds, and another dedicated to communicating with the two Expresses (could use any wireless router or access point that supports b/g speeds). Yes - that will work and may well solve your problem.

  • ADF : Groovy Expression

    Hi
    Is it possible to reference the current entity object name using groovy? I would like to get the entity name in a validator to customize the error message.
    I currently have a validator and an error message with two placeholders,
    Attribute {0} is not allowed to be referenced on {1},
    Placeholder {0} is being resolved using, source.hints.AttributeName.label, I cannot find a suitable expression to resolve placeholder {1}.
    Thanks.

    Hi,
    Can you try
    adf.object.getDefinitionObject().getAliasName()-Arun
    Untested

  • ADF Groovy Expression with bind variable and ResourceBundle

    Now I have ViewObject which have WHERE clause with bind variable.
    This bind variable is for language. Within bind variable I can change Value Type to Expression and into Value: I put +(ResourceBundle.getBundle("model.ModelBundle")).getString("language")+.
    Now if I run Oracle Business Component Browser (on AppModule) this works. In my ModelBundle.properties there is language=1 name-value pair. And with different locale I have different language number.
    Now if I put that ViewObject on one JSF, this bind variable expression does not work any more. Error:
    *oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.util.MissingResourceException, msg=Can't find bundle for base name model.ModelBundle, locale my_locale*
    Any ideas?
    10x
    Zmeda

    The most wierd thing is that, if I make ViewObjectImpl and insert this method
    public String getLanguage() {
    return (ResourceBundle.getBundle("model.ModelBundle")).getString("language");
    and call it in Bind Variable Expression Value: viewObject.getLanguage()
    IT WORKS!
    But why with groovy expression it does not work?
    Zmeda

  • Adding two airport expresses to my network

    I live in a flat that is currently covered perfectly by my wireless network (non Apple wireless router, and no intention to change).
    On the network I have (amongst many other devices..!) one wired Apple TV in the living room, linked to TV / surround sound.  If I were to buy two Airport Express units, one for the hifi in one room (kitchen!) and one for another hifi (bedroom), will these simply link in to my existing network wirelessly     ?
    Thanks.

    Sorry, I am not following this.
    Are you saying that the baby monitor needs to connect to the Ethernet port on the Express?
    If that is the case, unfortunately the older A1084 is not compatible with Apple's newer "extend a wireless network feature".
    You will need a model A1264 for that, or the "new" AirPort Express, model A1392.

  • ADF Groovy Expression for calculation

    Hi,
    I am using JDeveloper 11gR2. For a transcient attribute in a VO, I must add an expression that will calculate and return a value according to a business rule.
    I.e. if 'Standard' then column a * 0.3 or column b * 0.3
               elsif 'Premium' then column c * 0.3
               else 'Luxury' then column d * 0.3 Of course, using the appropriate Groovy expression. Does anyone have an example I could try?
    Thanks!
    Edited by: user545194 on 02.02.2013 07:28

    for example if att is the attribute that you want to calculate and it depend on val attribute
    the groovy exp is done on att
    if(val=='Standard') return a * 0.3
    else if(val=='Premium') return c * 0.3
    else if(val=='Luxury') return d * 0.3
    you must add attribute val, a, c ,d to the dependent attribute
    hope it helps
    Fakhri

  • Adding two Airport Express to New Ariport Extreme - need help with settings

    First, I have a brand new Airport Extreme (square N one) that is up and working just fine. The SSID is "Unstable Network". Under the Wireless tab...The Wireless mode is currently: "Create a Wireless Network". The "Allow this network to be Extended" box is not checked. Radio Mode is "Automatic". Radio Channel Selection is set to "Automatic". What do these need to be changed to?
    2nd: I have an older Aiport Express that I used to use for itunes and a receiver. I want to add this to my Airport Extreme Network to extend the wireless network to the basement and stream itunes to my remote receiver. I can see this Airport Express using Airport Utility. The SSID of this Airport Express is "Unstable Network Extender". Under the wireless tab....Wireless mode is set to "Join a Wireless Network" The network it is assigned to is my Airport Extreme SSID "Unstable Network". It shows up as IP address 10.0.1.6. What should these setting be to both extend the network and allow itunes to stream?
    3rd: I have a second Airport Express that I would like to plug in at a remote end of my house on the second floor to extend my network even further. It is currently hardwired and I can see it in Airport Utility. The SSID is "Unstable Network Extender 2". The setting are the same as the other Airport Express. It shows up as IP address 10.0.1.13. What should they be to extend the network.
    Thank you in advance to anyone that can clearly spell out what my setting should be. I am non-technical for the most part, but was technical enough to set up my Airport Extreme but can't figure out how to extend everything.

    Since you will have a mix (802.11g/802.11n) AirPorts, and that you want to "daisy" chain the two AirPort Express Base Stations (AX) to extend the wireless network, you will need to configure the three of them for a static Wireless Distribution System (WDS).
    Here are the basic steps to do so:
    (Note: To facilitate the WDS set up, place the base stations within near proximity of each other during the set up phase, and then relocate them to their desired locations when complete. In this case, I suggest that you temporarily connect both AXs to the 802.11n AirPort Extreme Base Station (AEBSn) by Ethernet. Also, jot down the AirPort IDs (MAC addresses) for each of the base stations to be used in the WDS. The AirPort ID and is printed on the label on the bottom/side of the base station.) Finally, I strongly suggest that you perform a "hard" reset on the AEBSn and "factory default" resets on the AXs to get them back to their original "out-of-the-box" configurations before you start.)
    For reference in this setup:
    o AEBSn = main base station
    o AX#1 = relay base station
    o AX#2 = remote base station
    Main Base Station Setup - AEBSn
    o On the Mac click the AirPort status menu in the menu bar and choose the wireless network created by AEBSn.
    o Open AirPort Utility (located in the Utilities folder in the Applications folder on a Macintosh computer, or in Start > All Programs > AirPort on a computer using Windows).
    o Select the AEBSn, and then, choose Manual Setup from the Base Station menu.
    o Click Wireless in the toolbar, and then, choose “Participate in a WDS network” from the Wireless Mode pop-up menu. (Note: You may have to hold down the <Option> key before making this selection to get the WDS option.)
    o Click WDS, and then, choose “WDS main” from the WDS Mode pop-up menu.
    o Select the “Allow wireless clients” checkbox if you want client computer to connect to this base station.
    o Click the Add "+" button and enter the AirPort ID of the relay base station - AX#1.
    o Click Update to send the new settings to the base stations in the WDS.
    Relay Base Station Setup - AX#1
    o In the AirPort Utility select AX#1, and then, choose Manual Setup from the Base Station menu.
    o Click AirPort in the toolbar and click Wireless. Choose “Participate in a WDS network” from the Wireless Mode pop-up menu, and choose the same channel as the AEBSn from the Channel pop-up menu.
    o Click WDS and choose “WDS relay” from the WDS Mode pop-up menu.
    o Enter the AirPort ID of the AEBSn in the Main AirPort ID field.
    o Click the Add "+" button and enter the AirPort ID of AX#2.
    o Click Update to transfer the new WDS settings to the relay and remote base stations.
    Remote Base Station Setup - AX#2
    o In the AirPort Utility select AX#2, and then, choose Manual Setup from the Base Station menu.
    o Click AirPort in the toolbar and click Wireless. Choose “Participate in a WDS network” from the Wireless Mode pop-up menu, and choose the same channel as the AEBSn from the Channel pop-up menu.
    o Click WDS and choose “WDS remote” from the pop-up menu.
    o Enter the AirPort ID of the AEBSn in the WDS Main field.
    o Click Update to transfer the settings to the base station.
    (ref: Pages 42-46 of "Designing AirPort Networks.)

  • Error when adding two entries in A/P Invoice.

    Dear all,
    I get the error below whenever i add TWO entries in A/P Invoice .
    [Microsoft][SQL Server Native Client 10.0][SQL Server]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression. (CINF)
    See the attached file for entries and error.

    Hi Neha,
    Please if you have any Approval Query.
    Please also check if you have all SP for Object 13.
    Thanks'
    Regards::::
    Atul Chakraborty

Maybe you are looking for

  • How do I print all the open tabs in Photoshop, without clicking on each and printing manually?

    How do I print all the open tabs in Photoshop, without clicking on each and printing manually?

  • Problems with Window Screen Grabs?

    Hey, Any idea what the problem could be? When I screen grab a fullscreen window by typing "Command > Shift > 4 > Space" the resulting screenshot has the right hand edge cut off. Seems to happen in all apps. It only happens when an app window is full

  • Oo4o (Oracle 8i) and COM+

    Hi, We have an application which access Oracle 8i database using oo4o objects hosted in Windows 2000 COM+. Communicated with MS support and they told that MS is recommending 8.1.7.1.3 Oracle or above. Currently we have 8.1.7.0.0. The 0.0 version leak

  • Is it true that, as from 1 Aug 2013, CS6 will only be available as an online subscription service?

    I have read that CS6 will only be available to new users as a subscription service. It will require users to pay monthly for the service, and will also require that they be online whenever they use the program. Could someone please help me with relia

  • Border problems

    I have just upgraded to Acrobat Pro 11 and am experiencing problems with the appearance of table borders when I convert my Word document to pdf. The top border does not appear at all, and there are small gaps in each of the column borders. Is there a