Trouble with variables

Hi everyone. So, here we go, im about to pull what little
hair Ive got left. I figured out how to accomplish the script, Im
just screwing up somewhere in the execution. Basically, I’m
trying to load a variable. The challenge is that this variable has
3 different values depending on what set its from. To put in
another way, I have variable A, in Sets 1, 2, and 3. I created a
text object to display the information. To choose which set of
data, I have a three buttons attached to the variable “menu
state” Each button either sets menustate to 1, 2 or 3.
To that text object, I simply stated:
Text1 = LAS + menustate.
In my noodle, this should have come out as Text1 = LAS1 (1 is
menustate’s default) However, I keep getting the error NaN
(whatever that means) When I set Text1 = LAS1 it brings up the
correct data from the loaded TXT file. However, when I try to get
to LAS1 dynamically, it insists on the error. Its even worse, If I
say Text1 = “LAS” + menustate, Text1 displays LAS1
instead of the loaded data LAS1.
Any help fellas? Am I just barking up the wrong tree
entirely?
-Alberto

kglad: It appears, I spoke too soon, I created a small test
flash, and your code additons worked great. But now, when I
implemented it in the actual work file...things are going screwey
again.
This is the code specificaly:
numLAScalc = this["LAS_KPI_"+_root.KPIstate+"_value"];
Where numLAScalc is the calculation. This calculation is fed
on the next frame into the text1 variable that displays the info.
The data in the external file is called LAS_KPI_(1 or 2 or
4)_value (example LAS_KPI_2_value)
_root.KPIstate is a variable in the 0 level that buttons
manipulate to switch from set 1, 2, and 4.
I should mention that this code is happening inside a movie
(hence the _root. reference)
By playing around, when I took the "this" part out of the
code, the code worked as it did on my first post: it put all the
variables together into the name of the data variable, but when it
got to the text variable, it refused to display correctly. Only
now, instead of NaN, the error I get (when the code includes the
"this" is "undefined"
any help? Im so close....

Similar Messages

  • Having trouble with variables followed by a period in user defined reports.

    Using SQL Developer 1.0.0.15 on XP.
    The DB is Oracle 10.
    Having trouble with variables followed by a period in user defined reports.
    select * from &OWNER.TABLE_NAME
    I noticed that the "Data Dictionary Reports" use :OWNER
    So I have tried all sort of variations:
    select * from :OWNER.TABLE_NAME
    select * from :OWNER\.TABLE_NAME
    select * from ":OWNER".TABLE_NAME
    select * from ':OWNER'.TABLE_NAME
    select * from (:OWNER).TABLE_NAME
    And every other variation I can think of. This is a simple example, but all my reports need the owner of tables as a variable.
    I assume this is simple, I just have not hit the right combination.
    Thanks -
    Dyer

    Use two points ..
    select * from &OWNER..TABLE_NAME

  • Trouble with variables....argh

    This is the code...
    but it is not calling the variables from the input dialog box...what am i doing wrong....
    it is making me crazy!
    import javax.swing.*;
    public class WuchnerA6
    public WuchnerA6()
    initialInvestment = 0;
    termInvested = 0;
    aBalance = 0;
    aRate = (4 / 100);
    aTerm = 0;
    aInterest = 0;
    public static void main (String[] args)
    WuchnerA6 lwInvestment = new WuchnerA6();
    lwInvestment.dialogBox();
    lwInvestment.aceCompany();
    lwInvestment.getABalance();
    //creating a Method for my dialog box
    public void dialogBox()
         String name = JOptionPane.showInputDialog
              ("Please enter your name.");
         String initialInvestment = JOptionPane.showInputDialog
              ("Please enter your initial investment amount.");
              double lwInitialInvestment = Double.parseDouble(initialInvestment);
         String termInvested = JOptionPane.showInputDialog
              ("Please enter the amount of years to invest your investment.");
              double lwTermInvested = Double.parseDouble (termInvested);
         System.out.println (name + " wants to invest $" + initialInvestment + " for "
                                                                     + termInvested + " years.");
         System.out.println ("");
    //using this method to declare the variables
    public void aceCompany()
         aBalance = initialInvestment;
         aRate = (4 / 100);
         aTerm = termInvested;
    //crate a method to create the random investment
    public void aceTermYears (double ay)
         for (a = 5 ; a >= ay ; a ++)
              aRate = aBalance * aRate ;
              aBalance = aBalance + aInterest;
              aTerm = aTerm + ay;
    public double getABalance()
              System.out.println("Your investment is now $" + aBalance);
              return aBalance;
    private double initialInvestment;
    private double aRate;
    private double termInvested;
    private double aBalance;
    private double aTerm;
    private double aInterest;
    private double aceRate;
    private double a;
    private double ay;

    Thank you
    I've done that but it is still not returning my balance...am i missing some other step?
    import javax.swing.*;
    public class WuchnerA6
    public WuchnerA6()
    initialInvestment = 0;
    termInvested = 0;
    aBalance = 0;
    aRate = (4 / 100);
    aTerm = 0;
    aInterest = 0;
    public static void main (String[] args)
    WuchnerA6 lwInvestment = new WuchnerA6();
    lwInvestment.dialogBox();
    lwInvestment.aceCompany();
    lwInvestment.getABalance();
    //creating a Method for my dialog box
    public void dialogBox()
         String name = JOptionPane.showInputDialog
              ("Please enter your name.");
         String initialInvestment = JOptionPane.showInputDialog
              ("Please enter your initial investment amount.");
              lwInitialInvestment = Double.parseDouble(initialInvestment);
         String termInvested = JOptionPane.showInputDialog
              ("Please enter the amount of years to invest your investment.");
              lwTermInvested = Double.parseDouble (termInvested);
         System.out.println (name + " wants to invest $" + initialInvestment + " for "
                                                                     + termInvested + " years.");
         System.out.println ("");
    //using this method to declare the variables
    public void aceCompany()
         aBalance = 0;
         aRate = (4 / 100);
         aTerm = 0;
    //crate a method to create the random investment
    public void aceTermYears (double ay)
         for (a = 5 ; a >= ay ; a ++)
              aRate = aBalance * aRate ;
              aBalance = aBalance + aInterest;
              aTerm = aTerm + ay;
    public double getABalance()
              System.out.println("Your investment is now $" + aBalance);
              return aBalance;
    private double lwInitialInvestment;
    private double lwTermInvested;
    private double initialInvestment;
    private double aRate;
    private double termInvested;
    private double aBalance;
    private double aTerm;
    private double aInterest;
    private double aceRate;
    private double a;
    private double ay;

  • Trouble with session variables

    Hello, I am a user of cf for a number of years, but only
    lately as of last week have I had the opportunity to work with CF
    8.... wow the changes are quite intimidating. But none the less
    press on is my thought, so now my trouble. Thing I did was to start
    using application.cfc vs application.cfm, as it would appear that
    is how things have come to pass. So I looked around and found this
    code to set session management:
    <cfcomponent output="false" hint="Handles application
    level events.">
    <!--- Set up the application. --->
    <cfset THIS.Name = "AppCFC" />
    <cfset THIS.ApplicationTimeout = CreateTimeSpan( 0, 0, 60,
    0 ) />
    <cfset THIS.SessionManagement = true />
    <cfset THIS.SetClientCookies = false />
    <CFSET request.dsn = "wlaw" />
    </cfcomponent>
    My problem is that while I can define a session variable on a
    page that is not under the SSL cert, my session vars become
    undefined once I land on a page under SSL.
    Am I missing something? I dont recall this being a problem in
    the past. All help is appreciated.
    as to setting the var, it is done on an index page which
    calls another page in a different directory, but under the same
    server,.
    <cfset session.ref="foo">
    the only changes are that the result page or action page if
    you prefer is now under the ssl and the var becomes undefined.
    thank you in advance
    Mike Dooly

    is the object being put in session context serializable.. Also in
              other to avoid any generated classes issues delete all the classes
              whcih weblogic generates as part of deploying the application. That
              should atleast mitigate one explanation for your problem.
              Hope this helps
              ~a
              [email protected] (Gabriel Ornelas De Luna) wrote in message news:<[email protected]>...
              > Hello everyone,
              > I'm currently working with WL 6.1 and I'm having trouble with the
              > persistence of some session variables which are initially created
              > correctly on the server side, and they get lost (null) once the Web
              > clients need to access its value.
              > This is the error which is being written on a log file:
              >
              > <May 13, 2003 3:05:09 PM EDT> <Error> <HTTP Session> <Could not
              > deserialize session data
              > java.io.NotSerializableException:
              >
              > Things were woriking perfectly, but suddenly after bouncing the server
              > instance several times, in order to pick up the latest changes in my
              > classes, I started to get this error once the server tries to load the
              > jsp.
              >
              > JSP Code:
              > <%
              > Integer businessID = (Integer) session.getAttribute("business_id" );
              > Util.isCapitolBusiness(businessID.intValue())
              > %>
              >
              > I appreciate your help.
              > Regards.
              > g.
              

  • Trouble with Resetting Variables

    Hello,
    I have created a series of 5 questions with two possible answers - correct and incorrect. I have created a variable for each, RunCorrect and RunIncorrect and have set them with a value of 0. Additionally I created a 3rd variable called EarnedShield. When the user clicks the correct option, RunCorrect is assigned 1 with an expression of RunCorrect = RunCorrect + 1 and EarnedShield is assigned 1. If they click the incorrect option, RunIncorrect is assigned 1. On the following screen, if RunCorrect is great than or equal to 1, a badge is displayed. If RunIncorrect is equal to 1, then a "sorry" message is displayed and if EarnedCorrect is equal to 1 then a "congratulations" message is displayed. When the user click the Next button, RunIncorrect and EarnedShield are Assigned 0 to "reset".  This allow me to display a badge for each correct answer and no badge for an incorrect answer.
    This works perfectly the first time through the series of questions. However, I need for the user to be able to Try Again after they have been through all 5 questions. Knowing I need to reset the variables, I created an Advanced Action to "reset" them to 0 with Assign RunCorrect with 0, Assign RunIncorrect with 0, and Assign Earned Shield with 0. This is triggered when the user clicks the Try Again button.
    However, the variable do not reset.
    Below is the actual advanced action I am using to "reset" the variable - executed on click of Try Again button. PS, I have also tried to execute this advance action (minus the Jump to Slide) on Enter of the first slide in the series of question. No luck.
    Any help would be appreciated.
    I am using version 6.0.1.240.
    Thank you,
    Susan

    When debugging issues with variable values sometimes the only way to see what is going on is to set up text captions that display a readout of the current variable values at any given slide.  You can add these captions to Master Slides if using them.  Or just add them to the starting slides and set to display for Rest Of Project.  Either way, you need to be able to see what the variables are set to at any moment.  Then you may find that what you thought was working isn't, and what you thought wasn't working is.

  • A trouble with "LIKE" in a select statement

    Hi!
    I'm having trouble with "LIKE" in a select statement...
    With Access I can make the following and everything works well:
    SELECT name, birthday
    FROM client
    WHERE birthday LIKE '*/02/*';
    but if try to do it in my application (it uses Access), it doesn't work - I just can't understand that!!!
    In my application the "month" is always the currently month taken from the "System". Look what I'm doing...
    String query1 = "SELECT name, birthday " +
              "FROM client " +
              "WHERE birthday " +
              "LIKE '*/" +
              pMonth +
              "/*' " +
              "ORDER BY birthday ASC ";
    ResultSet rs = statement1.executeQuery(consulta1);
    boolean moreRecords = rs.next();
    The variable "moreRecords" is always "false", the query returns nothing although the table "client" has records that attend the query.
    Please, anyone can help me?! It's a little bit urgent.
    Thanks,
    Katia.

    Hi Katia,
    I'll bet the problem lies with the characters you're using to escape the LIKE clause. You're using the ones that Access likes to see, but that's not necessarily what's built into the JDBC-ODBC driver class.
    You can find out what the correct escape wildcard characters are from the java.sql.DatabaseMetaData.getSearchStringEscape() method. It'll tell you what to use in the LIKE clause.
    I'm not 100% sure about your code. It doesn't use query1 anywhere. I'd do this:
    String query = "SELECT name, birthday FROM client WHERE birthday LIKE ? ORDER BY birthday ASC";
    PreparedStatement statement = connection.createStatement(query);
    String escape = connection.getMetaData().getSearchStringEscape();
    String test = escape + '/' + pMonth + '/' + escape;
    statement.setString(1, test);
    ResultSet rs = statement.executeQuery();
    while (rs.hasNext())
    // load your data into a data structure to pass back.
    rs.close();
    statement.close();Let me know if that works. - MOD

  • PC T'bird users having trouble with my Mail e-mail with attachments

    Lately a couple of co-workers have had bizarre troubles with e-mail I've sent them with attachments. I'm using Mail on a Mac (10.5.8), they're using Thunderbird on PCs. When I've sent them attachments ("Windows-friendly," attached at end of e-mail), they haven't been able to e-mail me via Reply . . . their font is changed to white on white. Occasionally their whole application will hang, and one person had to do a hard reboot. Only other relevant detail I have is that the mail I send them originates as Stationery, and some of the text is colored. I'm currently working to narrow down the variables, but if that "white on white" issue rings a bell immediately to anyone, I'd be very curious to hear about it.
    Mucho thanko.
    Rob

    After a series of tests with the Thunderbird users, we've established the problem was not:
    Mail/Thunderbird incompatibility
    related to Mail's stationery
    related to styled text
    only because of attachments
    only because of PDF attachments
    Both users had the trouble after I forwarded PDFs to them from two different outside suppliers. So far, my theory is that there was something about those particular files. After five run-throughs where the co-workers had no problems with e-mail from me, I now want to replicate the problem, but (understandably) they're not eager to lose their work time to do it. I'll post more as I learn more.
    Thanks, BDAqua for the ideas about blank lines around the attachment.
    Rob

  • Having trouble with my PHP code. Appers to get stuck on a white page.

    HI all,
    I have just began having trouble with my PHP code. Was working before and haven't made any changes to the code since last time it worked.
    What happens is after the form is submitted it goes to a white page (no text just all white page) and in the address bar it has the path for my php page. what supposed to happen is either it goes to a success page or a error page.
    I've had a problem where the info entered is correct but was directed to the error page. i managed to fix that issue but i am puzzled what is happening to my php page now.
    Mind you that i didn't write this code i just took over the responsiblities of this website and i am hopping that its a quick fix.
    I appreciate any help you could give me. Thank you.
    CODE:
    <?php
       $to = '[email protected]';
          $from = '[email protected]';
            //Make sure we have some info posted from the form...
            if (isset($HTTP_POST_VARS)){
                //Clear the body of the message to be sent
                $body = '';
                //go through all POSTed variables sent
                while (list($key, $value) = each($HTTP_POST_VARS)){
        if($key <> "Submit" && $key <> "submit") {
         $body .= $key . ' = ' . $value . "\r\n"; 
                //Now building mail headers.....
                $headers = "From: ".$from."\r\n";
                //Mail message
                $success = mail($to, "Email Club" . date("m/d/Y"), $body, $headers);
       // CURL stuff.....
       $ch = curl_init();
       curl_setopt($ch, CURLOPT_FAILONERROR, 1);
       curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
       curl_setopt($ch, CURLOPT_TIMEOUT, 4); //times out after 4s
       curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
                 if ($success){
        //readfile('http://www.lvpaiutegolf.com/thankyou.html');
        curl_setopt($ch, CURLOPT_URL,"http://www.lvpaiutegolf.com/thankyou.html");
        header("Location:http://www.lvpaiutegolf.com/thankyou.html");
                else{
                 // readfile('http://www.lvpaiutegolf.com/error.html');
         curl_setopt($ch, CURLOPT_URL,"http://www.lvpaiutegolf.com/error.html");
         header("Location:http://www.lvpaiutegolf.com/error.html");
       // Output
       //$result=curl_exec ($ch);
       //curl_close ($ch);
       //echo $result'";
    ?>

    Insert the install disk and boot from it. Use disk utitlity to repair your drive and check for errors (report any errors back here) then reinstall the os. This should not erase your data.

  • Trouble with first progråµ

    I'm having trouble with my simple calculator, which is similar to the calculator in "cocoa programming for dummies".
    http://public.me.com/schoolkid144
    its firstproject.zip
    The trouble is that when I get the value of the two text fields, it always returns 0 even when the value of both text fields is 1.

    Hi S-T Programmer, and welcome to the Dev Forums!
    The connections between the FuseBox outlets and the three text fields just need to be reversed in Interface Builder. An IBOutlet instance variable is associated with an Interface Builder object by Ctrl-Dragging from the object which owns the variable to the object the variable wants to reference. For example, to connect the FuseBox ivar named answerField to the text field which is to display the answer, Ctrl-Click on the FuseBox icon in the xib window then drag to the desired text field object. The text field object may either be found as an icon in the xib (Document) window, or as the full-scale drawing of the object in the IB Editor window (where you lay out the view). When you release the mouse at the end of the drag, a black list of all the FuseBox class outlets will pop up. Select the outlet you meant to connect (in this case answerField), and the connection will be made.
    The problem with giving IB instructions in the forum is that a picture is worth a thousand words, and this post is on the wrong side of that equation. So I'm hoping you'll be able to see enough of the picture from all these words. There are two other ways of making IB connections that are harder to use, but easier to explain:
    1) If you Ctrl-Click (without dragging) on any icon in the xib window, a floating, black panel will pop up showing every possible connection to that object. To make the same connection discussed above from the answerField outlet to the right-hand text field, Ctrl-Click on the FuseBox icon and find answerField in Outlet list. You can now drag directly from the connector symbol to the desired text field. This time there's no popup when you release the mouse because IB already knows which outlet is to be connected. After the connection is made, you can Ctrl-Click on the text field icon and see its connection panel. You'll know the connection is going in the right direction when the connection to the text field is listed under +Referencing Outlets+ and the connection back at the FuseBox object is listed under Outlets.
    The floating, black connection panels are especially useful for deleting connections. Since your project currently has three backwards connections, you can use these panels to delete those by clicking on the 'X' which is visible on each connection line.
    2) There's also a tab in the Inspector window for making connections. Select one of the objects you want to connect and select Tools>Connections Inspector from the top menu if you have trouble finding the tab. You can make connections in this window if you want, but you can also use the Connections Inspector to view the connections previously made by dragging.
    This topic is covered in more detail (including some screen shots! yay!!) under Creating and Managing Outlet and Action Connections in the +Interface Builder User Guide+.
    I think your connection between the Calculate button and the FuseBox was correct. This post has gotten so long I can't remember if I had to reverse that one too, but I don't think I did. Anyway you'll be able to check for yourself now that you know what to look for, right? The connection between an object's Sent Action and an IBAction method goes in the direction opposite to an IBOutlet connection. Thus to connect the Calculate button you need to drag from the button to the FuseBox.
    _Outlet from_ the FuseBox
    _Action to_ the FuseBox
    Hope that helps!
    \- Ray

  • Trouble with class

    I am unable to figure out what I am having trouble with this, here is the code
    public class Tools3
        protected long item_number;
        protected String product_name;
        protected long units_in_stock;
        protected double price_of_each_unit;
        protected static double total_price_of_inventory;
    public Tools3( long pitem_number, String pproduct_name, long punits_in_stock, double pprice_of_each_unit)
       item_number = pitem_number;
       product_name = pproduct_name;
       units_in_stock = punits_in_stock;
       price_of_each_unit = pprice_of_each_unit;
       total_price_of_inventory = punits_in_stock * pprice_of_each_unit;
    // Overloaded constructor for empty balance
    public Tools3()
       item_number = 0;
    public void set_item_number( long pitem_number )
       item_number = pitem_number;
    public void set_product_name( String pproduct_name )
       product_name = pproduct_name.toString();
    public void set_units_in_stock( long punits_in_stock )
       units_in_stock = punits_in_stock;
    public void set_price_of_each_unit( double pprice_of_each_unit )
       price_of_each_unit = pprice_of_each_unit;
    public long get_item_number()
       return item_number;
    public String get_product_name()
       return product_name;
    public long get_units_in_stock()
       return units_in_stock;
    public double get_price_of_each_unit()
       return price_of_each_unit;
    public double calculate_total_price()
       return units_in_stock * price_of_each_unit;
    public double calculate_total_price_of_inventory(Tools3[] mytools)
       double rettotal = 0;
       for (int i = 0; i < mytools.length; i++)
        rettotal = rettotal + (mytools.get_units_in_stock() * mytools.get_price_of_each_unit());
       return rettotal;
      public void sort_by_names(Tools3[] mytools)
      int a,b;
      int sortTheStrings = mytools.length - 1;
      String tempproduct_name;
      long tempitem_number;
      long tempunits_in_stock;
      double tempprice_of_each_unit;
        //need to implement a bubble sort here
        for (a = 0; a < sortTheStrings; ++a)
      for (b = 0; b < sortTheStrings; ++b)
      if(mytools.product_name.compareTo(mytools[b + 1].product_name) >0)
        //move name
        tempproduct_name = mytools.product_name;
        mytools.product_name = mytools[b+1].product_name;
        mytools[b+1].product_name = tempproduct_name;
        //move item_number
        tempitem_number = mytools.item_number;
        mytools.item_number = mytools[b+1].item_number;
        mytools[b+1].item_number = tempitem_number;
        //move units_in_stock
        tempunits_in_stock = mytools.units_in_stock;
        mytools.units_in_stock = mytools[b+1].units_in_stock;
        mytools[b+1].units_in_stock = tempunits_in_stock;
        //move price_of_each_unit
        tempprice_of_each_unit = mytools.price_of_each_unit;
        mytools.price_of_each_unit = mytools[b+1].price_of_each_unit;
        mytools[b+1].price_of_each_unit = tempprice_of_each_unit;
    //end of tools3.java class

    Results from javac
    C:\Java>javac Tools3.java
    Tools3.java:77: cannot find symbol
    symbol  : method get_units_in_stock()
    location: class Tools3[]
        rettotal = rettotal + (mytools.get_units_in_stock() * mytools.get_price_of_e
    ach_unit());
                                      ^
    Tools3.java:77: cannot find symbol
    symbol  : method get_price_of_each_unit()
    location: class Tools3[]
        rettotal = rettotal + (mytools.get_units_in_stock() * mytools.get_price_of_e
    ach_unit());
                                                                     ^
    Tools3.java:94: cannot find symbol
    symbol  : variable product_name
    location: class Tools3[]
      if(mytools.product_name.compareTo(mytools[b + 1].product_name) >0)
                ^
    Tools3.java:97: cannot find symbol
    symbol  : variable product_name
    location: class Tools3[]
        tempproduct_name = mytools.product_name;
                                  ^
    Tools3.java:98: cannot find symbol
    symbol  : variable product_name
    location: class Tools3[]
        mytools.product_name = mytools[b+1].product_name;
               ^
    Tools3.java:101: cannot find symbol
    symbol  : variable item_number
    location: class Tools3[]
        tempitem_number = mytools.item_number;
                                 ^
    Tools3.java:102: cannot find symbol
    symbol  : variable item_number
    location: class Tools3[]
        mytools.item_number = mytools[b+1].item_number;
               ^
    Tools3.java:105: cannot find symbol
    symbol  : variable units_in_stock
    location: class Tools3[]
        tempunits_in_stock = mytools.units_in_stock;
                                    ^
    Tools3.java:106: cannot find symbol
    symbol  : variable units_in_stock
    location: class Tools3[]
        mytools.units_in_stock = mytools[b+1].units_in_stock;
               ^
    Tools3.java:109: cannot find symbol
    symbol  : variable price_of_each_unit
    location: class Tools3[]
        tempprice_of_each_unit = mytools.price_of_each_unit;
                                        ^
    Tools3.java:110: cannot find symbol
    symbol  : variable price_of_each_unit
    location: class Tools3[]
        mytools.price_of_each_unit = mytools[b+1].price_of_each_unit;
               ^
    11 errors

  • Trouble with a If conditional using string methods.

    Hello Everyone,
    I am having trouble with an If statement. I want to compare a string variable to two values using the or operator. I have found the || may not be applied to string.equals. Would neone happen to have a different method? Code below:
    check = ("C".equals(option)) || ("F".Equals(option));

    jverd wrote:
    Please paste in the exact, complete error message.
    One thing that's definitely wrong is the capital E in your second Equals. I don't know if that's causing the problem though.Also note that, once you get it to compile, if you don't remove the semicolon after the if statement, you won't get the behavior you want.

  • Oracle XML Parser for PL/SQL - troubles with charset

    Hi,
    I'm using Oracle XML Parser for PL/SQL and have some troubles with charset of results xmldom.writeToBuffer and xmldom.writeToCLOB procedures.
    Some tags in my DOM documents contain text values in RUSSIAN (server nls_charset is CL8ISO8859P5). When I write document in varchar2 variable, buffer content is in UTF8 charset ( convert UTF8->CL8ISO8859P5 -OK).
    xmldom.setCharset(doc, 'ISO-8859-5') just after xmldom.newDOMDocument has no effect.
    xmldom.setCharset(doc, 'CL8ISO8859P5') has no effect also.
    Explicit charset direction in third parameter of
    xmldom.writeToBuffer and xmldom.writeToCLOB procedure has no effect.
    When I write document in CLOB, and then read part of CLOB in varchar2 buffer - result contain '?' in place of all russian text characters.
    What's a problem?
    How can I force XML Parser write XML in server charset?
    Oracle XML Parser for PL/SQL v 1.0.2

    I have the same problem. But in my case I am allowed only to use XML Parser for PL/SQL.
    Characterset 'WE8ISO8859P1' is used. And the language is latvian.
    After parsing a XML document and printing its contents, all latvian characters are replaced by "f".
    xmldom.setcharset(doc,'WE8ISO8859P1') has no effect.

  • Trouble with popup not initialized until addPopUp is called

    I am having troubles with initialization.  I have a class given below.  I new() it at the start and use PopUpManager.addPopUp to display it.
    My problem is that the line query:QueryWIthOption id="filterComp" is a class with a lot of variables.  However, if I try to set any of them before I call addPopUp, it doesn't work because filterComp is null.
    I therefore either need to initialize filterComp earlier, store the data until AddToPopup is called, or change the way I am implementing this.  If I store the data in variables, I have to add a whole bunch either to the class below or to the calling class.
    Doing this once is managable, but I have other similar examples with a similar problem. This code was flex 3 before where filterComp was always initialized.
    Is there any good way to do this?  I guess I am interested in both the way to do this in a minimal way, and what is the best way to code to avoid this issue (if I am adding something new in the future).
    Jay
    QueryWithOptionWrapper class:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    xmlns:query="com.niksun.dashboard.components.query.*">
        <fx:Script>
            <![CDATA[
                import com.niksun.common.managers.ResourceManager;           
            ]]>
        </fx:Script>
        <mx:VBox horizontalAlign="center" width="100%" height="100%" paddingTop="5">
            <query:QueryWithOption id="filterComp" showFilter="true"/>
            <mx:HBox width="100%" horizontalAlign="center" horizontalGap="10">
                <!-- enabled="{!ModelLocator.getInstance().progress}" -->
                <mx:Button id="update" label="{ResourceManager.getString('Update')}"
                           horizontalCenter="0"/>
                <mx:Button id="reset" label="{ResourceManager.getString('Reset')}"/>
                <mx:Button id="cancel" label="{ResourceManager.getString('Cancel')}"/>
            </mx:HBox>
        </mx:VBox>
    </mx:TitleWindow>

    I was thinking about what I would want and came up with the following suggested enhancement for Flex 4.
    Add a preinitialize="true/false" type flag for UI type Components that indicates whether to initialize everything like was done in Flex 3, or whether to hold off initialization until used like is currently done.  It would default to false.
    Is there a way I can ask for/suggest this enhancement for a later version of Flex 4? 
    This change would greatly reduce the time needed to convert from flex 3 to flex 4.

  • Trouble with classpath?

    I am having a lot of trouble with my classpath, I think. Whenever I open a html file that I wrote, it shows up class appletName not found. I'm pretty sure I am doing something wrong in my classpath. Here is my autoexec.bat file..
    SET COMSPEC=C:\WINDOWS\COMMAND.COM
    SET windir=C:\WINDOWS
    SET winbootdir=C:\WINDOWS
    SET PATH=C:\j2sdk1.4.2_01\bin;C:\WINDOWS;C:\WINDOWS\COMMAND
    SET PROMPT=$p$g
    SET TEMP=C:\WINDOWS\TEMP
    SET TMP=C:\WINDOWS\TEMP
    SET JAVA_HOME=C:\j2sdk1.4.2_01
    SET CATALINA_HOME=C:\windows\desktop\apache
    SET CLASSPATH=.;c:\windows\desktop;C:\windows\desktop\eclipse\resin-3.0.6\lib\jsdk-24.jar;C:\windows\desktop\eclipse\resin-3.0.6\dob\WEB-INF\classes;
    SET RESIN_HOME=c:\windows\desktop\eclipse\resin-3.0.6
    What am I doing wrong? Please help.. (I do set the values into regestry by opening the system information utility thingy).

    I can't say much about the M$ VM.
    But I'll bet the applet is ignoring that CLASSPATH. It's a useless environment variable.
    You've got to put your Java classes in a JAR, set that JAR equal to the codebase, and put it in the right place on the server. When a user requests the page with the applet, the codebase is downloaded from the server.
    What machine have you set the CLASSPATH on? The server or the client? How would the value on one affect the other? The right thing to do is set up the codebase. - MOD

  • Troubles with installation of 9ifs

    platform Windows NT4
    after installation of 9iFS I do not manage any more to use iFS.
    indeed I do not manage to launch the Oracle Console Management,
    it launch out but disappear at once...
    to install 9iFS I have to pass the patchset Oracle 8.1.7.2
    (patchset
    1882450) to migrate my base Oracle 8.1.7 into 8.1.7.2. this
    installation works fine. On the other hand at the time of the
    installation of 9iFS, during the checking of the variable of
    environment of Oracle iFS, the following error occurred:
    oracle.ifs.utils.action.ActionFailedException: the checking of
    the
    variable of environment CLASSPATH of oracle 9IFS failed, because
    the
    files or repertories following are not found:
    e:/oracle/ora81/jlib/regexp.jar e:/oracle/ora81/jlib/oembase-
    9_0_1.jar
    e:/oracle/ora81/jlib/oemtools-9_0_1.jar
    e:/oracle/ora81/ord/Annotator/lib/Annotator.jar
    to be able to continue the installation of 9iFS, I allowed
    myself to
    put in comment these 4 following lines in the file
    ifsclasspath.cl
    which is in e:\oracle\ora81\9ifs\admin\cl
    so, I could continue the installation of 9iFS, the migration of
    the repository (a little long all the same) was carried out
    without problem. On the other hand I do not arrive at launching
    9iFS by the
    Oracle console Management is there an other solution to
    manage IFS (files .bat or other...)
    I also have troubles with the service NT, Oracle
    oracleEoraHome81ManagementServer, it is very long to launch out
    and it
    stops inopportunely...
    I think that all my problems come to the fact that it miss the 4
    files (oemtools-9_0_1.jar, oembase-9_0_1.jar, regexp.jar...)
    Where I can find these files ? Is there anyone who could give me
    these files ?
    what do you think about it?
    Thanks for helps.

    Do you have binutils-2.11.90.0.8-13 patch installed on your system?
    See page 2-9, section 2.1.14 Installing on Red Hat Linux in the documentation
    "Oracle9i Application Server Release Notes Addendum
    Release 2 (9.0.2.0.1) for AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series
    HP-UX, and Linux Intel
    August 22, 2002
    Part No. B10102-01"

Maybe you are looking for

  • Service Category Error in Create Service Master Record - AC03

    Hi, I'm trying to create a new service master record. When I select  service category "SERV service : purchasing" from the list I get the error "Missing Authorization : Create Service SERV" Please help. Regards, Sriram

  • How to use decode for a not = expression ?

    Hi , i want to use in my seelct query decode( val1 , IF not = 'abc' , sum(val1) how can i express it as a not equal or even a >= in a decode ? kindly advise tks & rdgs

  • Production Order  maintain/change

    Hi, I need to change operations of a production order via RFC. Therefore I found the function "CLOI_CHANGES_UPL_31" but I have no idea how to use this function. Can anybody give me an example how to change (or even better how to add) operations of a

  • White screen - itunes store

    Hi, I have just bought the new iMac, got all excited! Went to itunes store - lets me log in but only have a white screen to look at. Will allow updates to load so connected. I can get into the Apps store from the icon but sooooooo slow ..............

  • "Final Cut Pro generated an error or unexpectedly" Error when using Qmaster

    Hello all I have Final Cut Studio 3. I am using the latest Final Cut and the latest compressor. I have a Core i7 so i am trying to use all 8 virtual threads or at least four. However when I use the "This Computer" option in compressor it is not an is