Data Binding: Simple code does not work.

hi... the following simple code is used to display the ename field for a record selected in scott.emp on the console. the code is placed in an event handler. it is as follows:
DCBindingContainer bindings = ctx.getBindingContainer();
DCControlBinding binding = bindings.findCtrlBinding("ename");
String Name = (binding != null) ? binding.toString() : "";
System.out.println(Name);
is the code above correct????
if so, why it does not work???
thanks for every help in advance & best regards.

Hi,
please check the UIModel.xml file for the page if the binding name is "name". The code you have is the same code we published in our QBE workshop and it works there. The only difference is the name of the control binding. So please check if the binding name exists. (e.g. it could be ename1 instead of ename)
Frank

Similar Messages

  • Bind variable peeking does not work

    Oracle 9.2.0.8
    create table my_table (c number);
    create index i on my_table(c);
    declare
    par varchar2(10);
    begin
    par:='qqq';
    for rec in (select * from my_table t where c = par or par is null )loop null; end loop;
    --USES FULL TABLE SCAN, works SLOW!!!
    --but the same query with constat insted of bind variable :
    for rec in (select * from my_table t where c = par or 'qqq' is null )loop null; end loop;
    --USES INDEX i ON column c ,  works FAST!!!
    --WHY bind variable peeking does not work ???
    end;
    Thank you for reply

    sqlplus:
    drop table my_table;
    create table my_table as select object_name as c from all_objects where rownum<=1000;
    insert into my_table select * from my_table;
    insert into my_table select * from my_table;
    insert into my_table select * from my_table;
    insert into my_table select * from my_table;
    insert into my_table select * from my_table;
    insert into my_table select * from my_table;
    commit;
    select count(1) from my_table;
    COUNT(1)
    64000
    create index my_table_idx on my_table(c);
    exec dbms_stats.gather_table_stats('bogdanov','my_table',cascade=>true)
    variable par varchar2(10)
    exec :par := 'www'
    --FIRST CASE                                             
    explain plan for select * from my_table where c=:par or 'www'='qqq';
    @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 64 | 1792 | 3 |
    |* 1 | INDEX RANGE SCAN | MY_TABLE_IDX | 64 | 1792 | 3 |
    Predicate Information (identified by operation id):
    1 access("MY_TABLE"."C"=:Z)
    --SECOND CASE                                             
    explain plan for select * from my_table where c=:par or :par='qqq';
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 703 | 19684 | 95 |
    |* 1 | TABLE ACCESS FULL | MY_TABLE | 703 | 19684 | 95 |
    Predicate Information (identified by operation id):
    1 filter("MY_TABLE"."C"=:Z OR :Z='qqq')
    --THIRD CASE very strange....  COMPARE IT WITH FIRST CASE: 123456789 vs. 'qqq'    
    explain plan for select * from my_table where c=:par or 'www'=123456789;
    @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 703 | 19684 | 95 |
    |* 1 | TABLE ACCESS FULL | MY_TABLE | 703 | 19684 | 95 |
    Predicate Information (identified by operation id):
    1 filter("MY_TABLE"."C"=:Z OR TO_NUMBER(:Z)=123456789)
    Edited by: user450084 on Dec 9, 2008 5:17 AM
    Edited by: user450084 on Dec 9, 2008 5:27 AM

  • Redemption Code does not work

    I am trying to install CS6 from the email I was sent from Adobe. The redemption code does not work. Is there a phone number I could call for support. I bought my Adobe Creative Suite 6 from Ivy Tech Community College in Indianapolis, IN. I have recently moved to Bodfish California and need help to install this.
    Thank You
    Cathy Talbott

    Hi Sunshine2014,
    You can try the options in obtaining serial number from
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
    You canalso contact Adobe regarding this, they can assist you better.
    Regards,
    Rajshree

  • Hello, I purchased design premium 4.0 German Windows  (LIZ 390232 from 22.02.2010) from my friend and wanted to installation it. However, the key code does not work. He has the PC is no longer, so he can not  disable the product key. He loaded it, but onl

    Hello, I purchased design premium 4.0 German Windows  (LIZ 390232 from 22.02.2010) from my friend and wanted to installation it. However, the key code does not work. He has the PC is no longer, so he can not  disable the product key. He loaded it, but only in Englisch (trial version?) Please help me for the next step. I have the license agreement in my hand.

    Moving this discussion to the Downloading, Installing, Setting Up forum.
    Jakobh53157856 before you begin the installation process please complete the transfer of license process to transfer the Adobe Creative software license you wish to utilize to your possession,  You can find details regarding the transfer process at Transfer an Adobe product license.

  • I purchased design premium 4.0 German Windows  from my friend and wanted to installation it. However, the key code does not work.

    I purchased design premium 4.0 German Windows  from my friend and wanted to installation it. However, the key code does not work. He has the PC is no longer, so he can not  disable the product key. He loaded it, but only in Englisch (trial version?) Please help me for the next step. I have the license agreement in my hand.

    Nobody here can help you with this. You'll need to contact Adobe directly.
    Did your friend fill out and send in the license transfer form?
    Transfer an Adobe product license

  • HT201209 redemption code does not work for mountain lion

    app store says code is is not recognized

    http://helpx.adobe.com/x-productkb/policy-pricing/serial-number-retrieval-process-faq.html
    If that does not work, call Adobe Customer Service.

  • InDesign DPS: Simple animation does not work in folio?

    I'm building a simple recipe app using InDesign CS6, using the Digital Publishing tools.
    On one page I applied an animation, "fly in from bottom" to an object.
    When I eventually build the folio and view it on my ipad with the Adobe Content Viewer, the animation does not work on that page.
    I've watched a couple tutorials on how to use the animation tools, how to set the path, etc. but none of them mention any other steps for getting the animation to work once you build the folio.
    Am I missing something?
    Thanks!
    Bruce

    Okay, I'm gonna try helping out on this....  I don't think layers have any effect on this, or at least I haven't noticed they do, the just help keep you organized and maybe for arrangment...
    So....
    You can just lock the background, it isn't involved, it is just the background.
    1. Make your button to open/start the sequence and make your finished state and an empty box.  In this case the button the button is just a text frame.  The finished state is a shape, text frame and two lines grouped (to make an "x" for the close button).  In your case it will be your image sequence and the button to close it.  Have all the elements of the finished state grouped.
    2. Select both groups.  In the object states panel, hit the new button.  you should now have a multistate object with two states.  One empty state and one state with your sequence, etc..
    3. Now select your open button.  In the button panel, choose the add action button "+" and choose Got to State (or go to next state) and make sure the object is the multistate object you just created.  For the state, choose the state with your sequence.
    4. Now select your multistate object.  In the object states panel choose the state with your image sequence and close button.  Select your close button.  Go to the buttons panel and add an action to go back to the empty state.
    Test it out, it should work fine now.  I don't have an image sequence handy, but you may have to mess with the autoplay settings, etc.  but it should work just fine.
    Notes of interest:  As buttons display only as raster on an iPad, I find it best to make a clear button on top of the button graphic.  That way the button can be vector. and the clear box becomes raster.
    I really, really reccomend watching some of the videos on Adobe TV, they explain and review a bunch of this.  Also, there is an app called DPS Tips App by Bob Bringhurst for free on the Apple Store, he explains all the goodies quite well.  You can also use Wallaby to convert indesign animation to flash and then HTML5, but that gets more complicated and it can also have a load delay. Good Luck!

  • Custom code does not work

    Hi all,
    I'm a newbie of SMP and SCN. I sincerely respect SMP leaders who posted nice blog.
    I’d like to know how can I process the request (the number of customers) from client application to SOAP request.
    My requirement is to connect SOAP WebService to client with Integration Gateway in SMP3 SP06.
    SOAP service is provided by RFC. I checked the following blog and created function module.
    http://scn.sap.com/docs/DOC-28582
    This function module can input customer code (optional) and the number of entities to output customer information such as customer code, name, address, country, postal code and city.
    I have configured SOAP WebServices with Integration Gateway in SMP3 SP06.
    http://scn.sap.com/people/marvin.hoffmann/blog/2014/03/15/how-to-connect-soap-webservices-with-integration-gateway-in-smp3
    OData looks like this:
    Operation is Query and Response Mapping is defined as below:
    At that time, I couldn’t see the Service Document of my OData service. So I added custom script to pass the Basic Authorization and input parameter.
    http://scn.sap.com/docs/DOC-58551
    Basic Authorization is working but the request
    parentMap.put(“IM_COUNT”, “5”) [the number of customer from FM]
    does not work. I thought I could see 5 customers information in the service document but I could see all the customers information.
    In addition, When I click on ”Define Request Mapping”,  eclipse says "Request mapping is not available for SOAP Query.”
    How do I implement my request successfully?
    Thanks,
    Hanae

    Hi Midhun,
    thank you for your quick response!
    I have already used SOAPUI to test my query.
    >it's creating an xml file in a specific format where you need to pass values to get the output.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
       <soapenv:Header/>
       <soapenv:Body>
          <urn:ZGetcustomerWebservice>
             <!--Optional:-->
             <ImCount>5</ImCount>
             <!--Optional:-->
             <ImKunnr>
                <!--Zero or more repetitions:-->
             </ImKunnr>
          </urn:ZGetcustomerWebservice>
       </soapenv:Body>
    </soapenv:Envelope>
    Is this the xml file you mentioned?
    I checked the following blog and tried debugging, but I couldn't see any variables value...
    Debugging Custom Script in Integration Gateway
    Here is my custom code:
    function processRequestData(message) {
       message.setHeader("Authorization", "Basic XXXXXXXX=");
       importPackage(com.sap.gateway.ip.core.customdev.logging);
       importPackage(com.sap.gateway.ip.core.customdev.util);
       importPackage(org.apache.olingo.odata2.api.uri);
       importPackage(java.util);
       importPackage(com.sap.gateway.core.ip.component.commons);
       importPackage(com.sap.gateway.ip.core.customdev.api);
       parentMap = new LinkedHashMap();
       parentMap.put("IM_COUNT", "5");
       //Set the message body back
       message.setBody(parentMap);
       //Logger
       importPackage (com.sap.gateway.ip.core.customdev.logging);
       log.logErrors(LogMessage.TechnicalError, "This is first log"+message.getBody().toString());
      return message;
    Authorization is perfectly working but others are not.
    It would be great if you could have suggestions.
    BR,
    Hanae

  • OS X Mountain lion code does NOT work - Please help

    I bought my 2012 Macbook pro June 21 2012. I qualify for the free OS X Mountain lion upgrade. I got my emails, one with the PDF file, one with the password to it. I open up the red PDF file, enter my password and it does NOT work. I took my password to the Mac App store, clicked Quick Link, Redeem, placed my code in and it STILL DOES NOT work. PLEASE HELP!!! I need the new OS, plus Im supposed to get it for free! Its not fair how they sent me a bad code / improper instructions on how to redeem it.

    suggestion - call apple.....since we're all users here, it's hard to give you the right suggestion/answer regarding your issue...

  • Date Sorting for Webcasts does not work....

    Has anyone noticed that the "Sort Items by"-->"Date (Most recent)" does not work when you are in the "webcasts" secion of ni.com:
    http://zone.ni.com/devzone/fn/p/sn/n15:WebcastsAndVideos
    It looks like when you select to sort by date it is actually sorting by title, because they both result in the webcasts being sorted by title.
    NI, can you fix this?  I typically like to go to the webcasts section and sort by date to see if there's anything new I haven't seen yet.  It worked before the website was revamped.
    Thanks.

    Hi Chris,
    I had a look at it and it seems to be working fine. I tried all the sorting options out and they all work.
    Aashish M
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • Zooming out in example "Simple Graph" does not work.

    In Measurement Studio, VC++, the feature "Zooming out" does not work. I only can zoom in a graph by drawing a rectangle with the left mouse button.

    There isn't a built in "zoom out" functionality with the graph. There are several zoom modes of the graph, but if you want to zoom out, say with a right click or a key press, you would have to implement it yourself as it is not built-in.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • Removing _root code does not work

    I've tried removing or using this and code dose not work. Any help is appreciated.
    var j:Number;
    for (j = 0; j < 7; j++) {
    _root["holder_mc"+j].onPress = function() {
    with(this){
        startDrag(false);
           lineStyle(3,0xcccccc,100);
          lineTo(_root.myWidth,0);
           lineTo(_root.myWidth,_root.myHeight);
           lineTo(0,_root.myHeight);
           lineTo(0,0);

    I used:
    eval("holder_mc"+j).onPress = function()

  • HT201209 I have a Amex Gift card and input everything and the code does not work

    I have a Amex gift card and input everything and the code does not work

    http://www.apple.com/legal/itunes/us/terms.html  - Does an Amex gift card count as a credit card?  For example, it doesn't say debit cards are accepted.  I believe one of hte differences between American Express and other cards is AmEx is not a credit card.

  • Code does not work

    I inserted the following in my website but the graphic does not show in Firefox 31.0. It shows in all other browsers. What is the problem?
    <pre><nowiki><!-- begin super lawyers badge -->
    <div id="super_lawyers_badge" style="margin:0; padding:0; line-height:1; font-size:1em; font:100 0.8em/1em 'Arial',sans-serif; position:relative; outline:none; border:none;">
    <div id="large_super_lawyers_badge" style="height:150px; width:180px; background-image:url('http://i.superlawyers.com/shared/badge/lawyer/basic/large_blue.png'); text-align:center; outline:none; border:none; line-height:1; font-size:100%">
    <table width="180px" border="0" cellpadding="0" cellspacing="0" frame="void" rules="none" summary="" dir="ltr" style="margin: 0; padding:0; outline:none; border: none;">
    <tr align="center" char="" charoff="" valign="bottom" style="height:75px; vertical-align:bottom; margin: 0; padding:0; outline:none; border: none;"><td align="center" colspan="1" rowspan="1" valign="bottom" style="margin: 0; padding:0; outline:none; border: none;"><a href="http://www.superlawyers.com/redir?r=http://www.superlawyers.com/new-york-upstate/lawyer/Brian-Shiffrin/825ef828-f578-45b9-ad57-334c2b85e45f.html&amp;c=basic_largeblue_badge&amp;i=825ef828-f578-45b9-ad57-334c2b85e45f" rel="nofollow" style="height:75px; width:150px; display:block; text-decoration:none; margin:0; padding:0; text-align:center; outline:none; border:none;">&#160;</a></td></tr>
    <tr align="center" char="" charoff="" valign="middle" style="margin: 0; padding:0; line-height: 1; font-size: 100%; outline:none; border: none;"><td style="height:0px; vertical-align:middle; margin: 0; padding:0 10px; line-height: 1; font-size: 100%; outline:none; border:none;" valign="middle" align="center" colspan="1" rowspan="1"><a href="http://www.superlawyers.com/redir?r=http://www.superlawyers.com/new-york-upstate/lawyer/Brian-Shiffrin/825ef828-f578-45b9-ad57-334c2b85e45f.html&amp;c=basic_largeblue_badge&amp;i=825ef828-f578-45b9-ad57-334c2b85e45f" alt="View the profile of Upstate New York Criminal Defense Attorney Brian Shiffrin" title="View the profile of Upstate New York Criminal Defense Attorney Brian Shiffrin" style=" height:40px; width:150px; display:block; text-decoration:none; margin:0; padding:0; line-height:1; text-align:center; font-family:arial,sans-serif; color:rgb(255,255,255); font-size:16px; font-weight:bold; outline:none; border:none;">Brian Shiffrin</a></td></tr>
    <tr align="center" char="" charoff="" valign="bottom" style="margin: 0; padding:0; line-height: 1; font-size: 100%; outline:none; border: none;"><td style="height:26px; vertical-align:bottom; margin: 0; padding:0; line-height: 1; font-size: 100%; outline:none; border: none;" valign="bottom" align="center" colspan="1" rowspan="1"><a href="http://www.superlawyers.com/redir?r=http://www.superlawyers.com&amp;c=basic_large_blue_badge&amp;i=home_page" alt="Visit the official website of Super Lawyers" title="Visit the official website of Super Lawyers" style="height:20px; width:150px; display:block; text-decoration:none; margin:0; padding:0; line-height:1; font-size:100%; outline:none; border:none;">&#160;</a></td></tr>
    </table></div></div><div style="display:none;"><img src="http://www.superlawyers.com/services/badge/beacon/825ef828-f578-45b9-ad57-334c2b85e45f/l/9.gif" width="1" height="1" border="0" /></div>
    <!-- end super lawyers badge --></nowiki></pre>

    No problem here with the image when using your code.
    *http://i.superlawyers.com/shared/badge/lawyer/basic/large_blue.png
    Do you see the image in Tools > Page Info > Media or does it work when you paste the URL in the location/address bar?
    You can inspect and manage the permissions for the domain in the currently selected tab via these steps:
    *Click the "[[Site Identity Button|Site Identity Button]]" (globe/padlock) on the location/address bar
    *Click "More Information" to open "Tools > Page Info" with the Security tab selected
    *Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Javascript code does not work in preview

    I use the following code to determine if an object is an array or not
    function isArray (arg)
              if (typeof arg == 'object'){
                        var criteria = arg.constructor.toString().match(/array/i);
                        return (criteria != null);
              retrun false;
    It runs ok in the browser (IE, FF etc.) but it does not run OK in the preview mode from Dreamweaver CS4.
    I allways debug my code using FF with FireBug but it is annoying that it does not run ok in the preview mode. Since it is a "core" function in many applications i was wondering if there was a work around it so preview works ok..

    Thanks. I have also solved the problem with another script:
    function typeOf(value) {
        var s = typeof value;
        if (s === 'object') {
            if (value) {
                if (value instanceof Array) {
                    s = 'array';
            } else {
                s = 'null';
        return s;
    Now it doesn't give any problem or error in the preview mode.

Maybe you are looking for

  • Interactive Report view is empty

    Hi, I'm on CRM 7.0 EHP3. I'm encountering empty report criteria and display when open the Campaign effectiveness and all other interactive report page. Please see the screen shot below. There is no error message on the screen, as well as ST22. I've c

  • DataRescueII won't recover mail

    Help.... I trashed the mail.plist file in my users/xxx/library/prefs because I thought that would solve a problem I am having with Mail. When I went to re-open Mail.app, it asked me to start a new account. YIKES! Where are my several POP accounts and

  • Generating report issues

    Sharepoint is not giving a user a particular option within a report on his computer when it does give him the option on another computer.  He has the permissions set correctly.

  • Timecode break warnings upon capture

    Hello - I keep getting this msg. "WARNING: A timecode break was encountered while capturing 'name of clip'..." I had tried changing the setting to 'make new clip', instead of 'abort', and that didn't work, as I had a bunch of extremely short (1 frame

  • Creating drop down list program?

    how to create the dropdownlist program?