Children in double VM listed

I'm having a problem where, when I have a vAppTemplate of load and watch the kids (GetChildren) I see two of each virtual machine.

Small example:

VappTemplate has 3 VM inside.  ServerC, ServerA, ServerB,

foreach (VappTemplate vm in the model. GetChildren())
{

Console.WriteLine (vm. Reference.Name);
}

Output:

ServerA

ServerB

ServerC

ServerA

ServerB

ServerC

Looking at the Vm returned in detail - they are exemplary.  I get two back.

Ideas?  Or is this a bug SDK?

(SDK 1.5 1.5 VCD)

Hello

You accidentally call the VappTemplate-> GetChildren() several times.

I think it is adding to the list for each method call.

Kind regards

Rajesh Kamal.

Tags: VMware

Similar Questions

  • My downloads does not open in the download (double click) list - how to restore this function?

    I didn't have this problem before, but the photos recently downloaded from the my phone Blackberry for HP Photo necessary. This would cause the problem?

    Downloads from the download list opens:

    Manager downloads ("Ctrl + J") looks more like a log of downloads, it does not check that the download still exists. Make sure that you are the program installation to download on its final location, not in the temporary files which cleans the browser or CCCleaner or something designed to clear temporary files.

    Tools > Options > general > downloads:...

    Tools > Options > privacy > [x] do not forget the download history

    Don't wipe your history to download automatically, but have much there whether they exist or not, can slow down Firefox at least it was a question:

    http://img232.imageshack.us/img232/4928/clearcachew.PNG

    Can be complementary on: configuration settings in addition to the foregoing.

  • Double Twains listed when scanning bank cheque

    When I scan a check to my Bank, I wonder to choose among two twains for my Photosmart 7520:

    Photosmart HP 7520 Twain...

    WIA - HP Photosmart 7520 series...

    I always choose the first, but would like to remove one, so I don't have to make a useless selection. The Bank (BECU) had not heard of this problem before and suggested looking online to find answers. Anyone had this issue before, or know how to fix it? The list of drivers for the printer include HPScanTRDrv_PS7520.dll and HPWia2_PS7520.dll. If one of them be removed?  Thank you.

    Using Windows 7 64 bit. Does not happen I scan a document on the desktop. The Bank has an online filing procedure. When I click to scan, a window opens asking to select one of the two drivers, who seem to be listed in the Control Panel Device Manager Imaging devices driver Details. I have not had this problem before 2 weeks ago. I restarted the desktop computer and the printer.

    As I finished the above, I decided to try another analysis of the Bank. Instead of using existing scan settings, I decided to redo these settings, which included by selecting the twain. Once completed, the scan worked properly. I also tried another scan by using the same parameters, and it succeeded. So, it looks like a previous run to select the settings somehow did not twain, then one of the two asked again. Sorry, I would have thought of this possibility.

    So this post should be marked resolved. But thanks for the answer which helped eliminate things and point me in the right direction!

  • Why doesn't control parental MS show zero (or scratch2cash) in Restrictions of App list that prevents me from setting to 'Allow' app for my child?

    MS parental control blocks the child from scratch, encoding software but I can't put it to "Allow" as zero (or scratch2cash) application is not indicated in the list of Restrictions of the App.

    I am running Windows 7 64 bit.

    Recently downloaded scratch2cash and it can work under my usual login i.e. parent. Scratch2cash appears on the desktop when my daughter connects but requires parental consent when she double-clicked on it. I welcomed access directly on the screen using my password to allow access that scatch2 does not always work. I have also connected to Family Safety to define application scratch2cash.com on 'Allow', but as above it does not appear in the list.

    It's to do with other restrictions, that I set as follows?

    Web filtering - value: can see sites and websites suitable for children on the green list. Note that Google browser is disabled at the moment.

    -Time: off

    Restrictions of App - value: can use many applications with a few exceptions.

    Store Windows and set - value: can use of games rated 7 +.

    Would appreciate help please.

    Thank you.

    Hello

    You could deal with this problem due to the filter you defined, I suggest to remove the filter for the apps and check if still face you this problem.

    Let us know the status of the issue.

  • context menu of files lists apps twice

    In some cases I don't want to use the application allocated to a type of files. E. g. opening a PDF with adobe reader, but adobe acrobat professional.

    To do this, I place a right-click for the shortcut menu; Then, I select the application you want in the list.

    But each app is listed twice for several weeks. I have no glue, what to do. And since I realized this, it happened by chance that I have to wait s until you get the context menu.

    I don't know, but it is possible that this strange behavior is presented after the last update of El Capitan. This update caused a system blocked; I could not connect as a user more. I solved this problem blocked by resettlement El Capitan.

    My system: MacBook Pro 13', El Capitan, 1Toctet HARD drive at the end of 2011.

    Same behavior after reinstall El Capitan.

    Same behavior using SSD 1 TB (Samsung 850 Evo, CCC-clone)

    Same behavior from Mo via external HDD or SSD (CCC-clones, attached via USB).

    Any idea to solve this problem of double apps listed in the context menu?

    Thanks in advance!

    Lit-Serv

    Boot mode safe.

    http://support.Apple.com/kb/PH11212

  • Double Master page has not not as expected

    After the two video review and a tutorial written on Muse - specifically the creation and function of the duplicate Master Page - I can't understand what I'm doing wrong.

    Most of my site is built on a single master, but I want a single page to appear a little differently. I clicked on the page master and choose "duplicate" and began the process of tweaking the duplicate. After finishing, I applied the collective duplicate to one of the pages of the site that I had seen and read in the tutorials. Unfortunately, I discovered that my changes in double was emulated in the original even if double "masterless" listed. This is contrary to what I've just seen and read.

    What Miss me?

    Thank you.

    I was not able to reproduce the behavior using Muse CC 2014.2

    This is the behavior I see:

    • When I right-click and duplicate a master (say A-master), a new teacher named A-master copy is created.
    • I then edit the newly created master (A-master copy)
    • Apply A-master page to copy a page of the site and all the formatting of the A-master copy is applied to the page of the site.
    • The page of the master, to indicate what master page displays [A-master copy] as badge site is applied.

    The only thing I can think is that maybe more properties have been applied to the web page itself which override the options of the master page that you applied?

    Try the following:

    • Right-click on the problem page and see if there is the option to reset the Page Properties . What happens if you select this option?
    • Otherwise, there are objects that have been added to the problem page? In Design view (View menu), view the layers panel, expand all the layers (select the triangle to the left of the layer name) and see if there are objects that might interfere with the display of the master page objects.

    If the foregoing is of no help, would you be able to provide some screenshots of the behavior you're seeing? That could help us to acknowledge what is happening.

    CARI

  • @LIST help - goal?

    Hello

    Looked TechRef and can't always understand what is the purpose of @LIST. Here's the Calc. Why the @LIST?

    DIFFICULTY)
    @LIST (@CHILDREN ("Input hypothesis"), @CHILDREN ("health care premiums")),
    [CurrCompany], [CurrVersion], 'No entity', 'No Profit Center', 'No_Category', 'no employees '.
    )

    DATACOPY 'Forecasts' to THE 'Budget ';

    ENDFIX

    Hi again,

    Why is she even said here?
    No reason, you can simply delete and will see even lead

    It is just the list of children of the two stacks?
    Yes

    Why not just fix on these children and remove the @LIST?
    No reason specified.

    so not possible to estimate the original intention, why it is coded like that, but it is still correct in syntax and semantics. CORRECTION controls expects "A member name or a list of members from any number of database dimensions" in all cases.

    Kind regards
    Ahmet

  • ITunes authorization

    When I tried to sync my iPhone6 with ITunes, he kept saying that my computer was not authorized, then when I tried to allow it, he said that it was already authorized.  Then he asked a password for a computer, I had when he there was that dial-up networking.  Something is not.  After synchronization, my music had many double reading lists, but some of them had only one or two songs.  I cancelled all computers and it has so authorized, but he still asked me to authorize the computer.  I would hesitate to connect my iPhone to the computer, because iTunes is so strangely at this stage.  Is anyone else having these problems?  I tried the cat with the support, but they did not understand what was going on.

    You have only the content of an account in the library iTunes from the computer, and you have tried: If iTunes prompts to authorize your computer when you try to read purchases on iTunes Store - Apple Support ?

    If you say that if you use a PC or a Mac, what version of the OS (and iTunes) is on it, I could ask for your message to be moved to the iTunes for Windows or iTunes for Mac forum here

  • Chart how many plots with wpf chart

    This is probably a very basic question, but I can't understand how the chart more than a set of data with the chart WPF in VS2010.  There is a DataSource property on the chart, but I don't see the same on each class of land.  I can't find any documentation on the source property of the chart data.  Can I pass an array of doubles and he plots very well but now I need to draw two sets of data.  Can anyone help?

    The DataSource property is documented in the how: map and graphic subject and on the GraphBase class (which is the type that defines the property). However, it seems that these issues do not directly address your question multiple plot; I put in a request to improve this.

    To answer your question, if you use DataSource to pass an array of double values in a plot, you can use a collection to pass data to multiple locations (for example a double[][] , a List , or a ObservableCollection ).

    Otherwise, you could use the Data collection to provide each parcel with data; for example:

    graph.Data[0] = /* double[] for plot 0 */;

        graph.Data[1] = /* double[] for plot 1 */;

    ~ Paul

  • XW6600 box MOD not video

    I'll try to make this short.

    I bought a new motherboard XW6600 with:

    Two Xeon 5160

    4 GB of RAM (and four others I bought later)

    A XW8600 PSU I have with a modified Extender I've done (plan I did below).

    Two Seidon Cooler Master 120 v with an adapter by hand.

    A 650 GTX

    It lights up (fans and all work apparently ), RAM and processors heat up, but I get nothing on the screen. In addition, I don't know if the MB will beep or not because I do not know the speaker is going.

    Technical manual troubleshooting pages does not help us either.

    Any ideas? The only thing 'wrong' that remains is the pins on the fans, who do not have the second tachomether, as were fans of the original, but I don't think it's really important.

    Help, please.

    Thank you in advance.

    Do a search in this forum for "pinout" and you will find details on the special pins that are used in the harness to the connector before the xw6400.  Those who are very similar to the pinout for the xw6600 and xw8600 details.

    That should help with the issue of speaker wire...

    The wiring for the fans matter.  Processor for the xw6400 coolers have a jumper wire to pin (ground) to pin 5, but those for the xw6600s have no such rider.  Those who have a set of 4 wire, then one empty 5th pin site.  You can see if you look on eBay at the xw6400 versus xw6600 cooler ends of connector.  Cut the wire to the fan of xw6400 makes the equivalent of a xw6600 fan.  Fans of HP workstation I work with are controlled PWM and the following sequence of 1-4, + 12vDC, sense rpm of the engine to the motherboard, and control signals the motherboard PWM motor circuit.  One of these PWM fans will see rise in RPM if you bring the butterfly wire PWM and just give 12v.  Most of us run fans always at the lowest global setting in the BIOS... for large hot projects, some of us will be ramp their place in the BIOS for the duration of that, then back down the lowest.  I use some bottom of Noctua 4 son and cards ultra low resistance noise my xw6600 dropout fan (ULNA) chipset and memory of the fan RPM (LNA) because the planned values are too high, in my experience.

    With 80 watt processors, you don't hit demand for the motherboard for a 'double height' heatsink / fan that can be integrated with the xw6600s despite the existence only in room for those in the xw8600 (which has a thicker casing).  No xw6600 listed processors have a TDP max beyond 80 watts, but some for the xw8600 do, and motherboard of the xw8600 wants to see the wiring that comes from a processor double height double fan cooler if a processor with TDP max 120W or is in place.  Things get a little complicated.

    I have several xw6400s running of two E5160s (dual core) and I use both of them, if the motherboard cannot run the fastest quadcores for this workstation (E5345s; SLAEJ sSpec code is the latest version).  But you have a motherboard xw6600 , not a xw6400 one.

    These E5160s will not work on the xw6600.  My recommendation for this most recent motherboard is two processors image E5450, sSpec SLBBM (the newest, once again).  If you are running programs that are eager to base that you can run two hearts faster clock speed.  Who all are listed in the latest QuickSpecs, attached.  Two SLBBMs will cost you around $85,00 off eBay these days.

    Always run the latest processor walk because they are of a more recent design of Intel and cost more off eBay in general.  I've never had a xw6600 not to execute what I wanted as long as the processor was in the latest QuickSpecs and I was using the latest BIOS.  This is in contrast with the xw6400 (that question is posted on the forum here, where some cards mothers xw6400 does not have the E5345s and some).

    Be sure to always run the latest version of the BIOS, because there the latest HP patches and the latest "firmware" list that determines which processors can operate in a HP workstation.  Your E5160s are not in the list of firmware xw6600s and does not work.  I tried to get around this rule, a good number of times where both directions and always failed.  Everything simply because of the chipsets on a motherboard HP 'should' accept a processor does not mean that the motherboard will be.  Microcode rule above has not yet been proven wrong.  From my experience if you put a processor unlisted in then BIOS will stop beyond that you currently hold.

    You can go down slower processors for the double xw6600 list eBay market very good heart, and I put out extras.  Start with one of those, then later for two SLBBMs when you get up things and race walk, with BIOS updated.  You end up with a near equivalent Z620 middle level, and this is my preferred approach budget currently.  I add an Intel SATA Gnraton II (3Gbps) 160 or 300 GB series 320 SSD as my boot drive, W7Pro64 and a '2 x 2' USB3.0-oriented HP TI card in the slot PCIe x 16 lower, and I kept 2 k with virtually the same user experience.  I have access to the Z620s to work for comparison and they are great workstations when running the latest BIOS and drivers, but I am very happy with the xw6600 inflated upwards.  In addition, it is a good project.

    Keep us... These coolers look nice.  Maybe you can harvest the fans off the original HP heat sinks and use them.  Have at least one of these fans tuned for your first start for each correct processor.  The motherboard gives the installed memory/processors and the fans present and makes decisions based on this info he sees.  You can usurp the motherboard by some tricks, however, as giving it a CPU fan, he wants to see.

  • Convert VB2005 read routine file for Labview

    Hello everyone,

    I am very NEW to Labview (using Labview 2010) and I am trying to convert a Net in Visual Basic 2005 dot program to format of Labview.

    My question to the group is, I would like to convert the VB code below in Labview.  This is one of the many readings of text file which makes my VB program.

    ' * Read data from frequency of files and convert them to Double *.
    List = 0
    oRead = IO. File.OpenText("C:\TPS_Data\PA_Freq_List.txt")
    All in oRead.Peek <> -1
    LineIn = oRead.ReadLine)
    TFL (List) = LineIn
    TestFreq (List) = Convert.ToDouble (TFL (List))
    List = + 1
    End while
    oRead.Close)

    These files are calibration/offset and rate data for my RF ATE test equipment.  Once the operator selects an amplifier to test, the program loads into memory these specific files in amplifier.  These variables they are whole, double or whatever store them in a table under (ex: TestFreq (0), TestFreq (1), etc.).  Each frequency has its own offset and calibration data which are sent to the test apparatus by each tested frequency.  This line of code is possible, or do I have to find another way to do this?  If so, how to store and retrieve these data at any time during the test.

    I appreciate all of the information provided by this group.  Thank you in advance.

    Kind regards

    Scott

    Greetings smercurio_fc,

    Thank you for your recent reply.

    Between your most recent response and another post that I fell today by searching on google, I was able to accomplish what I wanted to do.  The basic function was to read the text file, which is a list of test frequencies and move a generator of RF signals at each frequency in the list.

    Thanks again for your time.

    Kind regards

    Scott

  • Dynamic Calc BSO ratios

    Hello everyone,

    I'm trying to think of a good way to ratios of calc on quarterly averages.  My question is that right now, I have a plan that looks like the following:

    Capture.JPG
    The dynamic calc for Q3 is as follows:

    IF (@ISMBR ("AVG"))
    ('Jul' * 'Jul'-> 'Days' + 'Aug' * 'Aug'-> 'Days' + 'MS' * 'Sep'-> 'Days').
    ('Jul'-> 'Days', 'Aug'-> 'Days' + 'MS'-> 'Days');

    ElseIf (@ISMBR ("CHG") AND (@ISMBR ("actual/actual annualization")))
    "Actual/actual annualization";

    ElseIf (@ISMBR ("CHG") AND (@ISMBR ("30/360 annualization - months")))
    "30/360 annualization - months";

    ElseIf (@ISMBR ("CHG") AND (@ISMBR ("rate of return on accumulating assets")))
    "Performance accumulate assets";

    ELSEIF (@ISMBR ("CHG"))

    "Jul", "Aug" + "Sep";
    ELSEIF (@ISMBR ("END"))
    "Sep";
    ENDIF;

    I'm doing an if statement that will allow me to calc similar Ratios children without having to list them separately (because of averages).

    something like:

    ElseIf (@ISMBR ("CHG") AND (@DESCENDANTS("Ratios")))

    @Descendants ("ratios");  <-I know that this does not

    Someone has encountered this or I am looking at it wrong?

    Best regards

    Bret

    I think I was overthinking the problem, here is the solution:

    IF (@ISMBR ("AVG"))
    ('Jul' * 'Jul'-> 'Days' + 'Aug' * 'Aug'-> 'Days' + 'MS' * 'Sep'-> 'Days').
    ('Jul'-> 'Days' + 'Aug'-> 'Days' + 'MS'-> 'Days');

    ElseIf (@ISMBR ("CHG") AND (@ISMBR (@DESCENDANTS ("Metrics"))))
    "Q3".

    ELSEIF (@ISMBR ("CHG"))

    "Jul", "Aug" + "Sep";

    ELSEIF (@ISMBR ("END"))
    "Sep";
    ENDIF;

  • ADF DVT: Battery bar graph cannot display all the bar.

    Hi Experts,

    I am currently having a problem displaying the bar charts in my use case.

    There is inevitable instance at a point of the information provided, it can is having a party containing a very large database.

    Here is my sample code.

    In the code example below only the details with huge data is rendered in the graph. and the rest are not rendered. is this a known issue?

    screenshot: http://sdrv.ms/13DXeyn.

    I use PS6 ADF in windows7(64bit), Chome browser.

    ManagedBean. This bean contains static data for testing only. Notice how large the data in the 2nd to the smallest detail.

    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    
    import javax.faces.event.AbortProcessingException;
    
    import oracle.adf.view.faces.bi.component.graph.UIGraph;
    import oracle.adf.view.faces.bi.event.TimeSelectorEvent;
    
    public class GraphTimeAxisManagedBean {
        SimpleDateFormat stdFormat = new SimpleDateFormat("yyyy-MM-dd-HH.mm.ss");
    
        public List getTabularData() {
            ArrayList list = new ArrayList();
            try {
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 1", new Double(20) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 2", new Double(50) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 3", new Double(30) });
             
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 1", new Double(150) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 2", new Double(240) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 3", new Double(10) });
             
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 3", new Double(10) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 1", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 2", new Double(50) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 3", new Double(80) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 1", new Double(10) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 2", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 3", new Double(80) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 1", new Double(200) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 2", new Double(20) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 3", new Double(70) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 3", new Double(10) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 1", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 3", new Double(70) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 3", new Double(30) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 1", new Double(203)});
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 2", new Double(90)});
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 3", new Double(70)});
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 1", new Double(75) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 2", new Double(86) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 3", new Double(99) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 1", new Double(60105) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 2", new Double(50309) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 3", new Double(50210) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 1", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 2", new Double(77) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 3", new Double(99) });
            } catch (ParseException e) {
            }
            return list;
        }
      }
    

    JSFF (user interface Page).

    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:panelGroupLayout id="pgl1">
        <dvt:graph id="barGraph1" graphType="BAR_VERT_STACK" shortDesc="testing"
                   inlineStyle="width:800px; height:300px;"
                   tabularData="#{pageFlowScope.GraphTimeAxisManagedBean.tabularData}">
          <dvt:background>
            <dvt:specialEffects/>
          </dvt:background>
          <dvt:graphPlotArea/>
          <dvt:seriesSet>
            <dvt:series/>
          </dvt:seriesSet>
          <dvt:o1Axis/>
          <dvt:y1Axis/>
          <dvt:legendArea automaticPlacement="AP_NEVER"/>
        </dvt:graph>
      </af:panelGroupLayout>
    </jsp:root>
    

    Thank you

    Achi

    Achi,

    This isn't a problem with the graphics as such, but the issue of data. Since the value of the data that is displayed is huge and other data are relatively very low to occupy the chart area (Ex: 60105 Vs 10).

    You can try application zoomListener or zoomScrollListener for the graph to zoom in and see the small data.
    & lt; DVT:graph & gt;

    Arun-

  • loading times excessive strengthening JList large

    I have a request [url http://r0k.us/graphics/SIHwheel.html] using a JList. The size is variable and can be recharged with a different list of things. So far, the size of the list max has been about 1600 and (re) boots were quick, a matter of a few seconds for the 1600-element of the list.

    Now, I would like to work with the largest lists, one with more 4,000 items and one with more 60 000. The 4 000 element we load in 20 seconds approximately (more than double the list 1 600 - element). The 60 000 elements takes several hours - so much I did not right it ends. The problem is, the more items there, more it takes to add a new item.

    Here is a simplified version of the reset from the list. Note that the 'model' is the data represented by the list.
    class simpler
    {
        final DefaultListModel model = new DefaultListModel();
        private JList               list;
    // following line in GUI initialization
    //        list = new JList(model);
    
        private void getSortedNames(int sortCmd)
        {
            int howbig = 50000;
            ColorName worker;
            String hexName[];
    
            // clear-out old elements
            list.clearSelection();
            model.removeAllElements();  // without this line, even small lists take long time
            model.ensureCapacity(howbig);  // just added hoping it would help.  It doesn't.
    
            for (int i = 0; i < howbig; i++)
            {
    if ((i % 16) == 1) System.out.print(i + " ");
                hexName = new String[2];
    //            worker = ColorName.findColorName(i);
    //            hexName[0] = worker.getHex();
    //            hexName[1] = worker.getName();
    hexName[0] = Integer.toString(i);
    hexName[1] = Integer.toString(i + 1);
                model.addElement(hexName);
            }
        }
    }
    In the loop lines that start on the first column is debugging stuff. I wasn't sure if the slowdown was due to findColorName() or addElement(), so I got out of the game findColorName(). No effect on the speed, so I'm sure it's in Voodoo addElement() where lies the problem of gradual slowdown.

    If I do not create a new hexName] each iteration, the process is extremely fast. Of course, creating 50,000 items of list of the same instance of the same data.

    After studying [url http://docs.oracle.com/javase/1.4.2/docs/api/javax/swing/DefaultListModel.html] class DefaultListModel, I tried to replace model.addElements (hexName) with two model.set (i, hexName) and model.setElementAt (hexName, i). Both have led to errors of execution, with the crash of Jlist. (In some cases the rest of the program would continue.) I don't know what is the difference between the set() and setElementAt(), but none worked. I was hoping with all JList prealloue advance, it would be quicker set by index rather than add at the end. Maybe it would be if the operation could end without crashing.

    Does anyone have an idea how to speed this up?

    I tried to respond point by point to your previous answer but came to the conclusion that I really don't understand what you're trying to do. I'm reeling when talking about resolution 60 000 colors so I can't continue with this argument. I know that by using a list of length approximately 60,000 goes against all my experience of GUI, and everything I've read about the usefulness of GUI. I try to limit areas not drop more than 15 Articles and lists to no more than 60 Articles and would never ever consider never again 1,000 items so much 60 000!

    For JComboBox and JTables and JLists should rarely add an element at a time especially if the length is important. For each item added to that an event is sent to all the listeners. If you add 60 000 items, you get 60 000 events but is only really needed! Think in terms of wrapper classes that implement the desired models. Think about having several converters that render an entry given in the model in various ways. Think of sort without actually create copies or sort the real objects; indirect kind is very very powerful. Think about other models packing and respond to events sent by these packaged models.

    For a customer, I read at the start of a database in an event focused on the list of tuples. I have several TableModels used to display different views of the data that everyone reacts to events generated by the original list. When the original list is updated by the user all other models receive events that show the change and update any necessary prior to notifying the graphical interface it needs to update the display. Each JTable has a set of specific converters. Other rendering engine, I never copy the data or create versions of string data to display.

  • Connection problem with SQL Developer 3.0.0.4

    I have a strange problem with SQL Developer (SD) 3.0.0.4. So that the implementation of a new connection I have in double entries listed for some of the databases listed in my TNSNAMES.ora file. When I try to connect to one of the databases has entered duplicated, I get the following Oracle error:
    ORA-01034: Oracle not available ORA-27101: Kingdom does not exist SVR4 shared memory error: 2: no files or directory
    however, if I try to connect to the same database using SQL * more or TOAD, it works perfectly and TOAD has no duplicates.

    At first, I thought maybe that SD has been reading multiple copies of the TNSNAMES.ora so I checked and removed all the duplicate files and set the variable of environment TNS_ADMIN to point to that and the single instance of the TNSNAMES.ora file. Yet once, SQLPlus and TOAD to work fine, but SD is always showing entries twice and always have reported the above error when I try to connect to a database with a duplicate entry. I should mention, I'm able to connect to the database that have only a single entry listed use SD.

    If I understand correctly, SD uses JDBC as underlying connection mechanism. Based on this "agreement" I thought that maybe I had a file corrupted in the Java Cache, so I cleared the cache, but I always get errors.

    As mentioned, I use SQL Developer 3.0.0.4 with Java 1.6.0_11 (included in the download). In addition, I have installed JRE 1.6.0_24 and I am running Windows XP SP3. Any ideas or suggestions are greatly appreciated.

    Craig...

    Hi Craig,.

    Or, if I have misunderstood completely the scenario you describe, here's a post on the forum about duplicate entries appear in the drop-down list Alias network when the connection Type is TNS:

    Developer SQL 2.1.0.63 TNS name in characters of the connection

    This solution involves clean a bad TNSNAMES. ORA file with double score entries to test the death of SID.

    -Gary

Maybe you are looking for

  • Name change + Apple ID

    Hello I'm getting married in a month so I wanted to set up my new icloud email address. Initially, I put in place as a current under my e-mail/apple id alias - but then realized that I can't use the alias to connect to apple. I decided that I would g

  • Digital triggering PFI on a cDAQ-9188

    I use a Campell data recorder to send a pulse of 5mV to my daq to trigger the recording of some accelerometers. I also have the code to stop acquisition when another pulse is sent, the code has currently a predefined sampling time how I would change.

  • STLog.dll component suddenly found

    STLog.dll component suddenly foundWhat is this and how can I reinstall it?

  • Oh no.!

    Someone help me please!

  • How can I get a glimpse outside my files in pictures... can anyone advise? Merry Christmas to all!

    How to make a glimpse outside of my folders in the photos area there are so many it would help... had to return to the defalt settings & don't know how to get the tray on! .. can someone advise? Merry Christmas to all!