Shared components (multiple parents)

Hi,
I have posted a question in the AWT section, but it relates to Swing too, so I'm posting a link here. Please take a look:
http://forum.java.sun.com/thread.jspa?threadID=786181&tstart=0
Thanks.

I just gave you an example.
You have a "Cancel" button that you add to multiple
non-modal dialogs that can all be open at the same
time (different tool palettes for example). You write
a generic ActionListener so then when the button is
clicked, you close the dialog containing the button.
So the generic code simply invokes the
SwingUtilities.windowForComponent(...) to get the
window so it can close the window. But it can't find
the single parent because that relationship no longer
exists.Sorry, but I still don't understand what would stop multiparented version of Swing from invoking SwingUtilities.windowsForComponent(...) to get the array of windows so it can close every one of them. If I insert the same Cancel button into multiple dialogs, I have to know what I'm doing and be prepared for this behaviour.
So, basically using your approach you lose the
ability to write generice code and classes of this
nature.I can still have one parent, but I can also have multiple (and deal with the consequences, of course).
I really don't understand what you are trying to do,
because Swing won't allow you to do this anyway. Are
you planning on rewritting Swing? Have fun.No, that would be too much fun for me :) I'm just writing a simple GUI kit for mobiles, because the one in MIDP doesn't do much, and I was curious about this restriction.

Similar Messages

  • Shared Components APEX Report Query and Layout

    Does anyone know how to call the report query and layout from the Shared components section from a page within the application?

    mtbdude40 wrote:
    What I need is this:  The ability to create a PDF report with a custom header defining the data (example - select * from emp where deptno = :deptno and the header includes the department name).
    I use this white paper as my source:  http://www.oracle.com/technetwork/developer-tools/apex/learnmore/custom-pdf-reports-1953918.pdf
    You need to build and use a Shared Resource -> Report Queries.
    The Report Query will have two queries associated with it (see below).
    one query will be for the header information, the other will be for the data.
    use the "download" of the "xml data" as your source for Altova/other tools.
    If you add/remove/change queries, You'll have to redo your report (from scratch) as that changes the XML Schema required. (at least, with my experience)
    Once you get the hang of it, 2x queries is easy (Header, data)
    I've experimented with 3x queries (header, master,details) but have been unsuccessful.  I have some ideas though ("link" master->detail info via XPath stuff within Altova) but haven't gotten around to testing it.
    If you want to run the report for multiple departments....That might require some finesse.
    Unfortunately, the Source of the Queries can't be a scalar SQL that returns 1 row of 1 column of data type XMLType....
    MK

  • Shared components between applications

    There are ways to create shared components between applications?
    Example:
    menu list shared between multiple applications.
    Version Apex: 4.0.1

    I would seriously question why you want to export pages from dev to qa or qa to prod. Why you are NOT looking at using a version control system and exporting from that to the different environments would be a good question to tackle...
    Anyone who use the approach of copying pages between environments is just asking for trouble, since there WOULD and Could be the chance of NOT migrating all changes between environments that have occurred between versions..
    I for one would be VERY leery of such process, and have dealt with a shop like this.. Glad I am NOT There anymore..
    Thank you,
    Tony Miller
    Ruckersville, VA

  • CS3 installs properly until CD4 shows the summary that only shared components is installed???

    Hello,
    Recently i have to uninstall (remove) the CS3 master collection to reinstall it with a different serial number, because my old serial was expired.
    (For the record, i have a legal version of master collection and running vista 32 bit).
    I remove all adobe related programs and then restart my computer. And start reinstall the whole CS3 master collection packet.
    -> The first cd spinning for 30min, then asking for the 2end CD.
    -> I put the second CD in the tray, spinning for 10min, asking for the 3th CD.
    -> I put the 3th CD into the tray, spinning for 15min.
    -> Finally he asks for the fourth CD, i put it into the tray, close the tray, the CD starts spinning and suddenly the summary appear and says that only the shared component is installed and none of the selected software like Flash,PS,IL,Encore,...?
    What the F***...
    I start searching on the net. Find thousands way to fix the problem but nothings works.
    I am not understanding this, because this master collection software have run on the same PC previously, so there can't be a hardware problem.
    Here are a few links where i have search for information.
    http://www.creativeblvd.com/having-problems-installing-cs3.html
    http://www.adobeforums.com/webx/.3bc3e02c
    http://www.adobeforums.com/webx/.3c0585aa
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb401521&sliceId=1
    After hours and hours of installing and removing i decided to call the adobe support center. OH MY, WHAT A BIG HELP
    6 times i called and waited for 15min. to listen to a stupid song and get nobody on the line.
    So, i hope somebody have a Similar problem and found the solution.
    The same post is standing on my blog at http://3d.tutobert.be
    P.s.
    To adobe, quit the idea of a combined installer for all products. I love the adobe products, but the CS3 version is a real nightmare to install.
    And i now there is a lot of illegal downloading, but please, make a pop-up window that asks for a new serial when the old one is expired.
    So, please make work of it.
    thanks
    Bert Van Eeckhout

    Hello everyone
    First excuse my English, I translated this note from French !
    I recently bought a full Adobe Production Premium 3 Pack, and I have some problems
    in installing it. My computer can support this pack (Dual Core Athlon 3800+, 2 Go RAM,
    ATI Radeon X1950 GT) and Im running on Windows XP SP2.
    Ill try to describe my multiple tries of installing the pack (4 DVD Install)
    Important : each time I turned off the Windows firewall and my Avast Antivirus. I also
    checked I had sufficient disk space on my C: disk.
    1st try :
    Everything is OK for the DVD1 to DVD3, after inserting the 4th DVD, Installation stops
    and tells me :
    Installed correctly : 1 (Shared Components)
    Errors : 49 Components
    I have no choice to end the installation, and I check if the 4th DVD isnt spoiled.
    2nd try :
    I try the reinstallation option.
    Same problem with the 4th DVD
    3rd try :
    I remove all the installed components via the installation tool, I reboot and try to install
    again. Same problems as in 1st try.
    Calling Technical Support #1 :
    They tell me to download a script « wincs3clean », where in a DOS window several levels
    of cleaning up are proposed to remove installed files. I launch the script 3 times in level 4
    (it even removes the flashplayer already installed)
    4th try :
    Same as first try.
    I remove all the installed components via the installation tool.
    Calling Technical Support #2 :
    They send me on this web page :
    www.adobe.com/go/kb400615
    Solution #3 : Installing by copying the DVD Files in a folder on my desktop and by
    rebooting Windows in a simplified mode.
    5th try :
    I copy all the files as mentionned in the link, reboot Windows in simplified mode, and
    I launch the installation with the setup.exe copied in the folder on the desktop.
    I can see again the progression bar, and at the end of the 3rd DVD (82.69 % progress),
    just after installation of Encore CS3 Library, just before going on the datas of the
    4th DVD, installation fails, no choice but quit the installation. (Cf 1st try).
    Calling Technical Support #3 : thanks the phone bill ><<br />For them, there is a system conflict. They ask me to check my C: hard disk and to defrag it.
    So go for the defrag (it needed it actually) and go the chkdsk (the disk is sane).
    6th try :
    Reboot the computer, reboot in simplified mode, I turn off the antivirus and the Windows
    firewall, I launch the installation and same as usual (Cf 1st and 5th try).
    So here I am, the technical support told me in a final solution to reformat my hard disc
    and to install again Windows !! I wish I would not do that, what a waste of time !!
    So Im just asking if other solutions exist, what the hell is going on, or if someone can
    help me to check further on my system and/or configuration, as it comes from a
    system conflict .
    Id like to try another time but after desinstalling my Avast Antivirus program, perhaps
    the problems comes from there ????
    Thanks for your attention and your eventual help.
    Reinstalling Windows ? NO WAY, I spared enough time on this problems, and I never
    had similar problems in installing other softwares on my computer !!

  • Hierarchy where a single Child has been assigned to multiple Parents

    Hi BPC guru,
    I encountered error "Dimension members 30000010 has multiple parents in PARENTH1" when loading GL hierarchy from BW to BPC. This GL account 30000010 is configured to display in both asset(debit) and liabilities(credit) side in ECC. Therefore it contains 2 parents, ie asset and liabilities. How can I load this into BPC?
    The structure is shown below.
    FS
    --Total Assets
    30000010
    --Total Liabilities
    30000010
    Kindly shed some light to my issue. Thanks in advance.
    Best regards,
    Pei Fung

    Hi Gersh,
    I am getting error "duplicate dimension members 30000010 is detected." when process the dimension.
    I have added PARENTH2 fields in the dimension account.
    ID                    |    PARENTH1        |     PARENTH2
    30000010        |    ABC |
    30000010             |                         |    DEF
    Do you mean i need to change the 30000010 to become two different account number in the dimension ID?
    Thanks.
    Best regards,
    Pei Fung
    Edited by: Pei Fung Yee on Jan 17, 2012 4:30 AM

  • Issue with Shared Components - Report Layouts Download

    After my isp provider upgraded from APEX 3.2.1 to 4.0, I am now unable to go into the Shared Components -> Report Layouts section and access an existing report to download my rtf template. Is there another way to go and get this out of the database. I need to update a report layout that is old and I do not have a backup of the original report and do not want to spend the time to recreate.
    Thanks,
    Mark

    If you have TOAD, or if you can install it, by connecting to your database you will be able to access your report layout via the Schema Browser. The whole path should be "All Schemas -> APEX_040000 -> Tables -> WWV_FLOW_REPORT_LAYOUTS". In that table you will find you report layout. Double click on it and copy/paste it into a text editor.
    Note: You might need to be granted some rights to access the 400+ tables of the APEX_040000 schema. Or if you have a DBA, ask him to do this for you.
    Of course, if you don't want to install TOAD, I bet you could query that table from the SQL Commands of the SQL Workshop, but you would again need the rights to access said table.
    Best regards,
    Mathieu

  • File sharing with multiple users on one Mac

    I have two Macs, both of which ca seen each other across the network. My question regards file sharing with multiple users on the same computer. When file sharing, are the files from all users available across the network, or just those of the user presently logged in? The issue is that I am trying to access files from a user who isn't currently logged in, but another user on that computer is. I need to get into that person's documents, but I don't see a way to navigate to their documents folder.

    Right, I got that. But the computer is in constant use by User A, while I need access to User B's files. I could need access at anytime, and it would be a pain to make User A log off and log in as User B everytime. I was just wondering if there is anyway to access User B's files in this situation, without logging User B in.

  • Screen ipad doesn't respond during video viewing home sharing with multiple iOS devices simultaneously

    A have a problem with the videos app and iTunes home sharing on multiple iOS devices.
    This is my setup. On my iMac 2006 with Snow Leopard I have:
    - 100+ dvd's ripped in my iTunes movie section
    - 600+ episodes ripped in iTunes TV-section in 35 TV-shows
    - 1 apple tv, 1 iPad 2, 1 iPad mini
    On an average evening my family is watching different tv-shows simultaneously on the apple tv, the ipad, an iphone, and an ipad mini.
    This is done through home sharing on the one iTunes library.
    All updated apps, software etc..
    What happens on the ipads, after viewing for more than 10 minutes, the user interface doesn't show up when tapping the screen. The touchscreen doesn't respond, only the home button works. Clicking the home button closes the app, but the sound of the video keeps on playing. Opening up the videos app again gives a black screen with sound still playing and still no button or UI.
    The only workaround which currently works is killing the videos app. Power off the ipad and power on again, reconnect to the shared library, wait until it has found all the content (1+ minutes) and startup the tv show again.
    All in all, a nasty way to pause your viewing or switching to another movie of tv episode, or even wanting to finish viewing.
    The problem has haunted me for a year now, patiently waiting and hoping software-updates would fix it. They didn't.
    A fix would obviously hugely improve my user experience, getting it on par with Apples usual quality of service.
    Anyone familiar with this problem? Apple: is it possible to fix it in an update?

    Same here for over a year now.
    You cant imagine how happy i am that im not the only one with this problem.
    many of frinds have the same setup as me (ipad 2, 27"imac, express, apple tv 2)
    No problem
    I had the problem on Snow Leopard, lion and now on mountain lion.
    I'am also starting to get a new problem - sometimes when waching a movie on iPad or ATV it just quits the movie and you have to start it again
    on the iPad most of the time it also shows the wrong cover art. I tried all the hints here, and i works for a day or two then its wrong again
    I store my itunes library on an external drive - you ???

  • Is there a calendar which can be shared by multiple IPads in the same business?

    Is there a recommended calendar which can be used by multiple employees on their respective IPADS when we go offsite to set up in house appointments?We want to use one central calendar, so we don't overlap times and dates in the same office?
    Please help.

    You can set up an Exchange account so mail is not delivered to it, essentially turning it into a calendar, only.  The  credentials on this account could be shared by multiple users,  making it a group calendar. The problem I think would be administering the account across multiple devices and users, arranging procedures for appointment acceptance and creation, etc, and ensuring that changes made from one device synced to the other devices.....another approach might be to have a group calendar administrator with a desktop Outlook client  that made changes and have the recipients with mobile devices use it read-only... 

  • Images uploaded in Shared Components not displaying

    We recently installed version 4.2.1 on a new dedicated server. The entire setup went through without error.
    The default images found in apex (/i/apex/builder/ etc.) are all visible. But when we upload any image through Shared Components > Images do not show on screen. An entry is available in the report on the Images page but the image itself is blank. The URL of the image is shown as : "+http://hostname:port/apex/wwv_flow_file_mgr.get_file?p_security_group_id=100000&p_flow_id=100&p_fname=Sampleimage.jpg+". The image is available in the wwv_flow_file_objects$ table and can be viewed through the BLOB_CONTENT column. But it is not visible in the front end.
    Is there a solution to this issue?
    Thanks,
    Aniket

    AniketP wrote:
    We recently installed version 4.2.1 on a new dedicated server. The entire setup went through without error.
    The default images found in apex (/i/apex/builder/ etc.) are all visible. But when we upload any image through Shared Components > Images do not show on screen. An entry is available in the report on the Images page but the image itself is blank. The URL of the image is shown as : "+http://hostname:port/apex/wwv_flow_file_mgr.get_file?p_security_group_id=100000&p_flow_id=100&p_fname=Sampleimage.jpg+". The image is available in the wwv_flow_file_objects$ table and can be viewed through the BLOB_CONTENT column. But it is not visible in the front end.Is the image associated with an application (No Application Associated)? If not then consider using the #APP_IMAGES# substitution istring nstead of #WORKSPACE_IMAGES#

  • Direct Link to Report layout in Shared Components

    Is it possible to put a link on my page that goes directly into the Shared-Components- Report Layouts? I do'nt want my developer users to have to open up the builder to create/upload new (.rtf) Report Layouts.

    Yeah
    It's
    http://host:port/pls/apex/f?p=4000:1400:&APP_SESSION.With the normal substitutions for your setup and removing pls if your using EPG.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • How to Clear Cache for an Old Static File in Shared Components

    Hello,
    I am using Apex 4.1.1.00.23, HTTP Server with mod_plsql, and Oracle Database 10.2.0.5.0.
    My situation is as follow:
    I have a CSS static file in the shared components that is used in different applications. I recently modified the CSS file, but the changes are not reflected in my applications.
    I tried clearing the cache of my browsers, deleting the file from shared components and creating a new one with the same name, and nothing is working.
    Using Firebug, I can see that the file used in my pages is the old version of it. Anyone can tell me if the server is caching the file and how can I clear it?
    Thank you for your help,
    Erick

    What kind of document is it (e.g. is this a parsed
    HTML file, or a static file)? have you adjusted your
    cache settings with the nsfc.conf file? have you
    enabled the nsfc report? Are the files stored on NFS
    volumes?
    Regardless, you can force the cache to be flushed by
    enabling the nsfc report, and then accessing the URI
    like so:
    /nsfc?restart
    See the Performance and Tuning Guide:
    http://docs.sun.com/source/817-1836-10/perftune.html#w
    p17232I tried to to do this. Did n't worked. /nsfc?restart is not working for me. I have IPlanet 6.1 Webserver version. Without having any backend server running, I am getting JSPs displayed from cache!! Please help me out.

  • How to model multiple parent hierarchy in obiee

    hi,
    I have product hierarchy with multiple parents for a single level. and i want to display all the levels of hierarchy at a same time.
    Below mentioned is wht data i am getting from product table in OLTP
    current product diamension
    root1--level 1
    child product1--level 2
    child product2--level 3
    child product3 ----level 4
    and
    root2----level 1
    child product4----level 2
    child product2----level 3
    child product3 ----level 4
    If u see we have child product2 belongs to two diff hierarchies.
    My report req is i want to show all the levels of product in single row.Some thing like
    Mb no. level 1 level 2 level 3 level 4
    123 root1 CP1 Cp2 CP3
    123 root2 CP4 CP2 CP3
    How to model this scanario in OBIEE?

    H,
    Refer this
    http://oraclebizint.wordpress.com/2007/11/30/oracle-bi-ee-101332-one-dimension-multiple-hierarchies/
    http://www.rittmanmead.com/2010/11/oracle-bi-ee-11g-parent-child-hierarchies-multiple-modeling-methods/
    Thanks
    Deva

  • Non-application specific static files not visible in shared components

    Hello,
    We recently upgraded to APEX 4.0.2.00.07. In the past we have uploaded a number of static files with no specific application linked to them.
    Now, when I search on these files using Shared Components -> Static Files, I don't find them back.
    But, if I directly query the view APEX_WORKSPACE_FILES (using the APEX schema owner), I see all the files. They have APPLICATION_ID = 0 and APPLICATION_NAME is empty.
    Is this a bug? I couldn't reproduce this with newly added static files, whether I specify an application or not.
    Matthias
    Edited by: mhoys on Mar 1, 2011 11:40 AM

    Owen:
    Excellent idea/perspective...I did not think of that.  Each of our forms/screens has a seperate class file.  Each class file has a CreateForm() routine that is called when an instance of the class is intiated behind the menu selection. 
    Here is a block of code In Main.vb I use to execute a menu selection:
    Case "MPA"
      '8/30/07 EJD - Work Order Parameters Screen
       If GetFormCount(G_MPAMaint_Form_Type).ToString = "0" Then
               Dim MPAForm As New MPA
               BubbleEvent = False
        Else
               UpdateStatus("Another MPA maintenance screen is already open", SAPbouiCOM.BoStatusBarMessageType.smt_Error)
               BubbleEvent = False
        End If
    So, I can utilize this code in the case statement where I was doing the ActivateMenu if I hear you right.  Now, can you help me with how I would pass the
    variables instead of making them Public Shared in the Main class?  Or is it ok to expose them that way?
    I Appreciate the help,
    Ed

  • Shared Components Images Create Image does not work

    I am using oracle XE on Windows XP.
    Uploading an image for an application does not work.
    Home>Application Builder>Application 105>Shared Components>Images>Create Image
    It goes wrong when I try to upload the image:
    - Iexplorer gives an error 404 after pressing the Upload button.
    - Firefox just gives an empty page.
    When I try to refresh the resulting page (do another post) I get the following error:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7621 Could not determine workspace for application (:) on application accept.

    Hi Dietmar,
    After setting the language to English (USA) [en-us] it works for +- 50 % of the uploads.
    Below is my tracefile.
    Dump file e:\oraclexe\app\oracle\admin\xe\bdump\xe_s001_2340.trc
    Wed Nov 23 19:03:17 2005
    ORACLE V10.2.0.1.0 - Beta vsnsta=1
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Beta
    Windows XP Version V5.1 Service Pack 2
    CPU : 2 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:267M/1014M, Ph+PgF:1431M/2444M, VA:1578M/2047M
    Instance name: xe
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Windows thread id: 2340, image: ORACLE.EXE (S001)
    ------ cut ------
    *** 2005-11-23 19:50:44.718
    *** ACTION NAME:() 2005-11-23 19:50:44.718
    *** MODULE NAME:() 2005-11-23 19:50:44.718
    *** CLIENT ID:() 2005-11-23 19:50:44.718
    *** SESSION ID:(26.18) 2005-11-23 19:50:44.718
    Embedded PL/SQL Gateway: /htmldb/wwv_flow.accept HTTP-404 ORA-01846: not a valid day of the week
    *** SESSION ID:(27.19) 2005-11-23 19:50:51.937
    Embedded PL/SQL Gateway: /htmldb/wwv_flow.accept HTTP-404 ORA-01846: not a valid day of the week
    *** 2005-11-23 19:50:59.078
    *** SERVICE NAME:(SYS$USERS) 2005-11-23 19:50:59.078
    *** SESSION ID:(27.21) 2005-11-23 19:50:59.078
    Embedded PL/SQL Gateway: Unknown attribute 3
    Embedded PL/SQL Gateway: Unknown attribute 3
    Strange error... there is nothing in my form that is related to dates...
    Kind regards,
    Pieter

Maybe you are looking for

  • Windows xp and windows 7

    i am new to computers so rather a silly question maybe. but i have a windows xp  i       also have a windows 7 lap top i have seen in another request that all i need is my wireless number but can someone tell me where i have to type in this number on

  • How to send mail to multiple mail address using mail pkg?

    Hi All, How to send a mail to multiple mail addresses using Mail package. I tried by giving multiple mail addresses separated by semicolon(as well as comma) to the To field of the Mail Package structure, it gives Invalid Address error in Message Moni

  • ODI 11.1.1.6.4 - Interface failed at SnpsSqlUnload - Unload source data Step

    Hi Experts - We are getting error during interface execution in ODI 11.1.1.6.4. We are unable to find the root cause. Interface is using customized LKM (LKM SQL to Oracle (SQL*Loader). This LKM is basically connecting to SQLSERVER fetching required r

  • I need help to create  idoc from scrach.

    i need help to create  idoc from scrach.

  • Session Tracking in OAS

    We are using an evaluation copy of OAS 4.0.8.2 .If multiple users log into the site using sessions ,the session value being retrieved is of the user who logged in last. eg Assume x has logged in; session variables are stored for x. Now y has logged i