Repost: Simple question but no one answers

I have to repost this, there is no way I can find the solution on the forums. Tried everything...
Scenario:
UIX page with READ-ONLY table. User selects some row and clicks button. Event fires.
How to retreive selected READ-ONLY row????
Please help, this is urgent. I would need some code or pseudo code.

Finally I did it. Here is how.
In UIX page with a table drop submit button and add event to it:
<event name="cur">
<method method="myCurrentRow" class="model.TestUtils"/>
</event>then create custom java class:
package model;
import javax.servlet.http.HttpServletRequest;
import oracle.adf.model.BindingContext;
import oracle.adf.model.binding.DCBindingContainer;
import oracle.adf.model.binding.DCIteratorBinding;
import oracle.adf.model.binding.DCUtil;
import oracle.adf.model.servlet.HttpBindingContext;
import oracle.cabo.servlet.BajaContext;
import oracle.cabo.servlet.Page;
import oracle.cabo.servlet.event.EventResult;
import oracle.cabo.servlet.event.PageEvent;
import oracle.jbo.Row;
public class TestUtils
public static EventResult myCurrentRow(BajaContext bc, Page page, PageEvent event)
    HttpServletRequest request = bc.getServletRequest() ;
    BindingContext bcc = HttpBindingContext.getContext(request);
    DCBindingContainer dbc = DCUtil.findBindingContainer(bcc,"dataPage1UIModel");
    DCIteratorBinding study = dbc.getIteratorBinding("StudyView1",null , "StudyView1Iterator");
    Row currentRow = study.getNavigatableRowIterator().getCurrentRow();
    Object[] o = currentRow.getAttributeValues();   
    for (int i=0, l=o.length; i<l; i++)
      System.out.println("i = " + i + "o= " + o[i]);
return null;
//return new EventResult(new Page (page, "ForwardName"));

Similar Messages

  • How do I select a square brush for the brush tool in CS6?  Sorry if this is a simple question, but nothing has ever been simple for me in Photoshop.

    How do I select a square brush for the brush tool in CS6?  Sorry if this is a simple question, but nothing has ever been simple for me in Photoshop.

    I don't believe there is a square brush among the sets that ship with Photoshop, but there are plenty to download, and it is super easy to make one.
    Just drag with the rectangular Marquee tool, fill with black on a new layer, and go Edit > Define brush preset
    Browsing Photoshop Brushes on DeviantArt

  • I need to by apps but it keeps asking for my security questions ;/ but  forgot the answers to my security questions and the security/rescue email too (i dont have USA number to call please help me and send my rest to my email

    I need to by apps but it keeps asking for my security questions ;/ but  forgot the answers to my security questions and the security/rescue email too (i dont have USA number to call please help me and send my rest to my email

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (115668)

  • I just renewed my subscription (today, at 24:30 am), but so far I could not use the program (4:37 pm are). I tried to call in the support numbers, but no one answers. When I try to re-download the program, nothing happens.

    I just renewed my subscription (today, at 24:30 am), but so far I could not use the program (4:37 pm are). I tried to call in the support numbers, but no one answers. When I try to re-download the program, nothing happens.

    Hmmm, odd. Take a look at the "correct answer on at this link: Re: "Renew your Subscription" This Adobe help link too: Sign in, activation, or connection errors | CS5.5 and later
    If that doesn't help you will need to contact Adobe directly: Contact Customer Care 1 (800) 833-6687
    Benjamin

  • How to figure reset security question but forgot the answers to them

    how to figure reset security question but forgot the answers to them

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a rescue email address or a Security Questions issue, then see:
             If you forgot the answers to your Apple ID security questions - Apple Support.
             Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • Simple question but can't find an answer anywhere

    This must surely be a very easy question for someone to
    answer (although I can't find an answer from any tutorial or
    forums, despite lots and lots of Google searching).
    I want to create a link from one SWF file to another (when
    these two files are 'stand alonE', not online). How do I it?
    I've managed to use Actionscript to create links to a website
    and another scene within the same SWF, so I'm surprised that this
    is proving so much more difficult.
    The script I have that's not working is:
    lesson1_btn.onRelease = function (){
    gotoAndStop("lessons.swf");
    (BY THE WAY Before you recommend I put everything online,
    this is for coursework and it specifies that the whole thing must
    be stand-alone.)
    Could the problem be with my Flash Player or the way I'm
    vieiwng the SWF? It doesn't work in test mode but neither does it
    work when I open the SWF directly from it's location.

    I'm not sure what you're doing with the
    gotoAndStop("lessons.swf"); command - whether lessons.swf is
    a scene or a frame label. If its a scene, then I think you need a
    frame number as well. (actually I don't know - I don't use this
    function)
    But you
    might want to take a look at the comments at the bottom of
    this page, I think - not sure if its relevant, but it seems like it
    could be :
    http://livedocs.adobe.com/flash/8/main/00001733.html#135769

  • This is a very simple question,but I don't know.Please me.Thank you!

    I am a Chinese student in a university.I have a very simple question to ask.
    I have writed a EJB module,and I have deployed to Weblogic8.1 successfully.
    1.Now I want to write a client program.Is it necessary that the client program is packaged in the EJB package.For example ,the EJB package is Beans,is "package Beans " or "import Beans.*" necessary in my client program.
    2.If I only know the EJB interfaces,that means the EJB module is writed by other programer.I want to know how I can write the client program.How can I call EJB module's method writed by other programer.Could you give me a simple example?
    Thank you very much.

    I have writed a EJB module,and I have deployed to
    Weblogic8.1 successfully.:-)
    1.Now I want to write a client program.Is it
    necessary that the client program is packaged in the
    EJB package.For example ,the EJB package is Beans,is
    "package Beans " or "import Beans.*" necessary in my
    client program.You need not package your client with the EJB. It can be a JSP/servlet or a stand-alone application.
    2.If I only know the EJB interfaces,that means the
    EJB module is writed by other programer.I want to
    know how I can write the client program.How can I
    call EJB module's method writed by other
    programer.Could you give me a simple example?
    import java.util.*;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    import examples.*;
    class TestEJBHello {
        public static void main(String[] args) {
            Context context   = null;
            Object object     = null;
            // Hashtable for environment properties.
            Hashtable env = new Hashtable();
            env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
            env.put(Context.PROVIDER_URL, "t3://localhost:7001");
            HelloHome home            = null;
            HelloWorld hello          = null;
            try {
                context     = new InitialContext(env);
                object      = context.lookup("HelloWorldTest");
                System.out.println(" JNDI Looked up >>> " +object);
                home        = (HelloHome)PortableRemoteObject.narrow(object, HelloHome.class);
                hello       = home.create();
                System.out.println(hello.hello());
            } catch(Exception e) {
                e.printStackTrace();
            } finally {
                close(context);        // Closes the initial context.
        private static void close(Context context) {
            try {
                context.close();
                System.out.println("*** Context closed. ***");
            } catch (NamingException namingException) {
                namingException.printStackTrace();
            } catch(Exception exception) {
                exception.printStackTrace();
    }Here's a sample client app code I use for a HelloWorld EJB. You need to have a EJB client JAR containing the home and remote interfaces in the classpath during compile time and runtime.
    x

  • Trying to download mountain lion, but when I try to download it, asks me security questions I dont remember the answers to, so I reset the questions, but old ones still pop up when I try to download mountain lion.  How do I change the questions for good?

    I dont get why it asks me for my password and two security questions when just buying something from the app store, but the questions wont change.

    The Three Best Alternatives for Security Questions and Rescue Mail
        1. Use Apple's Express Lane.
              Go to https://expresslane.apple.com ; click 'See all products and services' at the
              bottom of the page. In the next page click 'More Products and Services, then
              'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
              ID security questions' and click 'Continue'. Please be patient waiting for the return
              phone call. It will come in time depending on how heavily the servers are being hit.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • TS2972 apple tv can't sign in to iTunes Store until the network time has been set. this is an Apple generated message. what does it mean? how can i fix it? very very very simple questions but there is no reasonable answer from Apple anywhere on the intern

    this is an apple generated message. simple!
    what does it mean? so far no one at apple has a clue.
    how do i fix it? nothing even begins to address this issue so far. generalities about system setup show a lack of respect for customers. yes my system is plugged in and i have reset and rebooted and rechecked everything. i need help because this a real problem that needs a real solution, not more platitudes.
    help please, not more wasting of my time. i have spent an entire afternoon on this already.

    this is exactly the kind of response i expected, almost begged support to please not do this to me and yet there it is another meaningless, non helpful, standard template response to restart my apple tv.
    this does NOT work which is why i am contacting you. i have tried all suggestions about unplugging and restarting and nothing works.
    i live in an apartment and logon to the provided wifi wireless. so i do not have access to a router. however, management says they have talked with their provider and have been assured that the required ports are available.
    remember all the jokes about how bad windows was because the solution was always to re boot. funny huh? how is apple any different.
    i have been to the local apple care store and they are clueless, too.
    should we just end it here and you admit that i will not be getting any support from apple on this one? i got the ipad because my kids were such big fans. it is difficult for me to share their enthusiasm.
    at this point i am just curious about how you say you cannot support your own product so i can complete my file on this contact.
    thanks...sorry it was you who got this problem..

  • I want to leave BT but no-one answers the phone

    After 20 years as a BT customer I've had enough.
    I have had no home phone line since Saturday (a line came down in the snow) and BT are saying it *may* be fixed next week. Calls are diverted to may mobile, but we live in a rural area and mobile reception isn't very good in the house. Calls are often disconnected or keep breaking up so it's difficult to have a proper conversation. And of course there is the cost of having to use my mobile to make calls. I also frequently work from home, so broadband access is a necessity for me, not a nice-to-have.
    This is the second time I've been without a phone line in just a few months. In January, a phone line came down in ourvillage. Openreach fixed it for most of the properties affected within 24 hours, but they didn't do a proper job (I was told this by the second engineer who came out to fix it properly) so our property had to wait much longer to get reconnected. They were originally quoting two weeks to fix it properly but after many phone calls (eventually getting through to a UK centre) it did get fixed after 5 days.
    As well as these major problems, the broadband service on the line often goes down for several hours at a time.
    The thing that makes it worse is the dreadful customer service offered by the call centre. I have been hung up on, told lies and generally told anything that they think will fob me off.
    I know that Openreach is a big part of the problem when it comes to the lines themselves, which will remain whoever I pay for my phone, but I am fed up of such appallingly bad customer service that I do not want BT to have any more of my money. So I tried to call them yesterday and selected the options for leaving BT. Not surprisingly given my experiences, this particular department was "experiencing an extremely high volume of calls". So I sat and waited for 20 minutes (not cheap on my mobile either) without getting a response. It's odd isn't it that if I call for general customer service they offer you the option of leaving your phone number and someone will phone you back, whereas when you are fed up enough that you want to leave they decide to make you even more annoyed by not answering your call. Though I suppose it is one tactic to retain customers.

    if you are leaving BT then get your MAC code otherwise you will get a £30 disconnection charge when you transfer to another provider  http://www.getamaccode.co.uk/bt_mac_code/index.php
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Very simple question - but cant find anything to do this! (other than a full proxy server)

    Simple one for everyone who has kids... I run a wrt54gs, v1.50.9 wireless network in my house. I have 2 teenage kids both with laptops...
    I'd like to be able to see what sites they're browsing (ie firewall logs) - but without installing something like 'netnanny ' on each laptop (there apears to be a log setup on the router but doesnt record anything let alone outgoing traffic)
    I know I can bar sites through the setup...but does anyone know of any app that will record from the router, who's looked at what site?,,,so I know (quietly!) what they're looking at?
    Cheers.

    Why not ask in the Flash or Actionscript forum; this is the Flash Player forum.

  • Simple question, but can  you please help?

    i'm just getting into fooling around with Java on my PC, and i'm
    having some problems running this demo class that i created through one of the online tutorials. when i attempt to run it, i
    use:
    java -classpath c:\jhikel\divelog divelog.DiveLog
    but it give me an error:
    Exception in thread "main" java.lang.NoClassDefFoundError: divelog/DiveLog
    i am using the correct classpath for this class -- it is a simple class
    DiveLog in the divelog package that i created. can anyone help me out?
    thanks

    If the path structure is c:\jhikel\divelog\DiveLog.class and the package statement in DiveLog.java is
    "package divelog;"
    Then the classpath should be .;c:\jhikel
    because Java combines the classpath and the package to created a pointer to the DiveLog.class file.

  • Another Dynamic header question, but this one is tricky. help!

    I have a prompt that has values like
    Version1
    Version2
    Version3
    Depending on the version selected, two general value columns called VALUE1 and VALUE2 need to have their headers changed.
    for example, if Version1 is selected then Value1 column heading should be Budget and Value2 heading should be Forecast.
    How can i achieve this? It seems a repository variable will not work. Also, I tried using one prompt based on another prompt but got stuck.

    You can do this
    prompt based on other prompt and writing a case statement
    Create a pv for pmt1 and write a case statement for  prompt2 passing the variable from first prompt
    case when '@{pv1}'='version1; then 'budget'... to the second pmt(pv2)
    once done, on the dashboard page edit the dashboard properties and we can put this second pmt as a dashboard filter and save the dashboard page
    now on the report column header use '@{pv2}' .Thats it.
    It should work.I have done this already!!
    Good luck.

  • Very very simple question but..

    public class zhen {
    public static void main(String[] args)
    String yourname;
    yourname=Console.readLine("Please enter your name.");
    System.out.println("Hello,"+yourname);
    copy from the corejava book, but its not work, i feel strange. also, corejava book said that need to import corejava.*; but i copy and run it in jcreator, so i remove the import corejava.*.
    Who can help me? it is too simple and embrass me.

    I am not familiar with the corejava book, but here is an example that will work without any extra libraries, and will probably be more help to you in the long run.
    import java.io.*;
    public class Test
        public static void main(String[] args)
             try {
                 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                 System.out.print("Please enter your name:");
                 String yourname = br.readLine();
                 System.out.println("Hello," + yourname);
             } catch(Exception e) {
                 e.printStackTrace();
    }Here's a link to an I/O tutorial that should also help:
    http://java.sun.com/docs/books/tutorial/essential/io/index.html

  • A fairly simple question with a quick answer :)

    Hi there,
    So i have just purchased a mac pro to edit on.
    I currently run Final Cut Studio on a macbook pro. I purchased final cut studio in Feb 06.
    I need to uninstall FCS from my macbook pro. What's the easiest way to do this?
    However, the main question...
    Can i then install all of the same version of Final Cut Studio using the installation discs i used to install it on my MBP on my new Mac Pro. (Bare in mind i will uninstall FCS on my macbook pro)
    Also, if if this is possible - Can i upgrade to Final Cut Studio 2 on the new Mac Pro once the previous version of FCS is installed?
    Many thanks,
    Jamie Mc

    It is possible.
    Make sure you don't happen to have the lappy hooked up to the network at the time you install on the Pro.
    Also -- there was something I thought that changed in the EULA that said you could "could" have it on a desktop AND a laptop... but don't quote me. If it isn't in the EULA then you can't have it on both...
    But yes... you can install on the desktop for sure and then take it off the lappy.
    Good luck,
    CaptM

Maybe you are looking for

  • REG: base table/view error

    Hi, I am trying the execute my interface last week and it was running fine but when i try to execute i am getting the following error. can any one tell me what is the cause. 0 : : org.netezza.util.PSQLException: ERROR: Base table/view 'xxxxx' attr 'M

  • Does anyone know why my documents won't open on the desktop

    Neither JPG/Word/folders nor the MacintoshHD will open when either single or double clicked? Any ideas why this could be?

  • Getting next XML Element in a document

    Hello, I have an xml JDom Document and I need to get, given the name of an element, the next element in the document. For example, with this document: <ROOT>     <APPLE></APPLE>     <GRAPE></GRAPE>     <PEAR></PEAR>     <ORANGE></ORANGE>     <GRAPE><

  • Critical under-screen dust issues.

    There's a problem related to physical hardware. I don't know why there's dust under my iPod's screen (in between the surface and the screen itself) and I have not idea how can it get there. Does anyone know how to clean it?

  • Datafile is deleted, How to recover !!!!!!!!!!

    Dear Friends , I m using Oracle 10g . suddenly , I have to delete one of my datafile(USERS01.DBF) in absent mind. My database is in NOARCHIVE LOG mode and I have no export or cold backup . When I start my database then it shows the following error :