reload the current screen

Hey all,.

I have a screen that reads and displays the text of an xml file.  It's basically a voting booth, so outside radio two buttons a person votes and then submits to send their response to the server via http post.  How to refresh (or reload) the screen to display the results after the filing? The way it works now is that I have to stop my application completely and then start the application again to see the new results.

Thank you

Andrew

OK I got it.  http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=24553&query.ID=29... helped me.  I had basically update the fields first before you call invalidate.

Thank you

Tags: BlackBerry Developers

Similar Questions

  • How can I add reload the current Page in the toolbar Firefox 9?

    Once I have use customize toolbar, reload the current Page is not an option. I got this feature in previous versions of Firefox, and on another computer where Firefox has been updated to 9 the rest feature but I can't understand how to add to this new computer.

    Firefox 4 and later versions use a combined Stop/Reload/Go button that is placed at the right end of the address bar.

    During the process of loading page it shows as a stop button and once the charging button is replaced by a reload button.

    If you type in the address bar this button would then become a button go.

    Click the Reload button to duplicate the current tab in a new tab.

  • When you try to reply to emails on Outlook Express, the page compilation is behind the current screen

    Original title: Outlook Express

    When you try to reply to emails, the compilation page behind the current screen (used to stay at the front).  Then, when you access it, the blue header fades after a few seconds and I am unable to continue.  As a result, cannot answer.

    Hello

    ·         You get the error message?

    ·         Were there recent changes made on the computer before the show?

    I suggest you to follow the steps in troubleshooting this article and check if it helps.

    Error messages when you send and receive in Outlook and Outlook Express

    http://support.Microsoft.com/kb/813514

  • All menus are showing a view mini of my image of the current screen, rather than the options

    When I click on file/Edit/etc, the menu and search bar or right click I am met with a micro version of my current screen display. How can I fix it? I'm on a new installation of Windows 7 and a new download of Firefox. I tried to import my old data, which worked well, but the problem persists there as well. This does not happen in other programs and I do not have Add ons installed.

    You can try to disable hardware acceleration in Firefox.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    You will need to close and restart Firefox after enabling/disabling this setting.

    You can check if there is an update for your display driver graphic card and search for hardware acceleration of related issues.

  • BlackBerry Smartphones Hot key for the current screen menu?

    is there a key or combination of keys that will show the current menu rather than press the wheel?

    Unfortunately there is no combination of keys to call up the menu on the screen.

    Menu can be called only through click wheel.

  • What is the current screen resolution recommended for projects/records?

    My team uses a variety of screen resolutions to their workstations, so we try to decide on a standard for the Captivate projects and recordings.  Our projects must be consulted by users of laptops and desktops, with a great diversity in age and the location of the eye. What is the current recommendation for the size of the Captivate project?

    We had settled on 800 x 600, but since we use a Table of contents on projects, this means that people using 1024 x 768 on their office do scroll to the right to see the entire slide.  If we use 720 x 540, everything seems to be fine.

    On some web pages, I've seen 1024 x 768 recommended as the minimum resolution to develop for, but that seems to be a little dated now that more people are getting wide screens. What minimum aim for you (especially if you add a Table of contents)?

    Thank you!

    In my company, we use 980 x 560 px because it fits perfectly into our LMS framework and corresponds to a screen of 1024 x 768. We do not use the table of contents so the 980px wide is the actual content area.

    Most of our users run 1280 x 1024 resolutions, but we have some more using the old trust 1024 x 768 while we always aim the smallest resolution as scrollbars ongoing e-Learning will kill your course.

    / Michael

  • Reload the current document?

    Running DW8, generate an insertObject() extension; 2 problems that appear to load the current document.

    Problem 1:
    DW keeps the current document as he was instructed, even after make a change to it and record; I have to reload the document (manually) so he could be treated appropriately with extension.

    Here's what happens:
    I have a JavaScript function that reads content of the meta tag in the active document. Between function calls, I change the content of the meta tag and save the file. Done DW always refers to the old content.

    Problem 2:
    The insertObject() function does not run if the document has no recorded or saved my changes.

    Here's what happens:
    My insertObject() function inserts a line of text in the active document. It will run first on the document, when the document has not been changed. Subsequently, it will fail, even if the changes have been saved.

    I tried calling dw.releaseDocument (dom); at the end of each function explicitly, nothing helps.

    When I run the code example for the reference of the Dreamweaver extension, it works as expected.

    Any ideas?

    If you change the metatag in codeview and don't click Design mode before you hit your extension, then the DOM, you get from DW.getDocumentDOM () is out of sync with the code view. We don't automatically sync it because some items insert can dump just a string mode code (or they can use dom.source which is updated). In this case, I think you just need to add:
    dom.synchronizeDocument ();

    Also, I saw in our code that we do not have a releaseDocument so you call were not bad no matter what, but they were not done probably not much either. You should call if you get a lot of french overseas departments and you want to give us a chance to free them, but we do on idle when even if you do not have to worry.

    Hope that helps,
    Chris
    Adobe Dreamweaver engineering

  • Call the current screen resolution

    Hello, I was wondering if there was a way for my Flex Application see what my current screen resolution?

    Thank you!

    Capabilities.screenResolutionX

  • How to make appear the current screen automatically?

    Hello

    We develop a game. What we try to do is

    at the end of the stadium successful,.

    We expect a progress screen level. and it displays as just 5 seconds.

    After this match, continue with the next level.

    When we pop screen in thread then

    level progression is displayed perfectly, but after 5 seconds, an exception occurs.

    and when we use as nothing of this poster.

    GameCompletionScreen gameCompletionScreen = new GameCompletionScreen();
    getUiEngine () .pushScreen (gameCompletionScreen);
                            
    _levelCompThread = new LevelCompThread();

    Screen scrn = getUiEngine () .getActiveScreen ();
    getUiEngine () .popScreen (CNRS);

    Thread sleeps for 5 seconds.

    Give me an idea about it.

    Thanks & best regards,

    Narendra shekhawat

    Hi guys,.

    I did it.

    Thank you.

  • How to refresh the current screen? Thank you

    I want to get the screen like this: the screen has an EditField and ListField. After that I have enter a word editfield and click enter, then the listfield will be updated, refresh the screen. The code below:

    public class malls extends screen implements {FocusChangeListener}
    private CustomeManager cManager;
    private LabelField titalField;
    find the EditField private;
    Private TreeField neayby;
    LabelField MDD;
    private ListField mallList;
    Private ListCallback listCallback;
    Private TreeCallback treeCallback;
    Private VerticalFieldManager gird;
    public Malls()
    {
    Super (new CustomeManager (0), DEFAULT_MENU |) DEFAULT_CLOSE);
    cManager = (CustomeManager) getDelegate ();
    titalField = new LabelField ("SGMalls");
    find = new EditField("","Find:");
    find.setFocusListener (this);
    girdles you = new VerticalFieldManager (Manager.VERTICAL_SCROLL |) Manager.VERTICAL_SCROLLBAR);
    GIRD. Add (titalField);
    GIRD. Add (Find);
    treeCallback = new TreeCallback();
    neayby = new TreeField (treeCallback, TreeField.FOCUSABLE);
    int nod = neayby.addChildNode (0, "NeayBy");
    neayby.addChildNode (nod, "Northpoint");
    label is new LabelField ("list of shopping malls");.
    listCallback = new ListCallback();
    mallList = new ListField() {}
    protected boolean touchEvent (TouchEvent message)
    {

    If (message.getEvent () == TouchEvent.Click & message.getEvent ()! = TouchEvent.Down)
    {
    String mallName = listCallback.get (mallList, getSelectedIndex()) m:System.NET.SocketAddress.ToString ();
    UiApplication.getUiApplication () .pushScreen (new MallContent (mallName));
    }
    Return super.touchEvent (message);
    }
    };
    mallList.setCallback (listCallback);
    VerticalFieldManager gridmanager = new VerticalFieldManager (Manager.VERTICAL_SCROLL |) Manager.VERTICAL_SCROLLBAR);
    for (int i = 0; i)<>
    {mallList.insert (i);
    Mall of chain = "Mall" + i;
    listCallback.Insert (mall, i);
    }
    GridManager.Add (mallList);
    cManager.setfirstField (gird);
    cManager.setsecondField (neayby);
    cManager.setthirdField (label);
    cManager.setlastField (gridmanager);
    }
    protected void sublayout (int width, int height) {}
    setPositionDelegate (0, 0);
    layoutDelegate (width, height);
    setPosition (0, 0);
    setExtent (width, height);
    }
    storeItem private MenuItem = new MenuItem ("Search Store", 100, 10)
    {public void run() {}
    UiApplication.getUiApplication () .pushScreen (new store());
    onClose();
    }
    };
    protected void makeMenu (menu Menu, for example int)
    {
    menu. Add (storeItem);
    }

    I hope the focusChanged method can get to the screen
    ' Public Sub focusChanged (field field, int eventType)
    {V VirtualKeyboard = getVirtualKeyboard();}
    Field f = getFieldWithFocus ();
    if(f==Find)
    {
    v.setVisibility (VirtualKeyboard.SHOW);
    String text = find.getText ();
    If (text.length > 0 () & text.charAt (text.length () - 1) == '\n') {}
    listCallback.erase ();
    mallList.insert (5);
    listCallback.Insert ("New", 5);
         
    cManager.invalidate ();
    }
    }
    else {}
    v.setVisibility (VirtualKeyboard.HIDE);
    }
    }
    }

    Instead of using FocusChangeListener, you can use FieldChangeListener or manage the click on the trackball by substituting invokeAction()

    Etienne

  • How to refresh the current screen

    Import net.rim.device.api.ui.Field;
    Import net.rim.device.api.ui.FocusChangeListener;
    Import net.rim.device.api.ui.Manager;
    Import net.rim.device.api.ui.MenuItem;
    Import net.rim.device.api.ui.Screen;
    Import net.rim.device.api.ui.TouchEvent;
    Import net.rim.device.api.ui.UiApplication;
    Import net.rim.device.api.ui.VirtualKeyboard;
    Import net.rim.device.api.ui.component.EditField;
    Import net.rim.device.api.ui.component.LabelField;
    Import net.rim.device.api.ui.component.ListField;
    Import net.rim.device.api.ui.component.Menu;
    Import net.rim.device.api.ui.component.TreeField;
    Import net.rim.device.api.ui.container.VerticalFieldManager;

    public class malls extends screen implements {FocusChangeListener}
    private CustomeManager cManager;
    private LabelField titalField;
    find the EditField private;
    Private TreeField neayby;
    LabelField MDD;
    private ListField mallList;
    Private ListCallback listCallback;
    Private TreeCallback treeCallback;
    public Malls()
    {
    Super (new CustomeManager (0), DEFAULT_MENU |) DEFAULT_CLOSE);
    cManager = (CustomeManager) getDelegate ();
    titalField = new LabelField ("SGMalls");
    find = new EditField("","Find:");
    find.setFocusListener (this);
    Gird VerticalFieldManager = new VerticalFieldManager (Manager.VERTICAL_SCROLL |) Manager.VERTICAL_SCROLLBAR);
    GIRD. Add (titalField);
    GIRD. Add (Find);
    treeCallback = new TreeCallback();
    neayby = new TreeField (treeCallback, TreeField.FOCUSABLE);
    int nod = neayby.addChildNode (0, "NeayBy");
    neayby.addChildNode (nod, "Northpoint");
    label is new LabelField ("list of shopping malls");.
    listCallback = new ListCallback();
    mallList = new ListField() {}
    protected boolean touchEvent (TouchEvent message)
    {

    If (message.getEvent () == TouchEvent.Click & message.getEvent ()! = TouchEvent.Down)
    {
    String mallName = listCallback.get (mallList, getSelectedIndex()) m:System.NET.SocketAddress.ToString ();
    UiApplication.getUiApplication () .pushScreen (new MallContent (mallName));
    }
    Return super.touchEvent (message);
    }
    };
    mallList.setCallback (listCallback);
    VerticalFieldManager gridmanager = new VerticalFieldManager (Manager.VERTICAL_SCROLL |) Manager.VERTICAL_SCROLLBAR);
    for (int i = 0; i)<>
    {mallList.insert (i);
    Mall of chain = "Mall" + i;
    listCallback.Insert (mall, i);
    }
    GridManager.Add (mallList);
    cManager.setfirstField (gird);
    cManager.setsecondField (neayby);
    cManager.setthirdField (label);
    cManager.setlastField (gridmanager);
    }
    protected void sublayout (int width, int height) {}
    setPositionDelegate (0, 0);
    layoutDelegate (width, height);
    setPosition (0, 0);
    setExtent (width, height);
    }
    storeItem private MenuItem = new MenuItem ("Search Store", 100, 10)
    {public void run() {}
    UiApplication.getUiApplication () .pushScreen (new store());
    onClose();
    }
    };
    protected void makeMenu (menu Menu, for example int)
    {
    menu. Add (storeItem);
    }
    ' Public Sub focusChanged (field field, int eventType)
    {V VirtualKeyboard = getVirtualKeyboard();}
    Field f = getFieldWithFocus ();
    if(f==Find)
    {
    v.setVisibility (VirtualKeyboard.SHOW);
    }
    else {}
    v.setVisibility (VirtualKeyboard.HIDE);
    }
    }
    }

    I hope that after that I entered a Word to the editfield, and click on the button enter (or not) then the listfield will be updated and display new content.

    Thank you

    because the screen may not refresh after I hit the key enter.

    I tested the code like this:

    ' Public Sub focusChanged (field field, int eventType)
    {V VirtualKeyboard = getVirtualKeyboard();}
    Field f = getFieldWithFocus ();
    if(f==Find)
    {
    v.setVisibility (VirtualKeyboard.SHOW);
    String text = find.getText ();
    If (text.length > 0 () & text.charAt (text.length () - 1) == '\n') {}
    Dialog.Alert ("Hello");
    }
    }

    but can't get out of the alert

  • A layer to the current screen centering

    How to make the main layer Center relative to the size of the users who are viewing res screen? That is to say, if I design on a 1024 x 768 screen resolution, how do I automatically get it towards the Center so the user has a higher than 1280 x 1024 screen resolution?

    For those of you who still want to use layers, it works...

    http://www.w3.org/TR/html4/loose.DTD">


    Center on any screen size



    A text goes here


    You may need to change the code created by dreamweaver so that is...

  • The current speed of runway shows?

    I use the map my run to follow my journey via iPhone but I don't have an Apple Watch. The current screen with the default application or map my Run - app?

    Hello

    Pace is one of a number of parameters that Apple Watch can display during walking and running workouts during the use of the application of the workout.

    When running without taking your iPhone along, Apple Watch uses the built-in accelerometer data to estimate the results, including the pace and distance. Accuracy can be improved by calibrating the watch (see link below).

    When taking the iPhone along, the watch also allows the GPS of the iPhone data when estimating the PACE.

    More information:

    Use of the workout on your Apple Watch - Apple Support

    Calibrate your Apple Watch for better accuracy of training and activity - Apple Support

  • Get the usable screen size

    It is difficult to find and is OS specific.  But what I try to do is to get the size of the entire usable on all monitors.  By that I mean space would occupy a window, if it were made full-screen, but without having to do full screen.

    I have a user interface works this will popup a small window under the mouse if you perform an action, to view more information about what wriggle you on.  I want this window centered under the coordates of the mouse, but I want it fits the current screen, and I have not any visible window.

    So if my mouse is in the upper left corner of my screen, I want my window appear in the upper left corner, but have it all visible.  If my mouse is just above the taskbar, I want the entire window appears above the taskbar, but always under the mouse.  What I'm trying to avoid is poping up a window which is cut by clipping off the monitor, or under the taskbar.

    Display > property all monitors to get the boundaries of all monitors, but it's the resolution of the screen and doesn't take into account a taskbar which is likely on the bottom of the window, but potentially could be anywhere or could even be hidden.

    Any ideas on that?  My partial solution only I have not tried, but assume would work, is to make the hidden window, blow it up, get the bounds of the window, then it unmaximize.  Is there a feature that miss me?  Thank you.

    The use of knots of .NET:

    This first is System.Windows.Forms.Screen

    On my system (1920 x 1080), this refers to 1920, 1040.  My taskbar is 40 pixels high.

    Instead of choosing the 'PrimaryScreen", it has also a property"AllScreens', i.e. an array of screens. This will allow you to check each monitor on the PC.

  • P158sa Pavilion: Pavilion of the p158sa screen replacement

    Hello, I was wondering if I could pass the current screen of 1366 x 768 to a 1920 x 1080 in my hp laptop I have included the the model number of the screen I watched and it was in the pdf file of repair on the Web page of model, I'm looking for in this because I have allot of 3d and after effects editing work and need a lot of work space.

    Hi there @Nathan_Huck

    Welcome to the Forums of HP Support! It's a good place to find the help you need, so many other users, the HP experts and other members of the support staff.

    I understand that you request it possible to upgrade the display of your laptop to another of the HP Pavilion 17 Notebook PC HP Pavilion 15 Notebook PC - Maintenance and Service of Guide

    I reproduced the list of screens compatible/taken in charge for 15-inch screens, and the one you mention is there, so yes it is an available option.

    15.6 LED BrightView HD HD WLED SVA SVA flat screen available for Windows 8.1 (including screws) 762513-001
    15.6 AG WLED HD touchscreen with bezel (including screws) 764622-001
    15.6 AG WLED full HD SVA (including screws) 764623-001
    15.6 AG WLED full HD touchscreen with bezel (including screws) flat display panel 766687-001

    If you want to continue that, then you can our technical support at the 800-474-6836. If you do not live in the United States / Canada region, please click the link below to get help from your region number. http://WWW8.HP.com/us/en/contact-HP/WW-phone-assist.html

Maybe you are looking for

  • Replacement card mother Qosmio G10

    After replacing the card mother a Qosmio G10-120 original Win Xp MCE with the official update (FC43S1 A5A001749010 P000454980 jury), some problems have arisen: 1. second HARD drive internal no more seen.2. all buttons stop "standby/disable rebooting

  • IMAQ usb capture and record avi format

    I installed the ni_imaq_usb_installer_86.exe and I tried to run this VI (86 Grab and save USB LabVIEW vi) but it does not work. The error is that error-1074395986 occurred at IMAQ AVI file format create invalid. Should I supposed to do?

  • Used to install Microsoft SQL Server 2005 Express Edition Service Pack 3

    I tried to install this service pack for the last 2 weeks now, but it will not be installed. As part of the update, it keeps even after 3 hours and did not finish.The icon just guard cycling.When I open / FEATURES of the PROGRAM the following program

  • Will scan my 7310 or negative 35 mm print

    I have a printer photo 7310, 10 years old. I need to know if she will be either scan or print, 33mm negatives. Or maybe they're 110, not sure. They are negative. Any help much appreciated.

  • Problems with Microsoft in Windows 7 updates

    Somewhere in the middle of July 2015, I noticed that I had not updated Microsoft program for several weeks.  I use Windows 7 (which was installed in my computer when I bought it in 2012).    I checked the last update, I had received and it was July 9