Help with binding editor.

I created the container element in the task container of the same type as workflow container element (for which am trying to create the binding). Could anybody please walk me through the process of binding in the binding editor (drag and drop thing).
And also, after I did the binding, how is this container element (in the task), accessible to the method. I mean will it be automatically bound to the method "import" parameter...(where I am using it to extract some other data).
Regards
Srinivas.

Typo with name.
Full points to Sridharan Bhooma!

Similar Messages

  • Pls help with JTree editor problem

    Hi,
    I have a JTree where each node in the tree is a JPanel. In each
    JPanel are two JTextField objects. Only one of the JTextField objects
    is editable.
    When I click on node (a line in the JTree) with the mouse, it is
    painted using the custom editor (TreeCellEditor) that I have written.
    When the selected and editable JTextField has the focus, and when a
    certain key is hit, I capture that key, do some things, and then select
    a different node in the JTree.
    When selecting the new node, I need the node to be painted with
    the editor, just as if I had clicked on it with the mouse.
    In the method called as a result of the key binding, I call the
    following --
    TreeUI.stopEditing( JTree ) -- stops editing of the cell that resulted
    in the key binding call
    TreeUI.startEditingAtPath( JTree, TreePath )
    -- according to the JavaDocs, this should select the new cell and
    start editting of it.
    This last method does call my editor to get the components, but then my
    Renderer is also called (twice in fact). When the cell is painted, it is
    painted with the Renderer's components.
    PLEASE HELP HERE !

    Thank you so much for giving a reply to this problem.
    I will experiment with your suggestion. However, in looking at the JavaDocs
    I would need to make one class that implements both TreeCellEditor and
    TreeCellRenderer, with the methods getTreeCellEditorComponent() and getTreeCellRendererComponent(). Since currently, my editor is called and then
    my renderer is called, over-writing the editor's result, I would suspect that
    both of these methods would also be called (even though they are in the same
    class), having the same effect.
    Again, thank you.

  • Help with bind variables

    Hello I'm new to .net and I'm trying to work with bind variables
    I keep getting the ORA-01036: illegal variable name/number error.
    here's my code, can somebody help me out and show me what am I doing wrong?
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim drLocation As OracleDataReader = getSCLocation("SOMEBODY")
    End Sub
    Private Function getSCLocation(ByVal contactName As String) As OracleDataReader
    Dim drLocation As OracleDataReader
    Dim connString As String = ConfigurationManager.ConnectionStrings("scConnString").ConnectionString
    Dim conn As New OracleConnection(connString)
    conn.Open()
    Dim queryString As String = "select a.location, a.location_name from locationm1 a where a.primary_contact_dept in (select b.dept from contactsm1 b where b.contact_name = p_contactName)"
    Dim p_contactName As New OracleParameter
    p_contactName.OracleType = OracleType.VarChar
    p_contactName.Value = contactName
    Dim cmdLocation As New OracleCommand(queryString, conn)
    cmdLocation.Parameters.Add(p_contactName)
    drLocation = cmdLocation.ExecuteReader(CommandBehavior.CloseConnection)
    Return drLocation
    End Function
    Thanks
    Peter

    never mind i got it by playing around with it
    had to change the way to start the bind variable
    Dim p_contactName As New OracleParameter("p_contactName", OracleType.VarChar)
    p_contactName.Size = 140
    p_contactName.Value = contactName

  • A little bit of help with Bind variables please

    Hi,
    I am having a bit of trouble with bind variables I have been looking at the Dev guide and the forum to try and achieve this and it is still not happening for me, could anybody please help or point me in the right direction:
    I have created a simple PersonVO with the basic query:
    Select distinct full_name from xxml_people where person_id = :1
    In the PersonVOImpl.java I have added the method:
    public void initQuery(String personId)
    Number person = null;
    try
    person = new Number(personId);
    catch
    (Exception e){}
    setWhereClauseParam(1,person);
    executeQuery();
    Then in the PersonAM I have added the method:
    public void initPersonQuery(String personId)
    getPersonVO1().initQuery(personId);
    I then call this method in my processRequest section of my page controller:
    PersonAMImpl am = (PersonAMImpl) pageContext.getRootApplicationModule();
    String personId = "581";
    am.initPersonQuery(personId);
    When I try and run this I get the error:
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT distinct full_name from xxml_absence_calendar where person_id = :1
    java.sql.SQLException: ORA-01006: bind variable does not exist
    Am I binding the variables correctly? Or am I making some stupid mistake?
    I am ultimately looking to create a messageChoice where the logged in user will see a list of all organisations underneath him and the one level above. I plan to do this by passing the User’s Organisation name into a VO query using the organisation as a Bind Variable. I think once I have worked out how to bind variables this should be straight forward.
    Many Thanks

    Even though the parameter binding values may be same, you should never use the positional param more than once. So always go for the format
    select distinct full_name from xxml_people where supervisor_id = :1
    UNION
    select distinct full_name from xxml_people where person_id = :2
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Help With Binding to 10.6.8 Server

    I am new to server and was hoping someone could help me with the following issue:
    My Company has about 50 Macs (mostly 10.7) right now.  We have a 10.6.8 server that is running Open Directory as a OD Master.  Right now, they only authenticate to the server for AFP share access.  Every user here has a Workgroup account which is used for AFP only.  The machines are not bound to the server.  What I would like to do is bind the machines to the server and have the users authenticate to there already created user accounts.  I want to keep their home directories local and just have them authenticate to the server (using their already setup accounts used for AFP)  This would be for password management and manging preferences as well.  I was able to bind a test machine succesfully to the server but was unable to have it login/authenticate to the server using an already created server account from Workgroup Manager.  Any advice that would help me transition this would be greatly apprecaited.  What are my next steps for making this happen?   Thanks! 

    This you will need to move or reset permissions for the user.  Here is the issue.
    You have a local account, mboker on a machine.  This account is stored in dslocal and likely has a UID value of 502, as it was the second account created.  (This all assumes that your local admin account was the first one created and is UID 501).
    mboker has a home folder located at /Users/mboker.  And this folder is owned by mboker, but the mboker from the local domain with a UID of 502.  This means that the first are owned by UID 502.
    Ah, so now the wrinkle.  You have created a user named mboker on the server.  This user has a UID of 1027 (as an example), has a shortname of mboker and is defined as a mobile account who should have a local home folder called /Users/mboker
    So now the problem.  When mboker (1027) logs into the machine, he paths into /Users/mboker owned by 502.  And thus you have no permissions to do anything.
    Aha!  This is an easy fix.  So first, you need to make the machine forget about UID 502.  Now, the obvious way to do this is to use System Preferences >  Accounts and remove the local user.  But, you get a sheet that asked you how to handle the home folder data (DO NOT DELETE IT).  Now if you choose to keep the data, it renames the folder from /Users/mboker to /Users/mboker (Deleted User) - or something similar.  If you go this route you then need to change the name and reset permissions.  So I tend to do a shortcut.
    By the way, if you are a novice at command line, make sure you have a backup of the user data.  While this is quick and efficient, if you make a mistake, there is no undo...
    1:  Log in as the local admin
    2:  Open Terminal
    3:  Become root with
         sudo -s
    4:  Navigate to the local attributes store by using:
         cd /var/db/dslocal/nodes/Default/users/
    5:  Look at what is in this folder with:
         ls -l
    6:  Near the bottom of the list you should see a file titled mboker.plist.  This is your account attributes file.  Likely this file is for the local account (user UID 502).  Remove this file from the directory system
         mv mboker.plist /Users/Shared/
    moved it in there just in case... You can delete it later once you understand the process
    7:  Restart directory services or just restart the computer.
    8:  At login window, login as the local admin
    9:  Reset ownership on the home folder by using this command
         sudo chown -R mboker /Users/mboker
    Now, if you investigate before this step and looked at the mboker home folder, you will notice that it is owned by 502, not a user name.  That is because we made the machine forget about the local 502 user so it has no name to associate with the account.
    10:  Log out of the admin account and log into the mobile account using Other initially.

  • Cocoa: Need help with binding a pop-up button to array

    I am having the hardest time doing something that seems like it should be really easy... I'm not sure this is the right place for something as basic as this but I can't find any other active Cocoa development forums... any recommendations there as well?
    I'm creating a simple address book-like app to help clarify my knowledge on IB and bindings and core data. I want to have an NSPopUpButton to hold a list of states, which I've created in an NSMutableArray in the window controller. (Maybe this is the wrong place to put it?) I actually managed to get the array values to show up in the window BUT I can't get the value out! When I save the Person data object, it shows as nil.
    It's very very likely I'm binding it incorrectly. Right now, all I've done is bound "Content Values" to File's Owner.states. The "Content" binding indicates it's supposed to be an array controller, but do I really need an array controller for a static array? That seems like overkill. And then, even if all I need to do is bind the value, how do I get the value OUT when I go back to my XCode controller to save the values??
    I've been browsing the usual suspects Cocoa/XCode books in Safari/Oreilly but I can't seem to find the answers. Any help or points in the right direction is much appreciated

    Jennifer Mitchell1 wrote:
    So, here's what I've done and it seems to work. Can anybody suggest improvements?
    - I have a NewPersonController which has an NSMutableArray *states and NSPopUpButton *stateDropdown
    - The *states array is generated with NSStrings of all the state abbreviations
    - In the NIB window, I bind the NSPopUpButton to the File's Owner states object. (File's Owner is the controller class.)
    Your fundamental problem is that you are trying to use bindings incorrectly. You don't have to use them at all. You can use an NSPopUpButton without bindings. But if you want to use bindings, you can't take shortcuts. It will just die with an incomprehensible error or just not work.
    I wish I could put the initialization of the states array in the awakeFromNib method but when I did that, for some reason the window wouldn't open when I clicked the button.
    Are you saying the awakeFromNib fails and the window cannot be displayed?
    Or are you saying the button does not get initialized properly and/or does not work properly?
    If I put it in the states function (which returns the array), it works fine, even though I know it's really inefficient there. Anybody know why it won't load in the awakeFromNib method?
    What are you doing in awakeFromNib? One problem with bindings and Interface Builder is that it is very hard to explain (drag the line from the little plus thingy to the the little line of blocks with the blue sphere around them, etc.) Code is much easier to diagnose and treat.

  • Help with bind variable

    I am very new to this site so I hope I get the format right...
    I am using Oracle Application Express Edition and trying to answer a question for my class, but I keep getting the same error every time. I've looked it up and it's apparently a storage error, but I don't understand how it can be a storage error if I'm not able to store it in the first place. So confused! Please help!
    Here's my code and the error I keep getting:
    DECLARE
    VARIABLE b_basic number
    VARIABLE b_pf number
    today DATE:=SYSDATE;
    tomorrow today%TYPE;
    BEGIN
    b_basic:=45;
    b_pf:=12;
    tomorrow:=today +1;
    DBMS_OUTPUT.PUT_LINE(' Hello World ');
    DBMS_OUTPUT.PUT_LINE('TODAY IS : '|| today);
    DBMS_OUTPUT.PUT_LINE('TOMORROW IS : ' || tomorrow);
    END;
    ORA-06550: line 2, column 23: PLS-00103: Encountered the symbol "NUMBER" when expecting one of the following: := . ( @ % ; not null range default character
    --------------------------------------------------------------------------------

    Don't mix SQL*Plus and PL/SQL syntax. In PL/SQL there is no VARIABLE keyword, just remove it.
    See http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/fundamentals.htm#LNPLS208.
    With this:
    set echo on
    set serveroutput on
    DECLARE
    b_basic number;
    b_pf number;
    today DATE:=SYSDATE;
    tomorrow today%TYPE;
    BEGIN
    b_basic:=45;
    b_pf:=12;
    tomorrow:=today +1;
    DBMS_OUTPUT.PUT_LINE(' Hello World ');
    DBMS_OUTPUT.PUT_LINE('TODAY IS : '|| today);
    DBMS_OUTPUT.PUT_LINE('TOMORROW IS : ' || tomorrow);
    END;
    /you get with SQL*Plus command line:
    SQL> set serveroutput on
    SQL> --
    SQL> DECLARE
      2  b_basic number;
      3  b_pf number;
      4  today DATE:=SYSDATE;
      5  tomorrow today%TYPE;
      6  BEGIN
      7  b_basic:=45;
      8  b_pf:=12;
      9  tomorrow:=today +1;
    10  DBMS_OUTPUT.PUT_LINE(' Hello World ');
    11  DBMS_OUTPUT.PUT_LINE('TODAY IS : '|| today);
    12  DBMS_OUTPUT.PUT_LINE('TOMORROW IS : ' || tomorrow);
    13  END;
    14  /
    Hello World
    TODAY IS : 05-FEB-13
    TOMORROW IS : 06-FEB-13
    PL/SQL procedure successfully completed.Try to post APEX specific questions in APEX dedicated forum Oracle Application Express (APEX)
    Edited by: P. Forstmann on 5 févr. 2013 13:38
    Edited by: P. Forstmann on 5 févr. 2013 13:40

  • Help with new editor.....Windows 7 64-Bit Xeon 5520 processor 12 GB Memory.

    Hello, I have built a new system from scratch for our Creative Services Editor with the following:
    1- ZALMAN PROFESSIONAL GS-1000-BK Black Computer Case Aluminum- http://www.newegg.com/Product/Product.aspx?Item=N82E16811235014
    1- Seagate Barracuda ES.2 ST3500320NS 500GB 7200 RPM 32MB Cache SATA 3.0Gb/s- http://www.newegg.com/Product/Product.aspx?Item=N82E16822148294
    4- SAMSUNG Spinpoint F3 HD103SJ 1TB 7200 RPM 32MB Cache SATA 3.0Gb/s- http://www.newegg.com/Product/Product.aspx?Item=N82E16822152185
    1- ASUS P6T7 WS Supercomputer "Ultimate Gamer" choose 3Way SLI + PhysX at Real X16 X58 CEB Intel Motherboard- http://www.newegg.com/Product/Product.aspx?Item=N82E16813131390
    2- CORSAIR DOMINATOR 6GB (3 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) Desktop Memory (12 GB Total)- http://www.newegg.com/Product/Product.aspx?Item=N82E16820145289
    1- Intel Xeon E5520 Nehalem 2.26GHz 4 x 256KB L2 Cache 8MB L3 Cache LGA 1366 80W Quad-Core Server Processor- http://www.newegg.com/Product/Product.aspx?Item=N82E16819117185
    1- PNY Quadro FX 4800 VCQFX4800-PCIE-PB Quadro FX 4800 1.5GB 384-bit GDDR3 PCI Express 2.0 x16 SLI Supported Workstation Video Card- http://www.newegg.com/Product/Product.aspx?Item=N82E16814133252
    Ok, the system has some DVD burners and a huge 120 mm fan heat sink for the processor and a 850 watt power supply as well.
    The OS 64-bit windows 7 is installed all by itself on the 500 GB Drive C.  I currently have the 4 1 TB samsungs on a Raid-0 for all project video files and other content.  After reading many of Harms posts I may just set them all up as stand alone drives and split things up a bit for performance.
    CS5 runs well with the Mercury playback engine, and when importing normal DV video from DVCAM through a Blackmagic HD/SD-SDI Decklink card off of a DSR-1800 deck works fine.  The issue I am having is when we use still images, or like when we imported some Mac ProRess 422 footage, the system will scrub through it fine but when you try and play the timeline it freezes.  I did notice an error shows up in the lower right corner saying frames were dropped.
    From everything I reaserched with this system purchase, having the Quadro FX 4800 was supposed to make everything run smooth and take out render times. This machine is supper fast for everything else but seems to have issues doing simple things with images that have been scaled in the effect controls.  If the footage is basic SD video edits no problem.  Still images are large sometimes, but nothing his old 2003 Pinicle Liquid can't handle after some render time.
    If the GPU acceleration is on, and I play the timeline, few seconds and then stops.  If I turn off GPU, and hit enter to have it Render, it plays fine after Render is complete.  Seems like something is not feeding the GPU/CPU the data fast enough.
    Any thoughts.  Is the Xeon not the right direction, should I swap for a Core i9?  Xeon rates really high on the CPU benchmark... Shows up as 8 cores due to hyperthreading.
    Any idea's would be great,
    Thank you,

    Update:
         I swapped my processor with the i7-950 chip and even though the windows Experience Index went from 7.4 to 7.5 on the processor calculations per second.  My scores are Memory: 7.5, Graphics: 7.1 3D: 7.1 Primary hard disk performance is 5.9 making that the total score.
         I will run the benchmark again on the system tomorrow and post the results of a chip change.
         I have not changed the drive configuration or changed windows services yet.  I talked to black magic tech support and he said that for SD video I should be fine with 2 standard 7200 RPM drives.  He was surprised I was having the dropped frames with the 4 disk raid 0.  He said to test in another machine just to see if the card could be bad.
         I found a utility on the machine that is part of the black magic software that tests the hard drives.  Here are the results:
    Boot drive.  It is a Seagate Barracuda ES.2 ST3500320NS
    Scratch drive Raid 0 array- 4- SAMSUNG Spinpoint F3 HD103SJ 1TB 7200 RPM
    From the numbers it looks like the Raid 0 is giving much better performance over the single drive, but why am I still having the problems.  The dropped frames issue is still happening so I am going to try to move the black magic card to another PCI-e slot on the motherboard. I may have to try another brand of HD-SDI input/output card.
    I am going to test the card in another editor that does not have an intel processor or near the specs of this system just to rule out the card or the hardware as I found this on Blackmagic website:
    15 March 2010 — Number 193
    Asus P6T series motherboards
    The Asus P6T series of motherboards are currently incompatible with all x1 lane PCI Express products from Blackmagic Design. This includes the Intensity series cards as well as DeckLink SDI and DeckLink Studio. This incompatibility is being actively investigated but a possible resolution to the problem is currently unknown.
    This incompatibility only affects x1 lane PCI Express cards from Blackmagic Design. Our x4 lane PCI Express products work fine with the Asus P6T series of motherboards and these include the DeckLink HD Extreme and Multibridge family of capture devices.
    UPDATE: We have been informed that this issue has been resolved with the latest BIOS update from Asus. If you're running into issues with our x1 lane PCI Express cards and your motherboard, please check the manufacturers' website to see if there's a newer version of BIOS that you can use.
    Back... 
    Now, I have the Asus P6T7 WS Supercomputer.  I did do a Bios Update today but do not know if the issue refered to in this support notice also applies to my model of motherboard.  The tech at BlackMagic did not seem to know about this issue.
    Does anyone have any other idea's of what I could be missing?  If it turns out to be an incompatible motherboard I do not have a problem with changing it.  I would like to know if anyone is having a successful setup using the Decklink SDI with CS5 without any issues of dropped frames on items that are GPU rendered.  If I turn off the GPU acceleration and have to hit enter for render it isn't an issue as the "preview files" created when rendered are smaller and easier to play from the hard drives.
    The timelines that have issues are using still images of 3-4 megapixel sizes that are being shrunk and moved on the timeline to fit in NTSC 4:3 output.  I could probably stop the issue if I resized the pictures to 1 Megapixel or smaller and used the smaller version but the yellow bar is telling me it can do that conversion on the fly.  Why drop frames??????
    Thanks, (sorry for the long post)

  • Help with opening editor

    I can't seem to get into edit mode in any way. Any help?

    Originally posted by: myersj.gmail.com
    What versions of VE, EMF and GEF did you install? If you've installed a
    version of VE that's compatible with Eclipse 3.1, and the associated
    versions of EMF and GEF, please check for errors in the .log file in
    your workspace's .metadata directory.
    Hope this helps,
    - Jeff

  • Help with photo editor

    I just purchased Elememts 11 and cannot use the photo editor. Why?  It keeps asking me to downloae the 30 trial version but I already purchased it.

    You should enter your registration key in the dialog that launches with the application.
    launch the application.
    In AMT dialog, click "enter serial number"
    In the next dialog, enter the serial number

  • Help with element editor

    I just bought adobe photo
    shop elements 8 i have windows 7 . i can not get the elements editor
    to open.  the organize opens but not the edit, i uninstalled and reinstalled and it still does not work. help i have a project i need done in a hurry thanks.

    Oh, you people are lifesavers! I just got a new notebook as my old one keeps crashing. Using Windows 7 now. I am NOT a techy sort of person at all. Started a photoshop class at the local community college and it was amazing, so I downloaded the trial version of Photoshop Elements and had the same problem as you. I spent many hours trying different things and learning about drivers, but nothing worked until this--I have a Dell printer and that is what I had to remove (as others in that thread had as well when they had same problem). Such an easy thing to do and one I wouldn't have known to try.
    Thanks so much, and I'll be editing away now!!! These forums are lifesavers, and I appreciate the posters willing to try to help!

  • Help with Text Editor

    My requirement is to show a text editor on the screen.allow the user to type in it. (Example  he type n lines). Store the content in D/B table. Next time i display the screen, all n lines should be displayed.Now if he enters m lines in addition to n lines ... then i should display n+m lines in the text editor.
    How can i do that.

    Hi Karthik,
    Go through program <b>RSDEMO_DRAG_DROP_EDIT_TREE</b>.
    Reward if this helps,
    Satish

  • Help with Bind Failure

    In the following code, the localProductId binding fails. Why?
    The 1st alert pops with a new value for the variable (indicating
    that it is changing). But the second alert never pops.

    the same thing happened to me last night on my iphone4.  finally I tried restoring to old update and that fixed it Iam told it is something to do with the new update many of use are having

  • [Oracle 8i] Need help with bind variable in add_months function

    I'm trying to put a variable within my add_months function:
    AND     t1.edatetime >= add_months(sysdate,:v1)
    AND     t1.edatetime <= add_months(sysdate,:v2)I have tried defining the variable both as 'integer' type and 'numeric' type, but in both cases, my query returns no results. If I hard code the values, it works just fine.
    Any suggestions?

    Hi,
    Sorry, I can't reproduce the problem.
    What do you mean by "I have tried defining the variable both as 'integer' type and 'numeric' type"?
    Like Max said, you should post a complete script that gets the incorrect results.
    Include your CREATE TABLE and INSERT statements, or use tables that are commonly available.
    For example:
    VARIABLE      v1     NUMBER
    VARIABLE      v2     NUMBER
    EXEC  :v1 := -28 * 12;
    EXEC  :v2 := -27 * 12;
    PROMPT       ===== Checking values of bind variables  =====
    SELECT       :v1
    ,       :v2
    FROM       dual;
    PROMPT       =====  Main query (expecting 1 row of output) =====
    SELECT       ename
    ,       hiredate
    FROM       scott.emp
    WHERE       hiredate     >= ADD_MONTHS (SYSDATE, :v1)
    AND       hiredate     <= ADD_MONTHS (SYSDATE, :v2)
    ;Output:
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    ===== Checking values of bind variables  =====
           :V1        :V2
          -336       -324
    =====  Main query (expecting 1 row of output) =====
    ENAME      HIREDATE
    MILLER     23-Jan-1982

  • Help with Map Editor in WCS 4.1.91.0

    In WCS version 4.1.91.0 is there any way to edit maps other than through the web interface? I'm trying to lay in my "thick walls" and I'm finding the resolution in the web interface to be down-right horrible. Since I'm in a hospital environment I have lots of walls to draw but I keep having to refer back to my original jpg to locate some of the walls as they do not appear on the low resolution web interface editor. If anyone has any ideas on editing maps in WCS I'd love to hear them.
    Thanks,
    Scott

    Scott,
    The rumor from Networkers 2007 (OK, OK: Networkers at Cisco Live!) was that WCS version 4.2 would allow import directly from Autocad .dwg files without the mess of first saving as bitmaps.
    A snippet from: www.cisco.com/en/US/products/ps7305/prod_bulletin0900aecd806b7f8a.html
    "AutoCAD Map Import Support: AutoCAD images can be imported into Cisco WCS and used as maps. Users can select the layer of the AutoCAD image to be used as the WCS map when the image is previewed. Cisco WCS maps support three import file types: JPEG, PDF, and AutoCAD."
    And remember, WCS version 4.2 will "fix everything this time" ;-)

Maybe you are looking for