Urgent! Help!!! A bug(?) in Dialog.

Now I know why everyone writes urgent and help in the subject. It makes you feel really good.
Anyhow, I searched the forums (honestly!) but found nothing about this particular conundrum.
When I create a Dialog (the awt kind), it doesn't work as expected graphicswise.
If I create just a simple Dialog and setVisible() it, it isn't drawn correctly until I move the mouse pointer over it. I.e. the borders are drawn, but the Dialog isn't filled, so you see what was on the screen under it. When I move the mouse over it it paints it and then works correctly. If I add components to the dialog, some component behaves this way. So if I add a Button to a Panel, and then add the Panel to the Dialog, the button and the frame are drawn correctly, but the Panel is not. Again when I move the mouse over it, it draws OK. The funny thing is, that when I add a whole bunch of stuff to the Dialog, it's the last added Panel that bugs. A workaround is to create a 1x1 Canvas and add that to the Dialog, but this seems to be a bug.
Maybe I'll switch to Swing after I get rid of this bug.

And since you don't know the answer or probably just don't care, why not make this an underground off-topic thread? I don't really care about Dialogs anyway.
Man...I have a job interview tomorrow. I'll have to make up some stories tonight.
I wonder if they'd be interested in my Dialog problem? Might be worth a try.
I guess I'll be fine, I'll just act natural...or maybe I shouldn't act natural. It could increase my chances. Well, if I get bored I can always play dead until they get annoyed and leave me alone.

Similar Messages

  • URGENT HELP NEEDED!!! iOS8 behaviour!

    We have 2 iPhones (6 & 5s) and an iPad using the same Apple ID. Both are running iOS8.
    When someone calls either of the iPhones BOTH iPHONES RING!!!!
    Yes, you read right, the same incoming call appears on BOTH iPhones at the same time.
    This is obviously totally unacceptable not to mention useless.
    Obviously both iPhones use the same account so that iCal & Contacts can be shared but sharing phone calls?
    Really, I need some urgent help with this bug!!!!

    Hi RexRox,
    Based on your description, it sounds like you may have Continuity enabled, a feature in iOS 8 that allows you to take calls across more than one device (generally aimed at a single person with multiple devices on the same account). You may find the following article helpful, especially the following portion:
    Turn off iPhone cellular calls
    To turn off iPhone Cellular Calls on a device, go to Settings > FaceTime and turn off iPhone Cellular Calls.
    Connect your iPhone, iPad, and iPod touch using Continuity
    Regards,
    - Brenden

  • URGENT HELP NEEDED ... Tomcat Realm and JRE1.4 plug-in problem

    I have tried the Security Realm of Tomcat. Since I do not have
    an LDAP server, I decided to use the Tomcat-users.xml file in
    Tomcat\conf directory.
    I added the following lines of code in the web.xml file.
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Entire Application</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <!-- NOTE: This role is not present in the default users file -->
    <role-name>webviewer</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>Tomcat Manager Application</realm-name>
    </login-config>
    The <role-name> "webviewer" is added into "Tomcat-Users.xml" as the following:
    <tomcat-users>
    <user name="test" password="password" roles="webviewer" />
    </tomcat-users>
    So, now when we type the url: http://localhost:8080/adbpdbre/default.htm, TOMCAT shows a dialog box asking for UserName: and Password:Now, only when we give the username and password, it shows the page. This is exactly what we want.
    But the problem now is, this default.htm page, has 5 links to 5 applets. The first time that I click on one of these links, the JRE plug of 1.4 shows a dialog again asking for the username and password. Till I dont provide the username and password the system doesnt go ahead and applet doesnt load. I do not want the JRE to ask me for the username/passwords again..How to avoid this ?
    Can you give me some more information on this. Ultimately in the production usage, we will be using LDAP and not Tomcat's memory realm.
    URGENT HELP NEEDED ... I need to get back to my client on this.
    Help would be v. much appreciated.

    In the config file, you 're essentially saying that you want Tomcat to prompt for usr/passw on every request (url-pattern = /*) made by a 'webviewer', and that's exactly what Tomcat is doing.
    Consider using specific url-patterns & roles for resources to be protected. If for now, all you need is to protect the first page, use a more specific url-pattern.
    Just an advice : if you'll be using LDAP in production, do not waste time with Tomcat's Security Realm and the BASIC authentication type, since the two have not much in common. Start reading doc on LDAP, and code a prototype, or even better, a vertical slice of the app (i.e a proof of concept).

  • URGENT HELP NEEDED - iPhone 3Gs no longer detected or charged by MacBook

    My iPhone 3Gs (3.1) has been running fine, until several hours ago today, when I plugged it to my MacBook, the iPhone is no longer detected - it doesn't show up in iTunes, nor it is charged. I tried opening iPhoto, and it wasn't there too. Not with Image Capture too. I tried charging it using the out-of-box wall charger using the same out-of-box USB cable I use for MacBook, and it can be charged without any problem. Then I put it into Recovery mode, and there iTunes can see it. I don't want to restore it before I figure out exactly what went wrong, as I don't want the restore process somehow gets stuck in the middle that the connection is lost again.
    I've tried reinstalled iTunes, including completely removal of Apple Mobile Device Support, as instructed by Apple. But still no luck.
    I've tried switching to another USB port of my MacBook. No luck.
    My iTunes is the latest 9.0.1, and my Mac OSX is 10.6.1. My iPhone is on 3.1, upgraded from 3.0.
    I've read from web that it seems I'm not the only one out there having this problem. But none of them seem having any real working solution.
    Urgent help needed & appreciated. Millions of thanks in advance.
    Gary

    1. I used both cables - theirs & mine ... and on several macs
    2. yes, same cable for wall & mac
    3. as said, i did completely remove & install itunes (incl. apple mobile device support), as instructed on the apple webpage
    anyway, did a restore just now. it seems okay now. but the problem is i have no idea what cause this, and i can't replicate the problem. so i don't know when it will happen again ... maybe a bug with os 3.1 ... others on web said os 3.1 is quite buggy ...

  • Urgent Help : S890 Messaging Applicatio​n

    Dear Lenovo,
    there is some serious problem with Lenovo S890 Android stock messaging application....its is extremely slow and its keeps refreshing itself....it take almost 5 min for me to open the messaging application...why does it keeps refreshing itself?....I have almost 300 mb of RAM free, then also it take so much time to get it .
    Request urgent help...since it sould be some software bug
    thanks
    Rajat

    He's talking about everything (all files and folders) in ...\Program
    Files\National Instruments\shared\LabVIEW Run-Time\7.1
    "Joe Guo" <[email protected]> wrote in message news:[email protected]..
    > Dennis, can you explain a little bit? The runtime engine in lv 7.1.1 is
    > an installer.<br><br>-Joe

  • URGENT HELP ! Search did not help !

    *URGENT HELP ! Search did not help !*
    I bought my new iPod classic three days ago and until yesterday it worked OK. Every time I plug iPod to my computer I get message "CONNECTED" and I hear that sound in Windows that is saying that something is connected, but almost amidiadly I get the message "EJECTING" and it ejects. I don't see anything in iTunes or My Computer and everything lasts for a few seconds. I reinstalled Windows, so I'm using a fresh copy without any bugs, well if you can call Windows bug free lol USB port to which I'm connecting iPod is 2.0...
    I can't even see iPod in My Computer - Properties - Hardware - Device Manager.. And when I leave this windows on and then connect iPod I can see that "xx Apple iPod" appears for a few seconds...
    I read that people had similar and same problems, but there is for instance no connected device in Device Menager for me to update and even Disk Mode does not work... I also did not read that someone solved this problem...
    Scould I call them and ask them to get another one or what ?
    PLEASE HELP ! And Thank You...
    Message was edited by: Samael54

    No I downloaded the fix, but it won't not even install.. I sow that that fix was replaced with a new one, so I subscribed to get that fix, but nothing so far, but I remember installing that fix yesterday and it did not help as well.. I will try to get it to some other computer and restore it without iTunes somehow, but I don't know if this is posible or if it does not work with my PC does not mean it will work on some other

  • URGENT HELP BPC Park N Go does not work when VBA Project is protected

    Hi
    I am using NW BPC 7.5 client sp07 and the park n go feature show a dialog box with the message to disable VBA Protection but I need the protection, is there a work around.
    Urgent help project is meant to be signed off today.
    Thanks

    Hi
    Yes we are using native excel protection but having it protected in excel or not has no effect on the vba project being locked and the trust access with vba option is enabled, the MS version worked with vba password but only after we unlocked it and took the files offline n then online again to get the temp files added to the vba project n then protected it again.  This workaround does not work in NW.
    Thanks for your replies.

  • Need Urgent Help. ORA-12500 with no reason

    I need urgent help.
    I have 8.1.7.2.1 on Win2K.
    I get ORA-12500 error when trying to connect oracle instance. This problem begin to arise only when number of sessions reach a number about 200. At the same time there is no definite boundary for it. Once it happened when there were 216 session, then 196, then 206.
    There rarely (1/100) I get ORA-12514 and after again ORA-12500. Once I got ORA-12600.
    What it might be you think? It can't be a problem in listener.ora or in tnsnames.ora because it works fine if number of sessions is about 100. It tried to restart tnslistener (from lsnrctl and the service) and restarted database (but not the service). I did it different in sequences, but didn't help. What should I do? Is it a known bug?

    I need urgent help.
    I have 8.1.7.2.1 on Win2K.
    I get ORA-12500 error when trying to connect oracle instance. This problem begin to arise only when number of sessions reach a number about 200. At the same time there is no definite boundary for it. Once it happened when there were 216 session, then 196, then 206.
    There rarely (1/100) I get ORA-12514 and after again ORA-12500. Once I got ORA-12600.
    What it might be you think? It can't be a problem in listener.ora or in tnsnames.ora because it works fine if number of sessions is about 100. It tried to restart tnslistener (from lsnrctl and the service) and restarted database (but not the service). I did it different in sequences, but didn't help. What should I do? Is it a known bug? bash-2.03$ oerr ora 12500
    12500, 00000, "TNS:listener failed to start a dedicated server process"
    // *Cause:  The process of starting up a dedicated server process failed.
    // The executable could not be found or the environment may be set up
    // incorrectly.
    // *Action: Turn on tracing at the ADMIN level and reexecute the operation.
    // Verify that the ORACLE Server executable is present and has execute
    // permissions enabled. Ensure that the ORACLE environment is specified
    // correctly in LISTENER.ORA. The Oracle Protocol Adapter that is being
    // called may not be installed on the local hard drive. Please check that
    // the correct Protocol Adapter are successfully linked.
    // If error persists, contact Oracle Customer Support.
    There is not enough info to go on but the problem seems to be either in the listener.ora
    or tnsnames.ora. Did you make any changes before this started occurring?
    William

  • Urgent Help In ABAP

    Hi Gurus,
    Please i need an urgent help from you guys. There is a demand file which consits of (Siteno(plant), Item No ,Item Description, Delivery due date) will be placed in a unix system or windows system. I need to write an interface which shows a radiobutton for unix & windows and fileupload button & download button.When user clicks should be able to select only one radiobutton (unix or windows) to upload or download.When the user clicks the fileupload / download button,it should pick up the file or drop the file at particular unix or windows system.
    Please help me or give me sample code where in i can select the radiobutton and i can upload / download from unix or windows path. and during upload process (for both unix/windows) ,i should be able to persist into a custom table (ztable,if iam not wrong) and while downloading read the records from custome table and create an excel file to be placedon unix/windows based on the radio button.
    Thanks in advance, i need ur help please.
    Regards
    Bruno

    Hi Bruno,
    Please checkout this code sample
    ABAP code for uploading a TAB delimited file into an internal table.
    The code is base on uploading a simple txt file.
    <b>
    http://www.sapdevelopment.co.uk/file/file_uptabpc.htm</b>
    Thanks,
    Aby

  • URGENT HELP NEEDED (Bios Settings Failed)

    Hey Guys,
    I am having problems with my MSI Board, and don't know what to do.  I am very much a noob to BIOS/and modding so I apologize in advance.  You guys helped me a few months ago getting everything up and running and all was great for months.  Then last night I walked away from my PC for a while and when i came back a starting screen was on saying my OC Settings Failed to load, i tried other versions I saved and they all failed as well.  I ended up loading failsafe options, and got the "double start" where the computer turns on, then instantly shuts off, then turns on again.  This allowed me to load windows 7, which then started to "install updates".   So i think while i was away Windows automatically updated and rebooted... but would that effect my BIOS settings?
    As I said, I had my system running perfect for months no errors or crashes at all based on the Bios setting you guys help me with in this thread:  https://forum-en.msi.com/index.php?topic=147854.0
    However, last week I removed the heat sink and installed this cooler:  http://www.newegg.com/Product/Product.aspx?Item=N82E16835181010&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Water+Cooling-_-Corsair-_-35181010
    All I did was unhook everything from the MB, install the cooler, and then hook everything back up to the MB.  The only thing I may have done wrong is not connect the SATA devices (my HDs and ROMS) back in the spots they were in originally.  However after I installed the cooler, they system booted right up, and I haven’t had any problems with my system for the past two weeks.  I also should note I didnt make any BIOS changes either after I installed the cooler.  So I don’t know if I should have done something there.   Yet, like I said the system has been fine for the past two weeks, no crashes or errors... it wasn’t until last night after Windows auto updated that this has begun.
    The reason I need "URGENT HELP" is because of course I just a new job with deadlines due and so much video editing work I need to do.  I would be fine leaving it on failsafe settings, and forgetting the OC setting all together if I new that would make the system stable.  But considering its still doing the "double start" even in failsafe mode, im afraid if i start working my system will crash.
    So I am begging anybody for any advice or help they could provide.  I will provide my system info below.  If anybody can guide me as to what settings I should set in BIOS i would appreciate it.  Or perhaps there’s a BIOS update that I should use now that I have a cooler and not a heat sink?  If you need any more information from me, just ask.  I will be monitoring this thread all day, as I desperately need help.
    MY SYSTEM: 
    Intel 980X chip running Win 7 64bit (with MSI BigBang xPower MB installed in my old Dell XPS 730X)
    (1) SATA II WD 3gb Hard Drive @ 1.5TB
    (2) OCZ SATA II SSD drives @120GB: http://www.newegg.com/Product/Product.aspx?Item=N82E16820227543
    (2) Hitachi 6gb SATA III drives @2TB: http://www.newegg.com/Product/Product.aspx?Item=N82E16822145473
    3 DVD/CD/BLUERAY DRIVES:
    1 SATA DVD DRIVE
    1 SATA BlueRay Drive
    1 SATA CD Drive
    (So 8 SATA Devices Total)
    24GIGs of this ram: http://www.newegg.com/Product/Product.aspx?Item=N82E16820145321
    1 NVida Geforce GTX 470
    1 Soundblaster X-Fi Titanum Card
    New Addition Water Cooler:  http://www.newegg.com/Product/Product.aspx?Item=N82E16835181010&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Water+Cooling-_-Corsair-_-35181010 

    PROBLEM:  My OC BIOS setting wont load.  Even on failsafe i get the "double start".  I want to get back to my OC (stable) settings.
    UPDATE:  Since I posted somebody messaged me mentioned I should have "reset the CMOS" after I installed the new cooler.  So I did that, and now they system starts fine without the "double start".  I am able to load one of my saved OC settings now as well (but any others causes a failure).
    NEW QUESTIONS: 
          1.  Since I reset the CMOS and now the system is starting fine on my last OC settings, is it safe to assume the sytem is stable for now? 
          2.  I never made any power changes or BIOS changes after I installed the new cooler.  Should I have?
          3.  After I reset the CMOS was I soupposed to reinstall the drivers from the MSI disk again?  I did not, and the system seems to be fine, but I thought I was soupposed to do that after a CMOS reset.
          4.  Is there a new BIOS version for my setup that may be better now?   Im currently on v1.5
    Here is a screenshot from CPUZ of the system information currently.  This is with it booting normally after my CMOS reboot.  I just figured id post it incase it helps with any of my questions.  Thanks so much for helping guys!

  • [URGENT HELP NEEDED] Premiere Pro CS6 failed rendering

    Hello!
    I`ll try to make this quick because I need help asap. I`ve been starting to make YouTube gaming videos 3 weeks ago and my channel is growing up pretty fast. I promised I would make a video everyday but it`s been a full week since I couldn`t upload because I was busy and when I tried to render it failed.
    Anyway here`s how it goes.I`ve recorded with fraps some gameplay footage with the resolution of 1360x706. One of my friends reccommanded me Adobe Premiere Pro for editing so I`m using the trial version of CS6. I create a new project and choose a format of 720 25 (cant really remember the exact name). I then import my recorded files and when I place them in the sequence it tells me the resolution is different and asks me if I want to change the sequence settings according to the files. Usually, I ignore it and when I export the Media I just tick the option: "Scale to Fill" and that usually works just fine, quality HD on YT...
    But this week it has driven me crazy, I really don`t want to explain how much stress and dissapointment this has caused to me because I think I`ll end up raging...I`ll just tell you I`ve been trying for a couple of days more than 7 time to render the project(each time it takes about an hour and a bit more, so let`s just call it 7 hours wasted). The problem actually is that when I check the output file after exporting the media, the file size is ONLY 24 bytes!!! Other times the file size gets to like half of the one that should be or less, but mainly the render even so takes up a normal length of time of processing but in the end the file is only 24 bytes..Thing is I don`t encounter any error whatsoever...
    I really need some urgent help!
    Thanks!

    1st, some FRAPS information
    These are for Premiere Elements, but may help with PPro
    Fraps & Elements http://forums.adobe.com/thread/871095
    -and more Elements http://forums.adobe.com/thread/943772
    -and yet more Elements http://forums.adobe.com/thread/967201
    2nd, it is REALLY better to have your project sequence match your video
    Please NOTE that the PPro CS6 screen may look a bit different (I use CS5)
    For CS5 and later, the easy way to insure that your video and your project match
    See 2nd post for picture of NEW ITEM process http://forums.adobe.com/thread/872666
    -and a FAQ on sequence setting http://forums.adobe.com/message/3804341

  • URGENT HELP NEEDED!!! (Almost a matter of life and death)

    Well, it's more of a matter of failing a course or not...
    Anyway, my Java professor gave us some labs to do. I know Java front and back, at least, whatever version I learned a few years back. This is my first tenure with the Scanner object, and it's messing me up.
    I'm using Eclipse for my project. I have three files in the source folder, ABC_Manufacturing.java, mseast.dat and mswest.dat. Now, when I try to instanciate a new Scanner object, it won't find the files:
    Scanner east = new Scanner(new FileReader("mseast.dat"));
    Scanner west = new Scanner(new File("mswest.dat"));
    I'm trying two seperate ways to do this. Neither are working, this is the error I get:
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
         Unhandled exception type FileNotFoundException
         Unhandled exception type FileNotFoundException
         at ABC_Manufacturing.main(ABC_Manufacturing.java:38)
    Now, I added these files OVER and OVER again. I added them. I created new files and pasted the contents in there. I used .txt files. All the same error. It's like it just won't take the time out to look for the files that are RIGHT IN THE DAMN PROJECT! Then I tried using a complete path, using C:\Java\whatever. SAME ERROR!!!!
    Please, I need urgent help. This is due tomorrow at noon, and I have no idea what to do at this point. I can't really continue, because at this point its just looking at what prints out and formatting it, and I don't want to do that without testing to see if my code to convert the file data into arrays work. You dig? Thanks for any and all help, and I'm going to kill my professor...she spent a week going over parallel arrays but did nothing to show us how to import files into projects or use the scanner class. Also it doesn't help that at uni we have to use emacs, which I don't use at home.

    d00erino wrote:
    This is the the main class, so far:
    public static void main(String[] args)throws IOException
              Scanner west = new Scanner(new File("mswest.dat"));
              int [] eastParts = new int[13];
              int [] eastQuant = new int[13];
              int [] westParts = new int[17];
              int [] westQuant = new int[17];
              System.out.print(west.nextInt());
    And I didn't ignore that one guy (sorry, don't remember your username) I tried you and the other guy's responce. Both didn't work. I dunno how to get around errors. Figures, you don't learn that in the course but she'll spend a week on parallel arrays...Ok, well that can't possibly be complaining with the same error message you got before, so now you need to be (more) specific about what "didn't work" means.

  • ****URGENT HELP NEEDED**** unable to print on metalic silver paper

    I am in DESPERATE need of help.
    I am trying to print on silver metalic paper using my Photomart C3180, but it wont print.  It will printon white paper but not this stuff.  I need urgent help as I am trying to make my own wedding invitations that i have to post out at the end of the month.
    ANY help would be so greatfully received.
    Thank ou
    Kate

    plz try to download the following set of drivers from the link below :::\
    http://gimp-print.sourceforge.net/MacOSX.php3
    This is a new set of default drivers and mayhelp u in resolving the issue.
    Plz do run disk first aid after installing the driver....might suggest even before installaing.
    Thanx !! for trying.

  • Urgent Help Needed: ATI Graphics Card install

    Hello All.... I am in need of some urgent help..
    I am trying to install a new graphics card - the ATI Radeon 9600 SE. I currently have a Voodoo3 card. I followed all of the instructions step by step, but when I plug the monitor to the Radeon card and boot up, I do not get any display. I have tried everything I can think of, and yet - I am sure the card is secured in place and the monitor is plug into the card.
    Can anyone help me on this one.. ATI's support is, well - lacking..
    Here is some info on my pc:
    MCI motherboard
    AMD Athlon(tm) XP 2000+ 1.7 GHz
    768 MB
    AMIINT - 10 Version 1.00, 07/10/02
    Could the problem be with switching from a regular PCI card to an AGP card???

    Quote
    Originally posted by southmike
    okay i'll bite what are omega drivers,
    how are they different from cat4.2 drivers
    i was suprised that the voodoo 3 would work in a AMD64 mobo...
    whoops....just read the rest of the post :lol:
    BTW is there an external power connector that needs to be plugged in?

  • Urgent help needed... PL/SQL Insert statement

    Hi...
    I need some urgent help on this project. I have a 2 column table with values that need to be inserted into another existing table which has a sequence.
    This is the 2 column table:
    FUND YEAR
    29587 05
    29587 07
    Existing table:
    Name Null? Type
    LIST_ID NOT NULL NUMBER(6) -- This is a sequence
    WEB_USER_ID NOT NULL VARCHAR2(10)
    RESOURCE_TYPE NOT NULL VARCHAR2(8)
    LIST_TYPE NOT NULL VARCHAR2(10)
    LIST_NAME NOT NULL VARCHAR2(50)
    LIST_CODE_1 NOT NULL VARCHAR2(6) -- FUND from table above
    LIST_CODE_2 NOT NULL VARCHAR2(6) -- YEAR from table above
    LIST_CODE_3 NOT NULL VARCHAR2(6)
    LAST_UPDATED_DT NOT NULL DATE
    LAST_UPDATED_BY NOT NULL VARCHAR2(10)
    LIST_CODE_4 NOT NULL VARCHAR2(20)
    The columns from table 1 (FUND, YEAR) correspond to columns (LIST_CODE_1, LIST_CODE_2) in table 2. The column LIST_ID is a sequence. I can put in sysdate for LAST_UPDATED_DT and my initials SN for LAST_UPDATED_BY. This is going to be for 2 unique WEB_USER_IDs which would be in the WHERE clause. I will be inserting 2200 rows for each id. A single insert statement would look like this -
    INSERT INTO EXISTING_TBL (list_id,web_user_id,resource_type,list_type,list_name,list_code_1,list_code_2,list_code_3,list_code_4,last_updated_dt,last_updated_by) VALUES ('470027','WEBUSER','GL','FUNDFYF',' FUND BALANCE SUM','12010','01',' ',' ',{ts '2010-5-19 10:16:9'},'SN')
    How would I do this to insert the 2200 values from my 2 column table to the existing table?
    All help is greatly appreciated!!
    SN

    Hello ,
    I think this will work
    INSERT INTO TABLE2
         LIST_ID,
         WEB_USER_ID,
         RESOURCE_TYPE,
         LIST_TYPE,
         LIST_NAME,
         LIST_CODE_1,
         LIST_CODE_2,
         LIST_CODE_3,
         LIST_CODE_4,
         LAST_UPDATED_DT,
         LAST_UPDATED_BY
    SELECT
         SEQ.NEXTVAL,
         FUND,
         YEAR,
         <VALUE FOR RESOURCE_TYPE>,
         <VALUE FOR LIST_TYPE>,
         <VALUE FOR LIST_NAME>,
         <VALUE FOR LIST_CODE_1>,
         <VALUE FOR LIST_CODE_2>,
         <VALUE FOR LIST_CODE_3>,
         <VALUE FOR LIST_CODE_4>,
         SYSDATE,
         'SN'
    FROM
         TABLE1
    REGARDS
    Rahul Sharma

  • Urgent help needed for XML Tags using XMLForest()

    Folks
    I need some urgent help regarding getting use defined tag in your
    XML output.
    For this I am using XMLElement and XMLForest which seems to work fine
    when used at the SQL prompt but when used in a procedure throws and error
    SQL> Select SYS_XMLAGG(XMLElement("SDI",
                                       XMLForest(sdi_num)))
         From sdi
         where sdi_num = 22261;- WORKS FINE
    But when used in a procedure,doesnt seem to work
    Declare
        queryCtx  DBMS_XMLQuery.ctxType;
        v_xml     VARCHAR2(32767);
        v_xmlClob CLOB;
        BEGIN
        v_xml:='Select SYS_XMLAGG(XMLElement("SDI",
                                             XMLFOREST(sdi_num)))
        From sdi
        where sdi_num = 22261';
        queryCtx :=DBMS_XMLQuery.newContext(v_xml);
        v_xmlClob :=DBMS_XMLQuery.getXML(queryCtx);
        display_xml(v_xmlClob);
    End;
    CREATE OR REPLACE PROCEDURE  display_xml(result IN OUT NOCOPY CLOB)
    AS
         xmlstr varchar2(32767);
         line varchar2(2000);
    BEGIN
         xmlstr:=dbms_lob.SUBSTR(result,32767);
         LOOP
         EXIT WHEN xmlstr is null;
         line :=substr(xmlstr,1,instr(xmlstr,chr(10))-1);
         dbms_output.put_line('.'||line);
         xmlstr := substr(xmlstr,instr(xmlstr,chr(10))+1);
         END LOOP;
    end;
    SQL> /
    .<?xml version = '1.0'?>
    .<ERROR>oracle.xml.sql.OracleXMLSQLException: Character ')' is not allowed in an
    XML tag name.</ERROR>
    PL/SQL procedure successfully completed.
    SQL>HELP is appreciated as to where I am going wrong?

    Hi,
    if you want to transform something to something else, you should declare, what is your source.
    I would prefer to use plain XSL-Transformations, because you have a lot more options to transform your source and you can even better determine, how your output should looks like.
    Kind regards,
    Hendrik

Maybe you are looking for

  • Safari 3.1.1 is very slow.

    Not sure if this is the best place to post this problem. If not, would appreciate advice on where to go. My problem -- I downloaded the new 3.1.1 Safari the day it came out and every since, it's been like having dial up. Loading pages, doing anything

  • Counter in column GUI ALV GRID

    Hello every one, I have a alv grid, and i have a column where i need to put a counter in the cell, so every time a new row is added, the cell of that column will be incrementing in a number and show it in the cell automatic. Im new in abap, so i hope

  • Javascript Code to Print Multiple Page Ranges in Acrobat

    Hi All, I am very new to Javascript (used it for the first time this morning) and was looking for some help. I have built a fillable pdf form in Acrobat that I am required to print on a very regular basis. However, when I print it, there are only par

  • Web Design Qualifications, Why Dreamweaver and Hosting Companies

    What a wonderfully lovely forum! Thank you for the information – was most helpful! (See thread 'Bugs, Viruses and Webdesigners') Have since carried out a little more research and with everything in mind, I have decided to give doing my own website an

  • DataSource  Not being activated

    All; I replicated WBS Element hierarchy datasource but it still shows up as modified. Also on transfer rule, When I click change the activation icon is gray. I can not activate transfer rules either. they are in saved status. How can I activate trans