Events/Selections in nested components

Hi All,
I'm having difficulty trying to understand how to pass events to nested components.
I am working with the following hierarchy:
JScrollPane contains JList which contains JScrollPane(s), each with a JList.
Imagine a scrollable list of TV-program categories. Each category is itself a scrollable list of channels. I am able to scroll through the list of categories, but when I select a category, I'd like to be able to scroll through the list of channels.
Any help would be appreciated.
Thanks,
Pete

JScrollPane contains JList which contains JScrollPane(s), each with a JList.
Imagine a scrollable list of TV-program categories. Each category is itself a scrollable list of channelsSounds more like a JTree to me.
db

Similar Messages

  • Event Select Rows in Matrix

    Hi,
    I'm have one form made in Screen Printer with one matrix. How do you create the event "select row" in a matrix so that when one double-clicks on the row, the informations goes to form on SBO Apllication ?
    For example,
    When you type ' * ' in the ItemNumber field and "Enter" in the form "Item Master Data",  the form " Find (List of Itens)" opens up. This form opens the matrix with all itens and when you double-click on a row  the information of that specific item goes to the Item Mater Data Form.
    The language is C#.
    Could someone help me out?
    Grateful,
    Fabio.

    Hi David,
    Thank you for you answer. But, the question is...how to copy the informations from the fields of my form to the fields SAP form, when the event is to give double-click in row on the matrix of my form.
    sorry my English, but is not another way
    Grateful,
    Fabio.

  • Suggestions?  How to properly "nest" components/share code

    Hello,
    I have a situation with nested components like this:
    Application (STATE1)
    -----Component_A (STATE2)
    ----------Component_B (STATE2)  <--most of the action is here-->
    ---------------Component_C (STATE2)
    My main problem is that Component_C works fine by itself to control its own properties and methods, but I need it to also dynamically control some TextArea properties (such as visibility) in Component_B.  However, the objects in Component_B are not "know" by the code I use (AS file) to control Component_C.  I'm considering not using Component_C, and just integrating the rectangle/text/buttons box into Component_B, but this will "deModularize" my app which will have about 200 Component_Bs, thus causing me to re-create Component_C (about 200 times) as a object, rather than a component inside Component_B.
    Thanks for taking time to read this - I realize it is lengthy.
    Doug

    NEVER EVER EVER EVER use view classes as controllers or presenters of other view classes .  I've still got shrapnel in my leg from the last project where that was the main design theme.
    If you need to manage view classes you can make presenters, which have no knowledge of the view class.  It's very easy to do especially with Flex's databing (including two-way).  Or you may opt out for a controller, by adding an interface to the Component B/Component C tandem. That way if you do decide to make C part of B you don't break everything.

  • Integrate javascript event into Oracle ADF Components

    Can someone show me how to use javascript attribute, for instance onclick, in CoreCommandButton? How do we normally integrate javascript event into Oracle ADF Components?

    Hi,
    you already have a link. Its not an Oracle project but a project of Wilfred from Eurotransplant. Feel free to ping him directly on this or ask this question on the Forms forum, if you haven't already, where he most likely is signed up for.
    Frank

  • How to handle events between two custom components?

    Hi ,
         i want to handle events between two custom components, example if an event is generated in one custom component ,and i want to handle it any where in the application.....can any one suggest me any tutorial or meterial in this concept...
    thanks

    Events don't really go sideways in ActionScript by default. They bubble upward. If you want to send an event sideways, you will probably have to coordinate with something higher up in the event hierarchy. You can send the event to a common ancestor, and then pass it down the hierarchy as a method argument.
    Another option is to use a framework that supports Injection. There are a number around these days. The one I'm most familiar with is Mate, which allows you to handle events and inject data in MXML. Mate is meant to be used as an MVC framework, and you may want to look into it if your application is complex, but you can also use it to coordinate global event handling if you don't need that level of structure.

  • Event dispatching to swing components

    Hi,
    I'm implementing an extension of JTextPane, and I would like to make it as much reusable as possible.
    In order to do this, the class don't have to know about the external world (components)..
    The class should notify events (e.g. an event could be that a specific string has been typed..) to the other components just sending a message (or event), and all the components registered to that specific event implement their behavior to react to it.. quite simple..
    which is the simplest solution in Java to do this?
    thanks in advance..

    You should implement event dispatching based on the listener model, for consistency. Since you are extending JTextPane, a lot of the event dispatching code is written for you. Look up JTextPane in the javadocs and check out all the classes it is derived from. To take advantage of the already written listener code, simply call the appropriate fireWhateverEvent method whenever something happens. That will cause the event to be dispatched to all listeners registered with that component. If you want to define some new events that aren't covered by any of the listener methods in any of the classes your new class is derived from, here's the general way to do it:
    1) Define a new listener interface that implements the EventListener interface (which contains no methods).
    2) In your new listener interface, include methods for specific events, such as keyPressed, actionPerformed, textTyped, etc...
    3) Each of these methods should take a single parameter describing the event. This parameter should be a class that extends EventObject and that contains data relevant to your event. For example, you may define a TextEvent class that extends EventObject. The only methods EventObject has is getSource() and toString(). You won't really need to override these as long as you call the EventObject(Object) constructor from your TextEvent constructors.
    4) In your JTextPane derived class, define methods that can add, remove, and get a list of all registered event listeners for your event (ex: void addTextListener(TextListener t), void removeTextListener(TextListener t), TextListener[] getTextListeners()).
    5) add*Listener should add the listener to an internal list of listeners (a LinkedList or a Vector are good ways to store the registered listener lists). remove*Listener should remove the listener from the list, and get*Listeners should return the list in array form.
    6) For ease-of-use, define a fire method like fireTextListener(params), which creates a new TextEvent (assuming you're doing the TextListener thing) holding the specified event data and iterates through the internal list of listeners, calling the appropriate method in each one and passing your TextEvent to it.
    7) Call your fire*Event functions wherever appropriate to fire events.
    It's simpler than it sounds. Here's a small example:
    // TextListener.java
    public class TextListener implements EventListener {
        public void textInserted (TextEvent e);
        public void textDeleted  (TextEvent e);
    // TextEvent.java
    public class TextEvent extends EventObject {
        protected int    pos0;
        protected int    pos1;
        protected String text;
        public TextEvent (Object source, int pos0, int pos1, String text) {
            super(source);
            this.pos0 = pos0;
            this.pos1 = pos1;
            this.text = (text != null) ? text : "";
        public TextEvent (Object source, int pos0, int pos1) {
            this(source, pos0, pos1, null);
        public int getPos0 () {
            return pos0;
        public int getPos1 () {
            return pos1;
        public String getText () {
            return text;
    // MyTextPane.java
    public class MyTextPane extends JTextPane {
        LinkedList textListeners = new LinkedList();
        // This is just some method you defined, can be anything.
        public void someMethodThatInsertsText () {
            fireTextInserted(pos0, pos1, textInserted);
        // Same with this, this can be anything.
        public void someOtherMethodThatDeletesText () {
            fireTextDeleted(pos0, pos1);
        public void addTextListener (TextListener t) {
            textListeners.add(t);
        public void removeTextListener (TextListener t) {
            textListeners.remove(t);
        public TextListener[] getTextListeners () {
            TextListener ts = new TextListener[textListeners.size()];
            Iterator     i;
            int          j;
            // Don't think toArray works good because I'm 99% sure you'll
            // have trouble casting an Object[] to a TextListener[].
            for (j = 0, i = textListeners.iterator(); i.hasNext(); j ++)
                ts[j] = (TextListener)i.next();
        protected fireTextInserted (int pos0, int pos1, String text) {
            TextEvent e = new TextEvent(this, pos0, pos1, text);
            Iterator  i = textListeners.iterator();
            while (i.hasNext())
                ((TextListener)i.next()).textInserted(e);
        protected void fireTextDeleted (int pos0, int pos1) {
            TextEvent e = new TextEvent(this, pos0, pos1);
            Iterator  i = textListeners.iterator();
            while (i.hasNext())
                ((TextListener)i.next()).textDeleted(e);
    };There. I just typed that there, didn't test or compile it, but you get the gist of it. Then, like you do with any listener stuff, when you want to set up a listener and register it with a MyTextPane instance, just create some class that extends TextListener and overrides textInserted and textDeleted to do whatever your application needs to do.
    Hope that makes sense.
    Jason

  • I have 'all events' selected for syncing my iPad Air. I see all events in icloud but they are not syncing to my ipad.

    I have 'all events' selected for syncing my iPad Air. I see all events in icloud but they are not syncing to my ipad.

    Hello savtaneg
    Start with the article below to sync your calendars with your iPhone. Try turning off iCloud calendars and then turning them back on.
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/ts3999
    iCloud: Change iCloud feature settings
    http://support.apple.com/kb/PH2613
    Regards,
    -Norm G.

  • Nested Components - c.CheckBox inside a C.Table ?

    Can one nest components ?
    For e.g.  a c.Table has a row added to it  using addRow(). Now a c-component like c.CheckBox has to be added to a cell.

    Hi Varun,
    As far as i have explored, the nesting is not possible. You can add only text & image elements within the table component. However a workaround could be that u place images of check & uncheck instead. And flip them as in when clicked. Hope this is useful.
    regards,
    Kunal Kotak

  • Pass an event to outside nested iview (Flex 2.0)

    Dear all,
    As per note 1124906, the new Flex engine permit pass an event raised inside a nested iview to the outside iview.
    I just installed the SP 14, PL 1 and I couldn't find how to use this feature.
    Someone could help me?
    Thanks.
    Note 1124906:
    New Visual Composer features for Flex 2.0, enabled by this patch, include:
    Signal Names as Events: If you are working with nested iViews in a Flex-based model, you can use Out signals within the nested iView to expose EPCM events external to the nested iView, elsewhere in the same model. These signals can trigger transitions between layers and/or trigger events when received by the complementary In signals.

    I've found the problem:
    I forgot to select the correct compiler (FLEX 2) under Options menu.
    Select the correct compiler and it will work fine
    Regards,
    Alessandro.

  • Best method for passing data between nested components

    I have a fairly good sized Flex application (if it was
    stuffed all into one file--which it used to be--it would be about
    3-4k lines of code). I have since started breaking it up into
    components and abstracting logic to make it easier to write,
    manage, and develop.
    The biggest thing that I'm running into is figuring out a way
    to pass data between components. Now, I know how to write and use
    custom events, so that you dispatch events up the chain of
    components, but it seems like that only works one way (bottom-up).
    I also know how to make public variables/functions inside the
    component and then the caller can just assign that variable or call
    that function.
    Let's say that I have the following chain of components:
    Component A
    --Component B
    -- -- Component C
    -- -- -- Component D
    What is the best way to pass data between A and D (in both
    directions)?
    If I use an event to pass from D to A, it seems as though I
    have to write event code in each of the components and do the
    bubbling up manually. What I'm really stuck on though, is how to
    get data from A to D.
    I have a remote object in Component A that goes out and gets
    some data from the server, and most all of the other components all
    rely on whatever was returned -- so what is the best way to be able
    to "share" data between all components? I don't want to have to
    pass a variable through B and C just so that D can get it, but I
    also don't want to make D go and request the information itself. B
    and C might not need the data, so it seems stupid to have to make
    it be aware of it.
    Any ideas? I hope that my explanation is clear enough...
    Thanks.
    -Jake

    Peter (or anyone else)...
    To take this example to the next (albeit parallel) level, how
    would you go about creating a class that will let you just
    capture/dispatch local data changes? Following along my original
    example (Components A-D),let's say that we have this component
    architecture:
    Component A
    --Component B
    -- -- Component C
    -- -- -- Component D
    -- -- Component E
    -- -- Comonnent F
    How would we go about creating a dispatch scheme for getting
    data between Component C and E/F? Maybe in Component C the user
    picks a username from a combo box. That selection will drive some
    changes in Component E (like triggering a new screen to appear
    based on the user). There are no remote methods at play with this
    example, just a simple update of a username that's all contained
    within the Flex app.
    I tried mimicking the technique that we used for the
    RemoteObject methods, but things are a bit different this time
    around because we're not making a trip to the server. I just want
    to be able to register Component E to listen for an event that
    would indicate that some data has changed.
    Now, once again, I know that I can bubble that information up
    to A and then back down to E, but that's sloppy... There has to be
    a similar approach to broadcasting events across the entire
    application, right?
    Here's what I started to come up with so far:
    [Event(name="selectUsername", type="CustomEvent")]
    public class LocalData extends EventDispatcher
    private static var _self:LocalData;
    // Constructor
    public function LocalData() {
    // ?? does anything go here ??
    // Returns the singleton instance of this class.
    public static function getInstance():LocalData {
    if( _self == null ) {
    _self = new LocalData();
    return _self;
    // public method that can be called to dispatch the event.
    public static function selectUsername(userObj:Object):void {
    dispatchEvent(new CustomEvent(userObj, "selectUsername"));
    Then, in the component that wants to dispatch the event, we
    do this:
    LocalData.selectUsername([some object]);
    And in the component that wants to listen for the event:
    LocalData.getInstance().addEventListener("selectUsername",
    selectUsername_Result);
    public function selectUsername_Result(e:CustomEvent):void {
    // handle results here
    The problem with this is that when I go to compile it, it
    doesn't like my use of "dispatchEvent" inside that public static
    method. Tells me, "Call to possibly undefined method
    "dispatchEvent". Huh? Why would it be undefined?
    Does it make sense with where I'm going?
    Any help is greatly appreciated.
    Thanks!
    -Jacob

  • 8.0.5 crashes when events selected...

    Hi all, and thank you in advance!
    I have read, I believe all the threads I could relating to iMovie crashes, and tried everything but an OS re-install :/ Anyway, the problem just started today for some reason: The default selection in the Event Library is "iPhoto Video". When I select any of the "New Events", all appears OK, until I 1. try to do ANYTHING with a selected event, or 2. highlight another New Event. I eventually get the beachball and the resulting log which Apple's forum server WON'T allow me to post (size??).
    Anyway, I have tried: cleaning up my disk by verifying and/or repairing permissions and the disk itself, removing Flip4Mac and other components from the QuickTime library (except for the two Apple codecs), ensured everything was up to date, removed iMove preference files, and re-installed iMovie...all to no avail. I can post bits and pieces of the error log I am sure, but not the whole thing at once…ideas?
    This is all particularly humbling since my wife is a dedicated Windows user and finds this very entertaining. For this and other reasons, I would appreciate any and all help, and will build a small shrine to whom solves this puzzle. MMM

    Hi
    How about Perian - some versions seems problematic.
    Program Updates under Apple menu - updated ?
    else
    *Not knowing the origin to Your problem - General approach when in trouble is as follows.*
    • Free space on internal (start-up) hard disk if it is less than 10Gb should rather have 25Gb
    • Delete iMovie pref file - or rather start a new user/account - log into this and re-try
    iMovie pref file resides.
    Mac Hard Disk (start-up HD)/Users/"Your account"/Library/Preferences
    and is named. *com.apple.iMovie.plist *
    While iMovie is NOT RUNNING - move this file out to desk-top.
    Now restart iMovie.
    • Hard disk is untidy. Repair Permissions, Repair Hard disk (Apple Disc Util tool)
    • Garageband-fix. Start it, Play a note and Close it. Re-try (Corrects an audio problem that hinders iMovie)
    • Screen must be set to Million-colors
    • Third party plug-ins that doesn't work OK (not relevant for iMovie’08 or 09)
    iMovie updated ?
    QuickTime updated ?
    Mac OS version ?
    • Program miss-match. iMovie 5.0.2, up to Mac OS X.4.11 AND QuickTime 7.4.1 - is OK
    • Program miss-match. iMovie 6.0.3 or 6.0.4, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK (might work under Leopard)
    • Program miss-match. iMovie’08 v. 7.0.1, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK (might work under Leopard)
    From LKN 1935. (in this case = iMovie HD (5), I tried it all, but nothing worked.
    Your answer (above) has been helpfull insofar as all the different trials led to the conclusion that
    there was something wrong with my iMovie software. I therefore threw everything away and reinstalled
    iMovie from the HD. After that the exportation of DV videos (there has not been any problem with HDV videos)
    to my Sony camcorders worked properly as it did before.
    Lennart Thelander
    I run "Cache Out X", clear out all caches and restarts the Mac.
    Yours Bengt W

  • ORA-00902 on trying to Select a Nested Table

    I have created a Table having Nested Table as below:
    create type INT_ARRAY as table of INTEGER;
    create table test1 (
    id number not null,
    name varchar2(500),
    prot_NT int_array,
    constraint test1_pk primary key(id))
    STORAGE (INITIAL 512K
    NEXT 512K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0)
    nested table prot_NT store as prot_NT_TAB ;
    And I am doing following select using an executeQuery on a PreparedStatement (I am not using any oracle extensions. I am using JDK1.2.2 on Solaris with Weblogic 5.1 appServer. jdbc driver is oracle.jdbc.driver.OracleDriver version 8.1.6.0.0):
    Select id, name, prot_nt from test1
    Some times this executeQuery works fine. But some times I get SQLException with "ORA-00902: invalid datatype". Same tables and same query behaves differently at different times.
    Is there any problem with this usage?? Is there any known problem? I am trying to get Nested Table to a int[]. What is recommended procedure for doing this? Please help me out! Thanks in advance!

    By this point you've probably either solved the problem, or just dropped the database, but for anyone else interested, here's something you can do.
    You can drop the queue table by setting event 10851 with the following steps:
    1. Log into SQL*Plus or Server Manager as a user with DBA privileges.
    2. Issue command: alter session set events '10851 trace name context forever, level 2'; Statement Processed.
    3. Drop table <queue_table>; Statement Processed.
    Solution Explanation: =====================
    Event 10851 disables error 24005 when attempting to manually drop a queue table. It should be noted that this is the "Hard Way" of dropping queue tables, and should only be practiced after all formal procedures, i.e., using the "DBMS_AQADM.DROP_QUEUE_TABLE" procedure, has failed to drop the table.
    Cheers,
    Doug

  • How to use Select in nested Else if statement.

    Hi ,
    I am validating a file . for that I placed conditions through Nested ELSEIF statment.
    Some fields in the file need to validate against a table.
    Can some one help me how to organise my below code so that I can validate the file using all my conditions.
    CALL FUNCTION 'RH_EXIST_OBJECT'
           EXPORTING
             plvar     = '01'
             otype     = wa_1000-otype
             objid     = wa_1000-objid
           EXCEPTIONS
             not_found = 1
             OTHERS    = 2.
         IF sy-subrc <> 0.
           wa_error-reason = 'Object does not exist '.
           APPEND wa_error TO it_error.
           APPEND wa_file  TO it_1000.
         ELSEIF wa_file-endda IS INITIAL.
           wa_error-reason = 'End date missing'.
           APPEND wa_error TO it_error.
         ELSEIF wa_file-infty IS INITIAL.
           wa_error-reason = 'Infotype Missing'.
           APPEND wa_error TO it_error.
         ELSEIF wa_file-begda IS INITIAL.
           wa_error-reason = 'Begin date missing'.
           APPEND wa_error TO it_error.
         ELSEIF ( wa_file-sclas IS NOT INITIAL
          OR wa_file-sobid IS NOT INITIAL )
        AND  wa_file-infty <> const_infty_1001.    " Cosk Centre
           wa_error-reason = 'Enter a valid infotype'.
           APPEND wa_error TO it_error.
         ELSEIF ( wa_file-persg  IS NOT INITIAL
               OR wa_file-persk  IS NOT INITIAL )
             AND  wa_file-infty <> const_infty_1013.   " Employee Group
           wa_error-reason = 'Enter a valid infotype'.
           APPEND wa_error TO it_error.
          SELECT SINGLE *  FROM t501 INTO wa_501 WHERE persg = wa_file-persg.
          IF sy-subrc NE 0.
            wa_error-reason = 'Invalid Employee Group'.
            APPEND wa_error TO it_error.
            ADD 1 TO gv_error.
            gv_error_flag = 'X'.
          ENDIF.
          SELECT SINGLE *  FROM t503 WHERE persk = wa_file-persk.
          IF sy-subrc NE 0.
            wa_error-reason = 'Invalid Employee SubGroup'.
            APPEND wa_error TO it_error.
          ENDIF.
         ELSEIF ( wa_file-bukrs IS NOT INITIAL
               OR wa_file-persa  IS NOT INITIAL
               OR wa_file-btrtl IS NOT INITIAL )
             AND  wa_file-infty <> const_infty_1008.    " Company Code
           wa_error-reason = 'Enter a valid infotype'.
           APPEND wa_error TO it_error.
          SELECT SINGLE *  FROM t500p WHERE persa = wa_file-persa.
          IF sy-subrc NE 0.
            wa_error-reason = 'Invalid Personnel Area'.
            APPEND wa_error TO it_error.
          ENDIF.
         ELSEIF wa_file-build IS NOT INITIAL
           AND  wa_file-infty <> const_infty_1028.    " Building
           wa_error-reason = 'Enter a valid infotype'.
           APPEND wa_error TO it_error.
         ELSEIF ( wa_file-trfar IS NOT INITIAL
             OR wa_file-trfgb IS NOT INITIAL
             OR wa_file-trfg1 IS NOT INITIAL
             OR wa_file-trfs1 IS NOT INITIAL
             OR wa_file-indda IS NOT INITIAL
             OR wa_file-trfkz IS NOT INITIAL
             OR wa_file-molga_pg IS NOT INITIAL )
           AND  wa_file-infty <> const_infty_1005.   " Pay Scale
    Endif.

    hi,
    here is what you need.
    LOOP AT itab INTO wa_itab.
      SELECT maktx
        APPENDING CORRESPONDING FIELDS OF TABLE it_makt
        FROM makt
       WHERE matnr eq wa_itab-matnr
    ENDLOOP.
    note: performance-wise, it is better to use FOR ALL ENTRIES that SELECT inside a LOOP.
    here is a sample code
    SELECT maktx
      INTO CORRESPONDING FIELDS OF TABLE it_makt
      FROM makt
       FOR ALL ENTRIES IN itab
    WHERE matnr EQ itab-matnr.
    regards,
    Peter

  • Select from nested table in a nested table security problem

    please help
    running Oracle 9.2.0.3.0 on RH AS 2.1
    I can select the inner most nested table as the creator, but can't use the same select statement as USER2.
    ORA-00942: table or view does not exist
    -- begin make of objects and tables
    create or replace type mydata_t as object ( x float, y float);
    create or replace type mydata_tab_t as table of mydata_t;
    create or replace type mid_t as object (
         graphname varchar2(12),
         datapoints mydata_tab_t );
    create or replace type mid_tab_t as table of mid_t;
    create or replace type top_t as object (
         someinfo int,
         more_mid     mid_tab_t );
    create table xyz (
         xyzPK int,
         mainstuff     top_t )
         nested table mainstuff.more_mid store as mid_nt_tab
              (nested table datapoints store as mydata_nt_tab)
    -- grants
    grant all on mydata_t to user2;
    grant all on mydata_tab_t to user2;
    grant all on mid_t to user2;
    grant all on mid_tab_t to user2;
    grant all on top_t to user2;
    grant all on xyz to user2;
    -- insert
    insert into xyz values (1, top_t(22,mid_tab_t(mid_t('line1',mydata_tab_t(
    mydata_t(0,0),
    mydata_t(15,15),
    mydata_t(30,30))))));
    commit;
    -- select fails as user2
    select * from table(select Y.datapoints as DP_TAB
         from table(select X.mainstuff.more_mid as MORE_TAB
              from scott.xyz X
              where X.xyzPK=1) Y
         where Y.graphname='line1') Z;
    -- select works as user2, but i need individual lines
    select Y.datapoints as DP_TAB
         from table(select X.mainstuff.more_mid as MORE_TAB
              from scott.xyz X
              where X.xyzPK=1) Y
         where Y.graphname='line1';

    Thank you for your reply.
    I have tried
    select value(t) from table t;
    but it is still not working. I got almost the same answer as before.
    Anyway thank you very much again.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by MARCELO OCHOA ([email protected]):
    Originally posted by meimei wu ([email protected]):
    [b]I created a nested object-relational table using REF type in oracle8i. when I tried to select * from the table, I got lots of number as the ref type values, but actually, the value in ref type should be of type varchar2 and number. The number I got looked like following code:
    JARTICLE_REF_TYPE(000022020876108427C2FE0D00E0340800208FD71F76103B99B12009C0E0340800208FD71F,
    Does anyone know how I can get the actual value that I inserted into the nested table?
    your help is appreciated.<HR></BLOCKQUOTE>
    Try this:
    select value(t) from table t;
    Best regards, Marcelo.
    null

  • Select from nested table

    Hi,
    I create following types and table:
    CREATE OR REPLACE TYPE obj_query AS OBJECT
    (emp_id NUMBER(6)
    ,emp_first VARCHAR2(20)
    ,emp_last VARCHAR2(25));
    CREATE OR REPLACE TYPE tab_query AS TABLE OF obj_query;
    CREATE TABLE queryEmp
    (id_row NUMBER
    ,beginTrans VARCHAR2(15)
    ,queryA VARCHAR2(100)
    ,resultEmp tab_query)
    NESTED TABLE resultEmp
    STORE AS nested_queryEmp;
    I would like the output of the table queryEmp like this:
    id_row beginTrans queryA emp_id emp_first emp_last
    1 15:00 Select1 100 Joe King
    101 John Queen
    2 15:10 Select2 100 Leo King
    101 Mett Queen
    But Can I get this result with only SQL SELECT statement from this table?
    I don't want to use PL/SQL, only SELECT in SQL*Plus.
    Thank you
    I'm sorry but output looks so bad.
    So, I want to get the one row of id_row, beginTrans, queryA and all rows of nested table dmlStats to this "main" row and so on.
    But not in PL/SQL
    I hope, you understand me.
    Thanks
    Edited by: user9357436 on 2.11.2011 5:18
    Edited by: user9357436 on 2.11.2011 5:25

    Arvind Ayengar wrote:
    Can you please explain things in details, and just ensure you are in the correct forum.Is this reply directed at me or the OP?

Maybe you are looking for

  • Memory profiler disabled in JDeveloper 10.1.3.3.0.4157?

    Hi, I'm using JDeveloper 10.1.3.3.0.4157, and it seems that the memory profile is disabled in this version. Or isn't it? How do I enable it? Thanks in advance!

  • Conditionally Hide Dashboard Pages using Javascript.

    Hi, I would like to share a small logic i developed to Conditionally show or hide Dashboard Pages based on a Repository Variable. In the last few weeks we noticed that the ETL jobs scheduled everyday were failing due to various obvious reasons. As a

  • Cluster and commons-logging jar LogConfigurationException

    Hi, My configuration: -OAS 10.1.3.1 on 2 machines with oracle cluster configuration (discovery). My app: -ear which includes simple ejb3 module with commons-logging-1.1.jar lib (Jakarta commons logging) -clustering and replication is configured (in o

  • Error when connection SAP by RFC in VB code

    Hello Guru's VB code: Set oFunction = CreateObject("SAP.LogonControl.1") Set oConnection = oFunction.NewConnection oConnection.Client = "--" oConnection.Language = "--" oConnection.User = "--" oConnection.Password = "---" oConnection.ApplicationServe

  • Split a Column to Three Columns

    Hello Y'all Gurus, I have a column and I need to split this column to three columns. The following are samples of data to be split: Sample #1:  From Column:  2.5 (3 - 47) or               2.5 (3-47) or               2.5(3 -47) or               2.5(3-