Succession of TaskSelectionEvent.getTaskIds is not equal to user selection

Dear all,
My configuration is JDev 11g R1 (11.1.1.4.0) and I'm currently working at ADF DVT Project Gantts.
At the moment a problem occurs within the TaskSelectionEvent: The order of the task Ids coming back from TaskSelectionEvent.getTaskIds are not equal to the order of my selection. I 'm selecting first task A and then task B. The method give back [B, A].
The code snippets based on the Oracle ADF faces demo:
JSP:
<dvt:projectGantt id="mygantt" startTime="2008-01-01"
endTime="2011-12-31" var="task"
value="#{PG.model}"
tooltipKeys="#{PG.tooltipKeys}"
tooltipKeyLabels="#{PG.tooltipLabels}"
dataChangeListener="#{PG.handleDataChanged}"
actionListener="#{PG.handleAction}"
partialTriggers="ctb2"
taskSelectionListener="{PG.handleSelectedTask}">
</dvt:projectGantt>
Java:
private List selectedTaskIds;
public void handleSelectedTask(TaskSelectionEvent evt)
selectedTaskIds = evt.getTaskIds();
What am I doing wrong?
Thank you in advance.
Best regards,
Tom

For the use case where tasks need to be linked (user clicks the "Link" icon in toolbar after selecting tasks), getTaskIds() in handleDataChanged() would return ids in the order tasks were selected.

Similar Messages

  • Add search operator NE (not equal) by "user status" in Leads?

    Hi, I added the operator following the procedure
    Open TX: SM34
    There use view cluster CRMVC_DQ
    Selecte the entry: KompName = BT ; DQuery Objectname = BTQLead
    Mark search operator "NE" and save
    I  add the operator, but  both "EQ" and "NE" gives me the same results.
    Who can help me?
    Best Regards

    Hi Carl:
    Thanks for your answer. Could you please explain a little bit more in detail ?
    Thanks a lot in advance!!
    Best regards,
    Cristina

  • Not Equals Function is not working in Mapping

    Hi All,
    i have to do mappig based on the Not Equals & And conditions
    If the Material Group starts with "F"
                            And Material Type Not Equals to "ZPRO" means
                                        then send "FG" Else "FC"
    Here Not Equals & And Functions are not giving success, Error throwing like
    Cannot cast ZPRO to boolean] in class com.sap.aii.mappingtool.flib3.Bool method not[ZPRO
    Please help in this
    Regards

    i have to do mappig based on the Not Equals & And conditions
    If the Material Group starts with "F"
    And Material Type Not Equals to "ZPRO" means
    then send "FG" Else "FC"
    Here Not Equals & And Functions are not giving success, Error throwing like
    Cannot cast ZPRO to boolean] in class com.sap.aii.mappingtool.flib3.Bool method not[ZPRO
    the logic applied is incorrect
    NotEquals is a boolean function meaning it will accept only boolean values as input....
    To check if the Material Number is ZPRO or not use the below logic
    MaterialNumber                                            Then(FG)
                          ------equalS(TextFunction) ---- not -----ifWithElse ------------------ Target
    Constant (ZPRO)                                                   Else(FC)
    Regards,
    Abhishek.

  • Argument error; the number of columns does not equal the number of parameters.

    I am using the Database Toolkit (Enterprise Connectivity) to check for a network connection and then send information from a local database to a SQL database on the network if needed.  In development of the code I continue to receive Error 1 and the Possible Reason(s) is "Argument error; the number of columns does not equal the number of parameters."  I am using the DBToolsSelectData.VI to retrieve data from the local MDB file and the DBToolsInsertData.VI to write it to the SQL file.  The collection of the data from the MDB file is successful and the connection and validation of the table and columns in the SQL file is also successful.  The error occurs when the Insert VI tries to build the query.  The number of columns being written (attempted) does match the number of columns in the data, they are both 16 string arrays.

    Ok, it's taken a bit, and I have a solution! It took a while to figure out what the DCT is doing, but it seems to be working now.
    The reason for the original error is that you were passing into the insert subVI an array of variants - which the input to the VI coerced into a single variant. You were getting the error because as far as the insert VI was concerned you were only passing it a single data value. The way to get around that was to create a cluster with one element for each column value, convert the cluster to a variant and pass the result to the insert VI - see attachment.
    In terms of the other modifications, I made a copy of the endurance.mdb file, emptied it and used it as the destination for the copy.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    NetworkCheck.vi ‏49 KB

  • Is not equal to operator not working properly in obiee 11g

    Hi ,
    I have 5 members in a dimesion ENTITY.gen5 (A,B,C,D,E) .
    nOW , I am using a *"is equal to "* operator in that ,
    ENTITY.gen5 = A;B .
    Which results in a strange error while running the report :
    Socket communication error : was attempted on somthing which is not socket .
    or sometimes ,
    Socket communication error : Oracle BI server is not currently running .
    So , I tried with giving "is not equal to" i.e . ENTITY.gen5 != C;D;E .
    Then , I am getting A,B,C . C is not desired here .
    FYI , I have renamed ENTITY.gen5 member names in essbase once and after refreshing I tried the above .
    OBIEE version : 11.1.1.6
    essbase version : 11.1.2.1
    Thanks in advance

    In EM, go to Weblogic Domain, right click on bifoundation_domain and on the Security menu choose Application Policies.
    Set Application Stripe to obi and click the blue arrow search button.
    Highlight BIConsumer and click Edit.
    Under Permissions locate Resource Name oracle.bi.publisher.scheduleReport. Highlight this and click Delete...
    Click OK (top right corner).
    Now log your user out of OBIEE and back in again, and the option should have disappeared from their New menu.

  • I've tried to update my i-Tunes version after the site suggested I should following my i-Pad being plugged into it for the first time. The update seemed successful but the program would not open at all despite switching off the PC and re-starting several

    I’ve tried to update my i-Tunes version after the site suggested I should following my i-Pad Air being plugged into it for the first time. The update seemed successful but the program would not open at all despite switching off the PC and re-starting several times. I then tried wiping the original software from the computer and re-downloading from scratch. Each time I tried the download failed with a message saying “Service “Apple Mobile Device” failed to start. Verify that you have sufficient privileges to start system services” At this stage, the only way forward was to “abort” the download. This I have done now four times and the same thing happens. When I did finally manage to get an i-Tunes shortcut on my desktop, the program wouldn’t open saying: “i-Tunes was not installed correctly. Please re-install i-Tunes. Error 7 (Windows error 193)” Any ideas to resolve this?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • HOW TO BLOCK DELIVERY OF GOODS WHICH ARE NOT EQUAL TO SALES ORDER

    Hi,
    I want to block user to create any sales invoice for some customers based on  sales order where quantity in sales order is not equal to invoice.
    Thanks,
    Anitha

    Hi Anitha,
    You can do this by selecting check marks on two field under BP Master data >>Payment Terms
    1) Allow Partial Delivery of Sales Order
    2) Allow Partial Delivery per row.
    Thanks,
    Regards,
    Sudhir

  • Root device mounted successfully, but /sbin/init does not exist ???

    I'm having the issue where when I boot after doing a fresh install, it gives me:
    ERROR: Root device mounted successfully, but /sbin/init does not exist
    Bailing out, you are on your own. Good luck
    sh: can't access tty; job control turned off
    [rootfs /]#
    My fstab:
    # /etc/fstab
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda1 LABEL=homerroot
    UUID=877deab9-624d-4e1d-90a1-ccc1d6ebc0c6 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda2 LABEL=homerboot
    UUID=77835da5-8a38-44c1-bf27-bb657df4484b /boot ext4 rw,relatime,data=ordered 0 2
    # /dev/sda3 LABEL=homeretc
    UUID=8a1b5bd8-b147-41e0-87df-70a4a9e12df2 /etc ext4 rw,relatime,data=ordered 0 2
    # /dev/sda4 LABEL=homervar
    UUID=8eb2e7b1-cdf1-46ce-9dc1-439d002bfae4 /var ext4 rw,relatime,data=ordered 0 2
    # /dev/sda5 LABEL=homerusr
    UUID=bce162b4-d27f-450c-a0e6-4d3ebc6242dc /usr ext4 rw,relatime,data=ordered 0 2
    # /dev/sda6 LABEL=home
    UUID=62de76ab-b6d4-4e3d-a423-c287b81813a9 /home ext4 rw,relatime,data=ordered 0 2
    # /dev/sda7 LABEL=public
    UUID=d98a9c8e-2301-4e66-8c7f-26167633a4b0 /public ext4 rw,relatime,data=ordered 0 2
    This looks fine to me, but when /dev/sda1 is mounted at /new_root, none of the other devices are mounted....
    I don't know if this is what's causing the problem since /etc, and /usr are on separate partitions from root, but
    this would be the first time I get a problem dividing things this way (on ubuntu, mint, fedora, et cetera).
    So I tried:
    https://bbs.archlinux.org/viewtopic.php … 3#p1283343
    I get "* is owned by filesystem 2013.05-2" for all three dirs from step three.
    None of the other steps have any effect....
    I also tried:
    https://bbs.archlinux.org/viewtopic.php?id=172943
    My /dev/sda1 mounts to new_root, so I don't think I'm having his problem.
    And:
    https://bbs.archlinux.org/viewtopic.php?id=166423
    I reinstalled systemd-sysvcompat, and I'm sure that's not my problem.
    Interestingly enough, /usr/lib/systemd/systemd is an elf file on my target hard disk.
    Is this an outdated issue or something? Or should /usr/lib/systemd/systemd be a text file?
    Thanks in advance for your help guys!

    WorMzy wrote:Oh, and /usr/lib/systemd/systemd is supposed to be an ELF binary. Not sure why you think it should be a text file.
    I saw another thread saying that adding an entry there would help. I think it was "init=<something>".
    WonderWoofy wrote:A separate /etc is not supported whatsoever.  There needs to be initial access to a few things there.  I'm sure it could be made to work with some initramfs hackery.  But it is neither supported or wise to do so IMO.
    I'll not do the separate partitions then. Thanks. I'll check back if it works/doesn't-works.

  • HT5312 I keep getting an email from Apple telling me that my Apple Id has been successfully reset when I did not reset them.  Started early June 2013 and in a month i have had to reset it three times. Apple support was not helpful.  Any suggestions?

    I keep getting an email from Apple telling me that my Apple Id has been successfully reset.  I did not reset it.  Since early June 2013 to now i have had to reset it 3 times.  It is not an easy one to remember either. Initally I thought it was some pfishing expedition but no purchases have been confirmed by my visa.  My kids use my Apple Id to download APs and I am informed when this happens.  Nothing strange happening on the financial site at all. Just frustrating as we have to keep updating the ID to use messenger, I cloud etc on all of the devices.  I called Apple Support and the girl initally said she knew nothing about this but then spoke to someone else and they are aware of this ongoing problem and are working on it.  Any suggestions? Are others having the same problems?

    If the system didn't ship with Mountain Lion originally and you didn't purchase Mountain Lion yourself, then you will need to purchase. A purchase by the system's original owner cannot be transferred to you.
    Unless you have another system on which you have purchased Mountain Lion, you will need to first install Mac OS X 10.6.8 on the iMac, for which you'll need either the original installation disks, if the iMac came with 10.6, or a retail copy of 10.6. Install 10.6 and upgrade to at least 10.6.6, and then you can buy Mountain Lion from the Mac App Store, presuming of course that the imac can support Mountain Lion. See:
    http://www.apple.com/osx/how-to-upgrade/
    Regards.

  • HT1941 Hi i have recently updated my version of iTunes in order to sync music from my macbook air to my new ipod shuffle. After a successful installation the application does not launch and I am unable to oepn iTunes of access my music! Someone please hel

    Hi,
    I have recently updated my iTunes to the latest version in order to sync music onto my new ipod shuffle. However after a successful installation the application does not launch or open? There are no error messages. The application is just unresponsive.
    I have already checked the compatibility with Safari, my operating system and checked my firewall is not blocking it - all is fine.
    Does anyone have any other resolutions?
    Many thanks

    Hi Carolyn,
    Thank you for your time and response. The trouble is I am unable to launch iTunes? I have restarted my macbook air a number of times to try and initiate the application but the issue persists and the application remains unresponsive. Will not launch?
    Thanks

  • Is BDC's CALL TRANSACTION 'VA01' is not equals to ONLINE(manual) creation?

    Hi Experts,
    Ours is IS-Oil.
    If the user do not enters/inputs OIC_MOT (Mode Of Transport) at ITEM level on the External Details popup, SAP will get it from Customar Master-KNA1 and populates on it, because its a mandatory field (OIC_MOT), but, do not throws an Error message and interupts the sales order creation process.
    We have a inbound IDOC posting function module for sales order (VA01), which posts the sales oreders by using BDC (CALL TRANSACTION 'VA01') in the system. In this function module, we are not populating the OIC_MOT field contained segment by hoping SAP will populate/default it while it hits CALL TRANSACTION 'VA01' of my BDC of my FM of IB IDOC. But, SAP is not defaulting/populating and throwing error message (saying 'OIC_MOT field is a mandatory input field' data is missing) and IDOC is failing, pls. let me know Wht its so? is the BDC's CALL TRANSACTION 'VA01' is not equals to ONLINE (manual ) creation of sales order?
    Thank you

    Hi
    Several transactions can ba a different behavior between online and bdc process, but if you simulate the trx by SM35 you should find out these gaps
    I don't know OIL vertical, but the main transactions have a bapi can be used insted of BDC program (BAPI_SALESORDER_CREATEFROMDAT2, but perhaps there's a particular BAPI for OIL).
    Max

  • Not Equal to Clause in BODS

    Hello Experts -
    I need to put this condition in transformation  in BODS  table1.col 1 Not Equal to table2.col2 .
    I am not able to find NOT EQUAL TO clause in BODS. I have used  !=  , But  not working.
    However equal to (=) is working fine.
    Any suggestion how I can use not equal to ? (I want it in Where Tab)
    Thanks
    R

    Rohan, please pull/drag your columns into where clause. do not simply write them. and for your condition chk it with " <> " .
    hth
    thx
    deep

  • OBIEE Answe: Error when using "is not equal to/is not in" option in filters

    Hi there,
    I have a report with a column that uses EVALUATE function. I want to filter the results of the report by the values of this column. There's no problem when I use "is equal to/is in" option in the filter options. However with everything the same, when I try to apply "is not equal to/is not in" option I got an error message reading :
    "Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value @{pv_Period_End}{@{system.currentTime}[YYYY-MM-DD]} from @{pv_Period_End}{@{system.currentTime}[YYYY-MM-DD]} does not match the specified format. (HY000)"
    The column is the following funciton:
    CAST(EVALUATE('pob.Get_PP_Status(%1, %2)',"ПРЕПИСКА".PP_ID, DATE '@{pv_Period_End}{@{system.currentTime}[YYYY-MM-DD]}' ) AS CHAR(500))
    Do you any ideas where the problem might be?
    Kind regards,
    Danail

    Thru note 1909504 the Function Module FI_TAX_CALCULATION was changed and caused the error on the system of my customer.
    Hope that helps.
    Regards
    Udo

  • Unable to Create "Not Equal to" condition in Variable creation

    Hi ,
    I am getting an error while creating variable at report level,
    Well, my condition at variable creation is ----> sum(A) where [country] <> " x" ...(It is showing the results when the country is equal to x) and the converse for the same ... If I use [country] = "x" .. It is taking as country not equal to x ..
    Please suggest me on this..
    Thanks in advance ....

    Hi ,
    I am getting an error while creating variable at report level,
    Well, my condition at variable creation is ----> sum(A) where [country] <> " x" ...(It is showing the results when the country is equal to x) and the converse for the same ... If I use [country] = "x" .. It is taking as country not equal to x ..
    Please suggest me on this..
    Thanks in advance ....

  • Rounding off Issue (Net Value not equal to Net Price * quantity)

    Dear Gurus,
    Here is an interesting issue.The default calculation done in the pricing procedure is two decimal places.Now we consider a real scneario,consider the net value of 324 quantities of an item calculated is 36,049.86 .When it is divided by quantity  the resulting value of net price is 111.265 but the system shows 111.27 by rounding it off.
    Now here comes the problem,my client needs the rate to be shown on the order script to be two decimal places and the net value should be equal  quantity * net price.So if we apply this,
    324 * 111.27 = 36051.48
    But the net value calculated by the system is 36,049.86.So it can be consluded that:
    "Quantity * Net Price Shown is not Equal to Net Value calculated by the System"
    Need an urgent resolution,project is stuck on this
    Regards,
    Sam Ahmed
    Edited by: Lakshmipathi on Nov 3, 2011 12:14 PM
    Please dont add URGENT in subject or in your post

    Here is the pricing procedure,
    We start with the amount condition types
                                            Unit Price        Units Condition Value
    ZMRP     MRP                     1,700.00           10     PAC     55,080.00      
    ZTRP     Trade Price     1,445.00           10     PAC     46,818.00      
    ZDPR     Dist. Price     1,445.00           10     PAC     46,818.00         (GL)
    Using Trade Price we apply the product discount of 23%
    ZPRD     Product Discount     23.000-     %                    10,768.14-
    Then we send discount amount to the gl by using condition type ZDIS
    ZDIS      Discount Value     100.000-     %           10,768.14-      (GL)
    tHE RESULTING NET VALUE IS  36,049.86      as 46818.00 - 10,768.14
         Order Item value     111.27      1     PAC     36,049.86      
    And the Net Price is 111.27

Maybe you are looking for

  • Published size smaller than planned

    Hi: I have been labouring with an animated cartoon Christmas card (my first attempt at using Flash). Thanks to help from David Stiller I have succeeded in getting it to work (save for moving the background layer to line up with the animation). I trie

  • I cant redeem the itunes card i just bought, what do i do?

    when i bought some itunes card form that store they were still in the case , but now it wont let me redeem it saying it isnt valid. i checked it to make sure that i typed it in right and i did but wont work. what do i do? i spent $30 dollars for the

  • No connection with SP3

    I reinstalled my laptop with Xp sp3. Now my cable connection doesn't work anymore with my N80. I plug in my cable, takes very long, then message appears that there is a problem with a new usb-device. Does anybody know a solution ? Thanks in advance,

  • Jdbc resource and jndi

    1) How do I add a new jdbc resource. The tutorial http://java.sun.com/j2ee/1.4/docs/tutorial/doc/WebApp12.html#wp70019 does it behind the scene with asant. 2) What shall I do if I don't want to use a jdbc resource but a jndi resource which accesses a

  • Macbook Pro Speed Test

    Hey everyone, So I purchased a new "super fast" MSP just a few weeks ago. I am having some continuing issues with computer lagging when opening programs and what not. So far I am a little under impressed with what has been reported as lightning fast