Best way to store the values of the map

Hi all.

I have a card <>where I store the values (in this case, I store the IDs of rows in the table). I have an application with a panel tabs and I have a card for each tab. When the user exits the application, I'll go through the card and the identity of any process

If I use normal in my grain map, once the user changes tab (or opens a pop up or something like that), the map is instantiated again and all data is lost. To resolve this problem, I used a static map. Everything is ok, but if 2 users use the application at the same time, they will share the card data and I don't want that.

So I have a question: what is the best way to keep my card? I read some people saying to use one Bean of sessionScope, others a pageFlowBean, other parameters of Page, etc...

Can you help me?

P.s: jdev version 11.1.2.4.0

Well, you can create a managed bean in this scope, or you can put your card directly at your fingertips.

Here you will find several techniques to get the bean managed in java code: http://www.lkakarla.com/2013/06/retrieving-managed-beans.html

Dario

Tags: Java

Similar Questions

  • What is the best way to store the RCS for an insert/update in this rec

    Oracle on Win 64 non-conteneur 12.1.0.2

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    I thought of a line after trigger, but did not know if this trigger to store the current_scn would still fire that trigger again (recursive trigger).

    Someone at - he a good idea of what the best way is to do?  The devs don't want to store the pk and the SNA in yet another table...

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    3rd party applications retrieve data from tables (all data).  We are looking for a way for them to just pull what is new or updated updated since their last sweater.

    I suggest that you try again and give all OF THE REQUIREMENTS.

    You have rejected ANY answer given and he justified using 'hidden' on what knowledge management or the devs want or do not want to. Stop making us guess what are the requirements and constraints. If you want a real answer then tell us ALL the news.

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    Solomon answered repeatedly. If you want to add a column to a table to store the then "best" SNA is to let the Oracle to do this for you automatically by using the DEPENDENCY LINE.

    As he says also re-create the table to add this clause will be MUCH MORE EFFECTIVE that everything THAT you can do it manually. It will be also more accurate because Oracle will fill the value ORA_ROWSCN with the SNA at the time the line was committed. You, as long as user, can't fill a column in function when a line is engaged since real VALIDATION belongs to a transaction, not the line or the trigger that you use.

    Yes - there are two drawbacks to this method:

    1. you need to re-create the table

    2. you cannot add an index to this "hidden" column

    The devs don't want to store the pk and the SNA in yet another table...

    Then? Who cares what the devs want to do? You want the BEST solution? Next, you will need to put aside personal preferences and determine what is the 'best' solution. Why it is important that certain dev wants to do this or not?

    OK, the problem of biz is now, 3rd party external users are an all-wheel drive large number of tables in the database via the API that we wrote.  That was obviously interrupted OLTP during the day.  To reduce to the minimum, we want for them just to extract data that has been inserted/updated since their last sweater.

    It is the definition of a "replica" DB Then why don't you consider a real replicated DB? You can use DataGuard and have replicated DB which is read only that can be used to generate reports. Oracle does ALL the work to keep ALL the tables in sync. You and your developers do NOTHING!

    We thought that store the RCS higher their last sweater would allow the API to extract only data with YVERT higher than their last data pull CHN.

    OK - except you keep rejecting solutions actually do. Ask you questions about the SNA stored in the same table, but then reject the solution that does this. And then you add your "devs" don't want to store the info in a new table either.

    Then your solutions must ONLY use the replication or Log Miner. The REDO logs have all changes, if you want to extract yourself. Replication (e.g., DataGuard) will use these logs for you to maintain a replicated database.

    We thought about it, but recreate all tables in production with ROWDEPENDENCIES as well as dealing with CF and other dependencies idea this was shot.

    Well you NEVER mentioned you "thought that" and rejected it. And you NEVER mentioned anything about FKs and other dependencies. What is FKs and other dependencies which prevents this working solution? Tell us! Give us ALL the information.

    Wouldn't a trigger AFTER LINE capture the commit YVERT?  Or is after really not after validation?

    No - a trigger has NOT one commit. A trigger runs as a step in a transaction. Validation applies to the entire transaction. Until you, or Oracle, issues a commit, there is NO "committed SNA" to be stored as ORA_ROWSCN.

    You can easily see that for yourself. Create a simple table with dependencies of the line and then update two different sessions.

    create the table emp_scn rowdependencies in select * from emp where rownum<>

    Select empno, emp_scn ora_rowscn

    Update emp_scn set work = 'b' where empno = 7499

    commit;

    The first SELECT statement will show you that each row has the same SNA.

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622201

    7521,70622201

    Now, do the update (but no commit), then SELECT it

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,

    7521,70622201

    Where is the value of 7499? This session will NOT see a value for the changed lines in the current transaction. Other sessions will still see the old value.

    Now do the validation, then SELECT

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622301

    7521,70622201

    7499 now has a new and different value than the other lines. It will not be this new value until the validation occurs.

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    Well, you got the answer you want. You ask the best way. Now, you say that you were told the best way. But now you don't like the answer.

    How is it our fault? Your question has been answered wasn't she?

    Here are the facts:

    1 oracle creates a history of changes - the REDO log files

    2. you can use Log Miner to extract these changes

    3. you can create your own change log by adding a log file of MV to your table.

    4. you can then write a custom code to use this MV log file to determine which rows to "reproduce".

    So far reject you all THE POSSIBLE solutions.

    Accept it or change the requirements to allow one of the solutions proposed to be used.

    Personally, if I HAD to use a customized solution, I would use a MV journal to record the ROWID of the lines that have changed (for tables ROWID cannot be changed). I would then extract the appropriate lines by pulling on the lines corresponding to these row ID.

    Even that has problems since a line can be changed several times and children lines can also be amended several times - these questions FK you mentioned.

    I suggest you read this entire thread on AskTom a dozen years ago. It addresses ALL these issues.

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:16998677475837

    Then in your next reply on this topic give us a summary of where some things with your question and what help you further expect.

  • What is the best way to store the time of appointment in the calendar

    I use apex 5 universal theme.

    Oracle 11gxe.

    I need apex calendar to view the calendar...

    Do I need to use the ekinitech calendar plugin

    Or is it possible to implement

    http://fullcalendar.IO/

    I'm not aware of the java scripts, but I think I can try

    Any guidance appreciated and thank you

    Hi pauljohny100,

    There is an easy way to implement a FullCalendar.

    Take a look: https://apex.oracle.com/pls/apex/f?p=90561:1

  • best way to store, present the date and time of entry into

    Hello!

    I hope that I can make clear. I see an APEX application that has a couple of different date type fields. This demand will be translated in two different languages, which has representations different date/time. For example: hh12:miAM DD-MON-yyyy and yyyy-mm-dd hh24. I am now find what is the best way to store the date/time fields and hou I can present them in a form/report and how the user can enter in a field.

    That's what I see:
    -I can set a time stamp request format date format/application. It must be in the format of the main language, in this case, English.
    -I can also make translated versions of the application. QUESTION: can I enter a different date for the translated application format?

    What should I do my fields of type date or timestamp?

    I hope someone can answer. If I'm not clear, please tell me!

    You can set the format of date of application using an element of demand

    & DATE_FORMAT_MASK.

    and this element the value dynamically.

    Home > Application Builder > Application # > shared components > change attributes of globalization

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Is it possible to connect a simple 1 d array to a digital indicator or what would be the best way to display the numeric values of the array on the front panel?

    Is it possible to connect a simple 1 d array to a digital indicator or what would be the best way to display the numeric values of the array on the front panel? Examples or suggestions would be greatly appreciated.

    Thank you

    Tunis

    Thank you Adam, it's originally in a while loop, I placed it in a loop for example, wired County in the for loop and presto, this son of a digital indicator. It works very well. Thanks for the help folks.

  • Best way to store all the pixels in the layer of the CBC?

    I am trying to create an image for AE filter plugin. The proposed model for Applications SDK ("skeleton project"):

    Suites. Iterate8Suite1 ()->Browse(in_data,

    0, / / basic course

    linesL, / / final progress

    & params [SKELETON_INPUT]->u. ld, // src

    NULL / / area - null for all pixels

    ()Sub*) & tInfo, / / Conref - your custom data pointer

    drawTriangles8 / / function pixel pointer

    output));

    But I want to run my filtering algorithm of image on an array of int int [] argument tableau_donnees which owns all of the RGBA (0-255) values for each pixel.

    I'm doing this because I have already written the filter for Java and prefer not to completely change my implementation.

    So already, part of an API or is there a common way to do this?

    Here is my current solution in the render function:

    static PF_Err Render (.) {

    //...

    for (int i = 0; i < tInfo > -width; i ++) {

    for (int j = 0; j < tInfo > -height; j ++) {

    PF_Pixel currentPixel = *getXY(* tInfo->enter, i, j);

    int alpha is currentPixel. alpha;

    int red = currentPixel. red;

    int Green is currentPixel. Green;

    int blue = currentPixel. Blue;

    p.push_back(red);

    p.push_back(green);

    p.push_back(blue);

    p.push_back(alpha);

    }

    }

    public static PF_Pixel

    * getXY (PF_EffectWorld & def, int x, int y) {}

    return (PF_Pixel*) ((char*) beatdata +)

    (y * batrowbytes) +.

    (x * sizeof(PF_Pixel))) ;

    }

    Also, while I'm here, what is the best way to debug the plugin using Xcode? I put the path to the executable to AE, but I don't know how to debug with AE mode. I appreciate any help anyone can give me.

    Hi timode! Welcome to the forum!

    If you use the following iteration you have given PF_EffectWorld pixels for

    the buffer in and the output buffer, as well as their coordinates x, y.

    You can't the rest of the iteration put you anything else automatically.

    You can pass a pointer to any data you like, get this pointer in the

    iteration work and then go searching your data int right-handed

    x, y parameters.

    to create an array of int of any size, use of the MemorySuite and lock the

    got memory handle on an int *, and then obtained pointer behave as a

    table. (you cannot use push_back, of course for reading.)

    or proposed methods are the best performance, but I guess that when

    you will take care of performance that you can convert your java code works directly

    on the input pixels...

    in regards to debugging in xcode, if you have set the path to the executable, just hit

    cmd + r and xcode will build and run a debugging session.

    do not ensure that the build location is the place of the

    that AE loads the plug-in... (you can create an alias of plug-ins for AE

    Directory to the build location. AE will scan the alias)

  • What is the best way to get the minimum or maximum of a table of numbers value?

    Let's say I have a table of numbers: [2,3,3,4,2,2,5,6,7,2]

    What is the best way to find the minimum or maximum value in the table?

    Now, just get the maximum, I'm a loop in the table and reset a variable to the value if it is greater than the existing value:

    What I ended up doing was sorting table (descending to MAX) upward for MIN and then grabbing the first element of the array. Works like a charm in very few lines of code.

    Thank you.

  • What is the best way to check the data

    What is the best way to check the actual changes in the data, i.e., to be able to see each insert, update, delete on a given line, when it happened, who did it, and what looked like to the front row and after the change?

    Currently, we have implemented our own audit infrastructure where we generate standard triggers and an audit table to store the OLD (values at the beginning of the Timekeeping point row before) and NEW (values at the beginning of the point of timing after line) values for each change.

    I put this strategy due to the performance impact there (important say least) and because it's something that a developer (confession, I'm the developer) came with, rather than something is a database administrator came with. I looked in the audit of the Oracle, but it doesn't seem like we would be able to go back and see what a line looked like at some point in time. I also watched flashbacks, but this seems like it would take a monumental amount of storage just to be able to go back a week, much less the years currently keep us these data.

    Thank you
    Matt Knowles

    Published by: mattknowles on January 10, 2011 08:40

    mattknowles wrote:
    What is the best way to check the actual changes in the data, i.e., to be able to see each insert, update, delete on a given line, when it happened, who did it, and what looked like to the front row and after the change?

    Currently, we have implemented our own audit infrastructure where we generate standard triggers and an audit table to store the OLD (values at the beginning of the Timekeeping point row before) and NEW (values at the beginning of the point of timing after line) values for each change.

    You can either:
    1. set up your own audit custom (as you do now)
    2 flashback Data Archive (11 g). Application for licence.
    3 version check your tables with Workspace Manager.

    >

    I put this strategy due to the performance impact there (important say least) and because it's something that a developer (confession, I'm the developer) came with, rather than something is a database administrator came with. I looked in the audit of the Oracle, but it doesn't seem like we would be able to go back and see what a line looked like at some point in time. I also watched flashbacks, but this seems like it would take a monumental amount of storage just to be able to go back a week, much less the years currently keep us these data.

    Unfortunately, the audit of data always takes a lot of space. You should also consider the performance, as custom triggers and Workspace Manager will perform much slower than the FDA if there is heavy DML on the table.

  • Photon: Best way to snap the back cover in place?

    What is the best way to put the cover back on? What sequence I use, it seems that one of the plastic snaps is not committed.

    There are instructions inside the battery cover. You start at the bottom and work your way up to the left and the right. That being said, check the clips on your lid and make sure that one of them is not folded. This happened to me the first day I bought the phone. I had to get a new one from the Sprint Store. Do not force the clip if it is wrong. I think that's how mine has folded.

  • Best way to update the individual rows of a Table?

    I took a quick glance at a few examples, but did not get a clarification on this.  I am looking to have something close to a listbox control or the table to where I can update just one column of values to line a 1 time per second pace.  I'm looking to display our acquisition of data values in a table or a listbox control.  The single list box seemed to work well for that, but I couldn't use the row headers to list the names of channel beside the channel values.  I thought to link the values of cursor in two areas of list to do this, but did not find any info on it for the single list box.

    I have a few questions:

    (1) I have a 1 d table to where I want to use this data to constantly update the first column (with a multitude of lines) of a table.  I'm looking for the best route to not take too much time for treatment by doing this.

    What is the best way to update the individual rows of a table?   Invoke the node "Value of the cell value"... or is there another method?

    (2) why is that, after each iteration else, row values are deleted?

    Also, for adding additional channels originally arrray... it is better to use the 'Array' subset then the function "Construct the table" or function "Subset of the table" and "insert table"?

    See the attached example.

    Thank you.

    Jeff· Þ· Bohrer says:

    (2) why is that, after each iteration else, row values are deleted?

    Classic race condition.  dump the loop and node-p and just wire the 2D table on the terminal Board. !

    I don't see the race condition.  What I see is the table once the last element has been written for it all run the oil.  I saw looked it with point culminating performance on.

    But I agree entirely with writing to the Terminal.  It is a 1 d array, so you will need to use an array of generation and convert a 2D array in order so that he could write correctly.

  • Volume: Best way to decrease the volume for a portion of a clip

    I have an audio clip of speaking me - about 22 minutes. I knew it would be difficult to change because of its length, so I divided into eight sections and each section has recorded independently.

    However, I made a couple of mistakes here and there. So instead of wasting time to record a whole clip again and again until I understand well, I have just re-recorded paragraphs which should be corrected.

    So, imagine a master audio clip named Project1 in setting up first. In the track above, where the third paragraph starts, is another audio clip - Project1-3. I'm trying to understand the best way to kill the volume on Project1 - just for the duration of the third paragraph. So when I listen, I should hear the patch, Project1-3, instead of the main audio, Project1.

    I checked a few tutorials, but I'm a bit confused. I thought it was something I have to do in the Source monitor, by using keyframes, but it does not work too well.

    I put a screen shot in line @ https://www.geobop.com/images/audio.png

    In the upper left corner, you can see where I created a key by clicking on the Volume and selecting the level. It was set to 0 by default, so I changed the value of-20. But when I preview the video, I can still hear the sound and changes in value-20.

    Can someone tell me what I am doing wrong?

    Thank you.

    Rather than apply keyframes to the Volume setting, you will find may be easier to use the razor tool to split the audio clip called "Project1" into several segments in the timeline panel.  Then, disable the unwanted segment (select it in the timeline panel and choose Clip > enable) or raise TI (press point comma), leaving a space.

    Your tracks can be difficult to hear suddenly as the stopwatch for the effect of Volume Audio is enabled by default.  If you look at the effect controls panel, while the audio is selected, you can proceed to the next and previous keyframe to see what 'level' to each key frame.

  • Best way to discover the top N

    Hi all

    Sorry to ask a question on Friday. I've had this issue for some time now, what is the best way to discover the first N?

    For example, how do you know top 10 Web hosts that have the highest use of CPU for a certain period of time.

    One way to do is to create a WCF application that returns topN HostCPUs order to use/period/average. When the interval is small, like the last hour, it works, but if I increase the time range from 1 day, the request will expire after 60 seconds. We have 500 + guests on this FMS. Not only we want to watch the hot servers right now, but also want to watch the hot servers say yesterday, or last month.

    Another way is to use groovy code below, when I use retrieveLatestValue to get the current value, it's fast, but if I replace it with retrieveAggregate and make the time range for the previous 24 hours, it takes a few minutes to run.

    #! HostCPUs # .getTopologyObjects (extinguish) {a, b->

    go = server. DataService.retrieveLatestValue (a 'use'). value?. AVG

    If (goes == null)

    go = 0

    VB = server. DataService.retrieveLatestValue (b, 'use'). value?. AVG

    If (vb is nothing)

    VB = 0

    VA - vb > 0? 0: 1

    } .subList (0, 10)

    Then, of course, these are not very effective. Is there a better way to get this top N list I'm looking for?

    Thank you

    Xiaoning

    Here is an example of the batch api to query the memory of the virtual machine, and then I take action on a specific period of time.

    import com.quest.nitro.service.sl.interfaces.data.IDataService;

    import com.quest.nitro.service.sl.interfaces.data.ObservationQuery;

    import com.quest.nitro.model.topology.TopologyObject;

    import com.quest.nitro.service.sl.ServiceLocatorFactory;

    Import org.apache.log4j.Logger;

    def LOG = Logger.getLogger ("batch.query.test");

    topologyObjects = new HashSet (#!) VMWVirtualMachineMemory # .topologyObjects);

    Log.info ("topology objects querying ${topologyObjects.size ()}...");

    endTime = System.currentTimeMillis ();

    startTime = endTime - (4 * 60 * 60 * 1000 L);

    IDataService dataSvc is ServiceLocatorFactory.getLocator () .getDataService ();.

    Query ObservationQuery = dataSvc.createObservationQuery ();

    query.setStartTime (startTime);

    query.setEndTime (endTime);

    Query.include (topologyObjects, "active");

    Query.include (topologyObjects, "affected");

    Query.include (topologyObjects, "zero");

    result = dataSvc.performQuery (query);

    long term = System.currentTimeMillis () - endTime;

    Log.info ("request completed in ${duration} ms.");

  • Best way to limit the iOS devices?

    What is the best way to limit the compatibility of my AIR application so that users with the iPhone/iPod 1st-3rd generation cannot download it from the app store?

    I am about to submit my AIR application for Apple app store & have designed so that it works well on iPhone/iPod 4 + and all iPads. So, I would exclude users with older iPhones/iPods of the possibility to download it.

    I searched online and a number of people suggest adding a restriction based on requiring front facing camera.

    that is, adding the following line in the info.plist file:

    <key>UIRequiredDeviceCapabilities</key><string>front-facing-camera</string>

    But, I read the posts of some people who have tried this and it worked: he did not exclude iPhone 3GS. See the last post here.

    Can anyone confirm that it is a reliable method? I understand there is a small chance Apple will reject your application based on the fact that you add an unnecessary exclusion - that is my app requires in reality a front facing camera.

    Also, I noticed that another approach is to restrict the version of the OS. If you want to restrict the minimum version of the operating system of 6.2, which should exclude iPhone/iPod 1st-3rd generation like iPhone 3GS not going only up to OS 6.1.6 I think.

    So, the solution would be to add the following in the descriptor xml file:

    <key>MinimumOSVersion</key>
    <string>6.2</string>

    The 3GS is not compatible OS7 (OS6.1.6 I think is the last) then you can simply apply OS7.

    To do this, in your , you can specify as follows:

    MinimumOSVersion

    7.0


    Edit:


    Hey Yes, I see that you've done your homework. You can choose 6.2, but there is really no reason. iPad1 is locked in OS5 so you lose (very small part of the market) but the iPad2 and up supports OS7 and iPhone 3GS cut so 4 and below you really need to specify OS7 and up to. 6.2 would work as well. If you need support iPad1 so it is not ideal.

  • Best way to copy the ISO and Template on another VMFS volume?

    Since we are running out of disk space, we would like to change the size of a volume VMFS existing 500 GB to 400 GB.  This VMFS volume contains ISO images and virtual machine templates.

    We have already created a new 400 GB size VMFS volume and would like to know what is the best way to copy the ISO and models from the 500GB to 400GB size VMFS volume.  Can we use WinSCP or use the command line?

    Your advie is requested.

    The more simple and quick to copy ISO files store data to another, is to use Veeam FastSCP. It copies data directly from one host to another. And it's free (http://www.veeam.com/vmware-esxi-fastscp.html)

  • What would be the best approach to store the contents of an application

    Hi all,

    Whereas there are certain restrictions on the University Complutense of MADRID since the limit of files in a folder (max. 1000), that would be the best approach to store the contents of a request, for example? Is it possible to store the content with a logic of separation?

    Kind regards

    Maybe that I miss the question, but I think you are looking for a good definition of the metadata model or same good architecture of content server instances themselves.

    You wrote that you have lots of files from one application (1200 check-ins per day) and you are limited by the recommendation to have maximum 1000 files in a folder. It is a bit of a mix of apples and oranges. Records are a logical representation of file storage, who must somehow match what users a) are used for b) is useful to organizational processes. If it makes no sense in the context of your organization - just don't use them. At the University Complutense of MADRID, he must be. Unlike, the University Complutense of MADRID must always have a metadata model, and if the content search is one of your typical use cases, it is a starting point.

    You mentioned you want to separate an application an application documents X documents Y - that sounds like you have a metadata field called, for example, 'Application', which will contain the appropriate value. Unfortunately, you write more detail, so I'll make my scripts:

    -Imagine you have users who work areas or countries interested only in 'their' data - sounds like a need for one or more fields to represent this type of separation (country - State - City - whatever)
    -now, you might have another group of users who are more focused on the product; They also want to see 'their' data, but this time, the main search criteria are different (product line - product - Version - Batch, etc..)

    At the University Complutense of MADRID, you can serve both groups - you can create research and recording of profiles that meet the needs of these two types of users. It's actually more convenient than using the folders because you can have multiple views on the same repository.

    It is a "but" to this approach and that's if you want to use Desktop Integration after the check in documents from Office applications (Word, Excel). In this case, you will need records.

    However, even, there is a solution that might help: note that, so far, I expect to have a single repository (a single instance of the University Complutense of MADRID) serving all your applications. In theory, you could have a few instances UCM running in the same environment (the same number of licenses CPU, if you want). Therefore, the main criterion will be the name of the server instance of content rather than a metadata field. Another thing to consider if you want your "desktop users" for access to "all files" in the repository. Note that even if you use folders you can have files that are not assigned to any folder.

Maybe you are looking for

  • Controls brightness on my M30 Pro Satellite lost?

    I have download the drivers for my light, I click on these on my desk, that nothing is happening. Can someone advise me on this one.

  • No iTunes for Linux installation?

    I just recently got a pi raspberry zero and wised up to see if there was a version Linux to iTunes... I see none, there is only Windows and Mac. I was hoping that I would use it to stream my iTunes one of my MacBook through the pi Raspberry library w

  • Message deleted Ant support

    Here, if you want constructive messages, have this: I want to "install OS X Mavericks.app. Now, here's all the effort I went myself to try to achieve this goal: Called the phone support Got hung up. Third call, get this ************ Impatient Not rec

  • My setting screen resolution

    I readjusted my screen resolution on my Vista Home Premium to 640 x 480 to play with it. Now I can't get it back to its maximum resolution because the font and the size of the display on the screen are so big I can't scroll the bar to release on the

  • sticks ball trackball Explorer

    The ball on my microsoft trackball Explorer sticks. I cleaned and have had new put in rolls. I use a smaller ball from another computer and that works pretty well, except that sometimes he climbs. How can I get get the original ball to work again. Th