Urgent Help jdk 1.4.2  JWindow and Text Field

Go thgh this code pls
import java.awt.*;
import javax.swing.*;
class Test1 extends JWindow
     TextField tf;
     public Test1()
          Container contentPane = getContentPane();
          contentPane.setLayout(new FlowLayout());
          tf = new TextField(10);
          contentPane.add(tf);
public class Test extends Test1
     public static void main(String[] args)
          Test1 t = new Test1();
          t.setSize(300,200);
          t.show();
when the above application is compiled and run using jdk1.4 0r above the text field gets disabled. ie nothing gets entered in the text field.
However if i extend JFrame instead of JWindow then everything is fine.
Also note that the same code compiles and runs perfectly on 1.3.1 ie even if i extend JWindow i am able to enter text in text field.
Pls help asap

this works because theres an owner frame behind the window:import java.awt.*;
import javax.swing.*;
class Test extends JWindow
     static TextField tf;
     public Test(JFrame owner)
          super(owner);
          Container contentPane = getContentPane();
          contentPane.setLayout(new FlowLayout());
          tf = new TextField(10);
          contentPane.add(tf);
     public static void main(String[] args)
          JFrame frame = new FrameForWindow();
          Test t = new Test(frame);
          t.setSize(300, 200);
          frame.setVisible(true);
          t.setVisible(true);
class FrameForWindow extends JFrame{}regards,
Tim

Similar Messages

  • URGENT help please. Problem creating Chinese language text field in Adobe LiveCycle.

    A client requested to create an employee details form in which few text fields has to be in Chinese language. I selected "Arial Unicode MS" for that fields. In final PDF I am able to insert text in Chinese text fields in Acrobat. But I cant insert text when i opened the final PDF in Adobe Reader. (only these Arial Unicode MS fields are disabled). All other fields (English) are in Arial font., they are working in both (Acrobat and Reader). As these forms will be distributed to people who may don't have Acrobat and only the Free Adobe Reader. Can someone please advice me how to solve this problem.
    Thank you
    - Amal

    Make sure the format of the date strings provided by the calendar is what you are expecting. Or use the "formattedValue" for the input strings.

  • Get the value from dropdown list (selectedIndex) and text field -- not working

    Hi All,
    I am trying to find and change by the values selected by user using dropdown and text field. Here is the code.
    ChangeRevDetails();
    function ChangeRevDetails(){
              var myDialog = app.dialogs.add({name:"Enter copyright information"});
    //    var monthlist = col1.dropdowns.add('myList', undefined, myList);
              var col1 = myDialog.dialogColumns.add();
              var col2 = myDialog.dialogColumns.add();
        col1.staticTexts.add({staticLabel:"Month:"});
              col1.staticTexts.add({staticLabel:"Year:"});
        col1.staticTexts.add({staticLabel:"Rev. no.:"});
        var myList = [ "January", "February",  "March", "April", "March", "April", "May", "June", "July", "August", "Sepetember", "October", "November", "December" ];
         var myMonth = col2.dropdowns.add({stringList:myList, selectedIndex:0, minWidth:100});//{minWidth:100});
         var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});  
         var MyRev = col2.textEditboxes.add({minWidth:100});
        var RevMonth = (myList [myMonth.selectedIndex]);
        var RevYear = myYear.editContents;
        var RevNumber = MyRev.editContents;
        var RevToReplace1 = RevMonth +", "+ RevYear;
        var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
        var myResult = myDialog.show();
            if(myYear.editContents == "") //entry is ""
            alert("Please enter some text into the contents field.");
            ChangeRevDetails();
            else if(myResult == true) //user entered datas
                alert (RevMonth);
                alert (RevYear);
                alert (RevNumber);
                alert (RevToReplace1);
                alert (RevToReplace2);
                app.findGrepPreferences = NothingEnum.nothing;
                app.changeGrepPreferences = NothingEnum.nothing;
                // grep find/change
                app.findGrepPreferences = app.changeGrepPreferences = null;      
                app.findGrepPreferences.findWhat = "[\\l\\u]+?\\s?\\d{4},?\\s+[\\l\\u]+\\.*\\s+\\d+";
                app.findGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
                app.changeGrepPreferences.changeTo = RevToReplace1;
                app.changeGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
                app.activeDocument.changeGrep();
                app.findGrepPreferences = NothingEnum.nothing;
                app.changeGrepPreferences = NothingEnum.nothing;
        else //implies user clicked cancel
        myDialog.destroy();
    The problem is, it is not taking the value which the user selects from the dropdown and the text field. It takes the default value as "January" and the year is "2013" as both of these values are given as selectedIndex:0 and editContents:"2013". I have compared the coding with some other working scripts as well, but it is not working. I have added several alert boxes to check the value we get.
    Also, the find and change is also not working. Please help me on this. Thanks.
    Regards,
    Muthuraj. D

    Change the order for dialogresults:
    var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});  
    var MyRev = col2.textEditboxes.add({minWidth:100});
    var myResult = myDialog.show();
    if(myYear.editContents == "") //entry is ""
    alert("Please enter some text into the contents field.");
    ChangeRevDetails();
    else if(myResult == true) //user entered datas
    var RevMonth = (myList [myMonth.selectedIndex]);
    var RevYear = myYear.editContents;
    var RevNumber = MyRev.editContents;
    var RevToReplace1 = RevMonth +", "+ RevYear;
    var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
    didn't have a look for the find change problem

  • How to populate image and text field in SQL Server

    I want to populate a table, i.e insert images in a table in SQL Server. I am using Java(JSP/Servlet). Can any one suggest me how to populate the image and text fields in SQL Server...of course, using Java. If possible, could you please give me a piece of code?
    Regards -
    Samit

    Hi,
    Please check the following link for information on inserting images in to sql server database.
    http://www.databasejournal.com/features/mssql/article.php/1475641
    Cheers,
    vidyut

  • Urgent help needed!! Layout table and Draw layout cell dissapeared.

    I need some urgent help. I'm using CS3 but for a while my
    Layout Table and Draw Layout Cell icons appear greyed and can't use
    them at all. Is there any kind soul out there who knows how to fix
    this? I'm going nuts trying all the possible options but none seem
    to work.
    Help please!!!!!!

    > How would you about designing a page without using html?
    You don't. But I don't recall suggesting that you not use
    HTML. I just
    suggested that you use best-practice HTML, no? Or maybe you
    meant to ask
    how you would go about building your site without learning
    HTML? In that
    case, I think you are outta luck. Using DW without knowing
    HTML is a very
    punishing experience, I'm afraid.
    > PS: A virtual box of 12 bottles of Moet Chandon is
    already on your way!!
    I'd prefer Cristal, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Untersberg" <[email protected]> wrote in
    message
    news:g4tj9a$m5o$[email protected]..
    > Ahhhhhh!!!!! They came up!!!! They came up again!!
    > I was on standard mode. Now going back to your
    suggestion, which I really
    > appreciate. How would you about designing a page without
    using html? I'm
    > just
    > redesigning my website at the moment and need it to get
    going urgently,
    > hence
    > the reluctance to start learning HTML at the moment.
    I'll do after but I
    > need
    > to get this up and running fairly quickly.
    >
    > Cheers.
    >
    > PS: A virtual box of 12 bottles of Moet Chandon is
    already on your way!!
    >

  • Help with cfinput radio button and text fields

    I have a series of radio buttons that allow a user to select
    monetary values but I also want them to be able to define an amount
    if they choose so. I was planning on doing this by providing a
    radio button with the value of other and then using a text field to
    allow the user to enter the monetary value. The problem with this
    is that they might enter a user defined monetary value but forget
    to set the radio button to "other".
    I was hoping that I could set the "other" text input field to
    read only until the point that the user selects the "other" radio
    button. Is there a way to do this using onSelect or another method.
    Or is there a better way to approach this problem? Thanks for any
    help or advice in advance.

    Hi,
    You could call a js function which will select the radio
    button "other " when the user types something in(there are various
    events on cfinput). This way the user will not have to worry about
    selecting the radio button and your requirement will be satisfied.
    Hope this Helps.
    Thanks,
    Bhakti

  • Dynamic Forms with Subforms and Text Fields

    I've been reading all of the messages relating to subforms and dynamic forms and have used many of the suggestions, but haven't found anything that addresses the problem I am having. I'm using Designer 7.0. I've saved my form as a dynamic form, I've set my text fields for multiple lines and expand to fit. My problem is that as soon as I set the parent subform to Flow Content, everything moves to the left margin. I've tried grouping items together within a subform in hopes that the items will maintain their position on the page, but everything always moves to the left margin. I'm creating a legal form that needs to have text and a text field centered at the top of the page. Below that to the left is a text field that needs to be able to expand with two text fields to the right of it. Below that are additional text fields that need to expand as needed.
    Am "stacking" my subforms incorrectly and setting the wrong subform to Flow Content? Or, can you now lock a field to a specific position? Any help would be greatly appreciated.

    Unfortunately, I hadn't understood that you needed the fields to expand in height and everything below them to move down the page. In that case, you'll need to use flowed subforms.
    Having all objects move to the left side of the page is expected when setting a subform to flowed. That's because the flow is top-down, left-right.
    One thing you could try is making the text field that needs to be centered exactly as wide as the flowed subform and then setting its left- and right-hand margins to an equal number. This would ensure an equal amount of space on the left- and right-hand sides and because the field would be as wide as its flowed container (subform), entering multiple lines of text would result in everything below moving down.
    I've attached a sample form where the page subform has been set to flowed, the text field at the top is a multi-line/height-expandable text field with its width set to the page width and its left- and right-hand margins both set to 2in and the button and check box objects are pushed below the text field.
    When text is entered into the text field, it expands in height and causes the button and check box to move down.
    To achieve other horizontal and vertical positioning/offsets, you could play with the margins of all the fields that need this.
    Stefan
    Adobe Systems

  • Check box or radio button to control image opacity and text field. javascript

    This is a little over head and skill set so I am reaching out to you fine people.
    I am using Adobe acrobat pro x
    I have radio buttons now but I can switch to check box if needed.
    What I need the Java script to do is...
    If Yes is checked then a text field labeled comments appears and an image labeled box changes the opacity to 100%.
    If No is checked then it does the opposite. Text field disappears and image goes to 0% opacity.

    This is the Adobe Reader forum.  You are more likely to receive a helpful answer if you ask in the appropriate Acrobat forum (e.g. Acrobat SDK).

  • Need help creating actionListener for an array of text fields

    I am working on a school project, so I am very new to Java. I have a program which is basically a unit converter. Each unit type has its own tab. I was able to dynamically create text fields in each tab and now I need to add actionListener to each of those text fields. Probelm is, the text fields are not really unique. I guess they're only unique within their tab. So now I am having difficulty referring to my text fields. If you look at my actionListener in the code below, I am trying to refer to it as unitTFs[0].getText() and that's not working. Please help. Thanks in advance.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class UnitConverter extends JPanel
    public UnitConverter()
    String[] lengthUnits = {"cm","m","inch","feet","yard","mile"};
    String[] areaUnits = {"m2","a","feet2","yd2","Acre","ha"};
    String[] massUnits = {"g","kg","ton","ounce","pound"};
    String[] volumeUnits = {"liter","m3","inch3","feet3","Gallon","Barrel"};
    String[] tempUnits = {"C","F"};
    ImageIcon lengthICN = new ImageIcon("java-swing-tutorial.JPG");
    ImageIcon areaICN = new ImageIcon("java-swing-tutorial.JPG");
    ImageIcon massICN = new ImageIcon("java-swing-tutorial.JPG");
    ImageIcon volumeICN = new ImageIcon("java-swing-tutorial.JPG");
    ImageIcon tempICN = new ImageIcon("java-swing-tutorial.JPG");
    JTabbedPane tabPaneJTP = new JTabbedPane();
    JPanel lengthPNL = tabContents(lengthUnits);
    tabPaneJTP.addTab("Length", lengthICN, lengthPNL);
    tabPaneJTP.setSelectedIndex(0);
    JPanel areaPNL = tabContents(areaUnits);
    tabPaneJTP.addTab("Area", areaICN, areaPNL);
    JPanel massPNL = tabContents(massUnits);
    tabPaneJTP.addTab("Mass", massICN, massPNL);
    JPanel volumePNL = tabContents(volumeUnits);
    tabPaneJTP.addTab("Volume", volumeICN, volumePNL);
    JPanel tempPNL = tabContents(tempUnits);
    tabPaneJTP.addTab("Temperature", tempICN, tempPNL);
    //Add the tabbed pane to this panel.
    setLayout(new GridLayout(1, 1));
    add(tabPaneJTP);
    protected JPanel tabContents(String[] units)
    JPanel tabPNL = new JPanel();
    JTextField[] unitTFs = new JTextField[units.length];
    JLabel[] unitLs = new JLabel[units.length];
    for (int i = 0; i < units.length; i++)
    unitTFs[i] = new JTextField("0");
    unitLs[i] = new JLabel(units);
    tabPNL.add(unitTFs[i]);
    tabPNL.add(unitLs[i]);
    tabPNL.setLayout(new GridLayout(units.length, 1));
    return tabPNL;
    private class CmHandler implements ActionListener
    public void actionPerformed(ActionEvent e)
    double cm, m;
    cm = Double.parseDouble(unitTFs[0].getText());
    public static void main(String[] args)
    JFrame frame = new JFrame("Unit Converter Demo");
    frame.getContentPane().add(new UnitConverter(), BorderLayout.CENTER);
    frame.setSize(500, 500);
    frame.setVisible(true);

    Variables only have scope in the method (or block) in which they are created. That means if you create a variable in one function, you can't use it in another.
    If you want to use a variable in two different functions, you have to make it a member variable.
    [Declaring Member Variables|http://java.sun.com/docs/books/tutorial/java/javaOO/variables.html]

  • Display Text Area and Text field in same line

    All,
    Please help with this scenario.
    I have 3-4 text fields, which are all on NEW LINE. I want a text area adjacent to these 4 fields.
    How to achieve this.
    Thanks and Regards,

    Hi,
    OK - My Textarea item is immediately after the first normal Text item in sequence numbers (the first item is sequence 10 on my page and my textarea item is sequence 15).
    The only settings I changed on my TextArea item are:
    Begin on new line: No
    HTML Table Cell Attributes (Element section): rowspan=4
    This second setting merges together 4 table cells in one column into a single cell
    Andy

  • Conditional validation of date and text fields using javascript

    How can we validate text and date field in sharepoint newform based on a check box.
    i have used validation settings but it do not full fill my requirement.
    i have checkbox with 4 values user can select all four values or can select any of the value. Based on the selected value i need to fire alert on a textbox and date field. Help is much appreciated.

    Hey Dilip,
    You can write your own javascript logic to achieve the same in content editor webpart on newform of list. try below links and let me know if you need further details.
    using jquery validation plugin to validate
    choice filed
    JQuery validation-select required if checkbox checked
    Thanks.

  • Need some help regarding validation of input in a text field

    Hello everyone,
    i am new to all this website designing stuff and is working on my first website (treausre hunt types) and expecting some guidance over here.   :-)
    I have successfully managed to validate the login page using server behaviour.
    Let me explain what i need guidance with.
    After login , the user is redirected to a page where a question is asked and he has to type the answer in the given text field and click on the submit button. Now i want to validate the given answer with the correct one and if it is answered correctly then the user is redirected to the next page.
    the question is what and how am i supposed to do this?  i am using adobe dreamweaver cc and wampserver as localhost.

    This becomes complicated to do it the way you want BUT YOU CAN do it - you just need to be a bit more efficient and get a template together.
    Copy the 4 documents below and paste into seperate DW files to see how this works then look at the code and see if a pattern becomes noticeable to you. What we are doing is adding 1 to each level and checking the user has accumulated a score to that level - if not they are bumped down to the level which they have reached or in the case of not reaching any level to question 1.
    question_1.php:
    <?php
    // Start the session
    session_start();
    ?>
    <?php
    if (isset($_POST['submit'])) {
    $answer = trim($_POST['answer']);
    if(($answer == "Green" || $answer == "green")) {
    $_SESSION['question'] = 2;
    $correct = "<p>Correct Answer</p><p>You will automatically be taken to the next level</p>";
    header( "refresh: 5; url=question_2.php" );
    else {
    $wrong = "<p>Wrong, please try again,</p>";
    ?>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Quiz</title>
    <style>
    p {
    font-size: 20px;
    color:#930;
    margin: 0;
    padding: 10px 0 8px 0;
    </style>
    </head>
    <body>
    <h3>Question 1.</h3>
    <h2>What color is grass?</h2>
    <form id="quiz" action="question_1.php" method="post">
    <label for="answer">Answer<br>
    <input type="text" name="answer" id="answer"></input>
    <input type="submit" name="submit" value="Sumbit">
    </label>
    </form>
    <?php
    if(isset($wrong)) {
        echo $wrong;
    elseif(isset($correct)) {
    echo $correct;
    ?>
    </body>
    </html>
    question_2.php
    <?php
    // Start the session
    session_start();
    ?>
    <?php
    // This sends the user to question 1 if SESSION question has not been set
    if(!isset($_SESSION['question'])) {
    header('Location: question_1.php');
    // This sends the user back if SESSION question is LESS than 2
    if($_SESSION['question'] < 2) {
    header('Location: question_1.php');
    if (isset($_POST['submit'])) {
    $answer = trim($_POST['answer']);
    if(($answer == "Blue" || $answer == "blue")) {
        $_SESSION['question'] = $_SESSION['question']+1;
    $correct = "<p>Correct Answer</p><p>You will automatically be taken to the next level</p>";
    header( "refresh: 5; url=question_3.php" );
    else {
    $wrong = "<p>Wrong, please try again,</p>";
    ?>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Quiz</title>
    <style>
    p {
    font-size: 20px;
    color:#930;
    margin: 0;
    padding: 10px 0 8px 0;
    </style>
    </head>
    <body>
    <h3>Question 2.</h3>
    <h2>What color is the sky?</h2>
    <form id="quiz" action="question_2.php" method="post">
    <label for="answer">Answer<br>
    <input type="text" name="answer" id="answer"></input>
    <input type="submit" name="submit" value="Sumbit">
    </label>
    </form>
    <?php
    if(isset($wrong)) {
        echo $wrong;
    elseif(isset($correct)) {
    echo $correct;
    ?>
    </body>
    </html>
    question_3.php
    <?php
    // Start the session
    session_start();
    ?>
    <?php
    // This sends the user to question 1 if SESSION question has not been set
    if(!isset($_SESSION['question'])) {
    header('Location: question_1.php');
    // This sends the user back if SESSION question is LESS than 3
    if($_SESSION['question'] < 3) {
    header('Location: question_2.php');
    if (isset($_POST['submit'])) {
    $answer = trim($_POST['answer']);
    if(($answer == "Yellow" || $answer == "yellow")) {
        $_SESSION['question'] = $_SESSION['question']+1;
    $correct = "<p>Correct Answer</p><p>You will automatically be taken to the next level</p>";
    header( "refresh: 5; url=question_4.php" );
    else {
    $wrong = "<p>Wrong, please try again,</p>";
    ?>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Quiz</title>
    <style>
    p {
    font-size: 20px;
    color:#930;
    margin: 0;
    padding: 10px 0 8px 0;
    </style>
    </head>
    <body>
    <h3>Question 3.</h3>
    <h2>What color is the sun?</h2>
    <form id="quiz" action="question_3.php" method="post">
    <label for="answer">Answer<br>
    <input type="text" name="answer" id="answer"></input>
    <input type="submit" name="submit" value="Sumbit">
    </label>
    </form>
    <?php
    if(isset($wrong)) {
        echo $wrong;
    elseif(isset($correct)) {
    echo $correct;
    ?>
    </body>
    </html>
    question_4.php
    <?php
    // Start the session
    session_start();
    ?>
    <?php
    // This sends the user to question 1 if SESSION question has not been set
    if(!isset($_SESSION['question'])) {
    header('Location: question_1.php');
    // This sends the user back if SESSION question is LESS than 4
    if($_SESSION['question'] < 4) {
    header('Location: question_3.php');
    if (isset($_POST['submit'])) {
    $answer = trim($_POST['answer']);
    if(($answer == 4 || $answer == 4)) {
    $_SESSION['question'] = $_SESSION['question']+1;
    $correct = "<p>Correct Answer</p><p>You will automatically be taken to the next level</p>";
    header( "refresh: 5; url=question_5.php" );
    else {
    $wrong = "<p>Wrong, please try again,</p>";
    ?>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Quiz</title>
    <style>
    p {
    font-size: 20px;
    color:#930;
    margin: 0;
    padding: 10px 0 8px 0;
    </style>
    </head>
    <body>
    <h3>Question 4.</h3>
    <h2>What  is 2 + 2?</h2>
    <form id="quiz" action="question_4.php" method="post">
    <label for="answer">Answer<br>
    <input type="text" name="answer" id="answer"></input>
    <input type="submit" name="submit" value="Sumbit">
    </label>
    </form>
    <?php
    if(isset($wrong)) {
        echo $wrong;
    elseif(isset($correct)) {
    echo $correct;
    ?>
    </body>
    </html>

  • Auto Populate Drop Down and Text Fields from Other Drop Down and Text Fields

    Hi everyone
    I'm trying to pre populate a "Proposed Employment Status" drop down field with the selection from the "Current Employment Status" drop down field and allowing users to select another option if the proposed employment has changed. If it hasn't it would just remain as populated by the Current Employment Status" entry.
    I'm also trying to do this with text fields eg "Proposed Position Title" is populated with "Current Position Title". If the title changes in the bew employment arrangements users can enter it over the Proposed Position Title that is presented when the Current Position Title is entered.
    I can get it to work if the drop down or text field names are the same, but this doesnt solve the problem.
    Any ideas
    Regards,
    Michael

    Java is a full featured-language and you shouldn't have any problem doing the mathematics, etc.
    As far as the rest, Studio Creator is a relatively easy way to create the user interface that you describe. If supports drop-down selectable lists and standard form capabilities. A Web Application architecture would appear to be ideally suited to what you describe, and this is supported by SC. Be aware that this would require a server to serve the application to the client computer.
    If the server is a problem you could consider an applet that would be downloaded from a website, and then run entirely on the client computer. But the first approach is better.

  • Urgent help needed in creating customer ship_to and bill_to site id

    Hi,
    I am using an api to create customer ship_to and bill_to address, in Oracle OM R12 but the api does not return values. I am including the code so any suggestion will be helpful.
    declare
    l_num_billing_site_use NUMBER;
    l_num_cust_site_id NUMBER;
    l_rec_cust_site_use apps.Hz_Cust_Account_Site_V2pub.CUST_SITE_USE_REC_TYPE;
    l_rec_customer_profile apps.Hz_Customer_Profile_V2pub.CUSTOMER_PROFILE_REC_TYPE;
    l_chr_retcode VARCHAR2(20);
    l_chr_errbuf VARCHAR2(200);
    l_num_count NUMBER;
    begin
    -- fnd_global.apps_initialize (1885, 21623, 660); -- user id, --resp_id (OM Super User), appl_id
    -- mo_global.init ('AR');
    -- mo_global.set_policy_context ('S', 511);
    l_rec_cust_site_use.site_use_code := 'BILL_TO';
    l_rec_cust_site_use.cust_acct_site_id := 24919;
    l_rec_cust_site_use.primary_flag := 'N';
    l_rec_cust_site_use.created_by_module := 'CONVERSION'; -- Change
    BEGIN
    apps.Hz_Cust_Account_Site_V2pub.create_cust_site_use( p_init_msg_list => FND_API.G_FALSE
    , p_cust_site_use_rec => l_rec_cust_site_use
    , p_customer_profile_rec => NULL --l_rec_customer_profile
    , p_create_profile => FND_API.G_FALSE
    , p_create_profile_amt => FND_API.G_FALSE
    , x_site_use_id => l_num_billing_site_use
    , x_return_status => l_chr_retcode
    , x_msg_count => l_num_count
    , x_msg_data => l_chr_errbuf);
    EXCEPTION
    WHEN OTHERS THEN
    FND_FILE.PUT_LINE(FND_FILE.LOG,' Unexpected error creating customer site for Cust Site Id ' || l_num_cust_site_id || ' due to: ' || SQLERRM);
    END;
    dbms_output.put_line('cust_site_use:'||l_num_billing_site_use);
    end;
    Thanks,
    Srinivas
    Edited by: user2138419 on Feb 14, 2010 4:46 PM

    It might be a crossdomain.xml problem.
    Please make sure that the server hosting the xml allows the domain where the swf is hosted.
    You can start with:
    <?xml version="1.0" encoding="utf-8" ?>
    <cross-domain-policy>
        <allow-access-from domain="*"/>
        <site-control permitted-cross-domain-policies="master-only"/>
    </cross-domain-policy>

  • Urgent help needed - RE: 10.4.6 and dvd's/cd's files disappearing

    Hi all,
    I've just upgraded to 10.4.6 on my Powerbook 1.5gHz, 2gb Ram laptop (PPC).
    When I insert a dvd or cd I click on a file and then it just disappears, and sometimes you cannot copy to the desktop either.
    Has anyone heard of this before and can recommend a solution asap?
    This never happened on 10.4.3, and I did the 10.4.6 combo update to 10.4.6.
    Please, please, please help me, as I can't open, copy or read my files on my dvd's. :'(
    I don't know what to do!
    Ash

    Hi m8,
    They are checked by default, and I've repaired permissions numerous times and restarted, yet still the same problem.
    I believe this to be a 10.4.6 issues, as everything was fine in 10.4.3.
    I had to upgrade due to some applications requesting the need for 10.4.6.
    I hope someone out there can help me, as I've read numerous threads in the support, trashed plists for the finder and sidebar and such, but nothing works.
    Cheers
    Ash

Maybe you are looking for