Displaying a dialog box to a background thread listening thrust

Hi, my request has an Autostart entry point and a normal entry point. On Autostart, I start a thread to listen push. When this background process receives a msg to push, I want to display a dialog box to the user (from the background process). I tried many solutions I found on this forum and tried the code in this article: http://supportforums.blackberry.com/t5/Java-Development/Alert-a-BlackBerry-smartphone-user-from-a-Ba....

When you use the code in the KB article, the unit freezes and I have to remove the battery...

My application extends UIApplication, is there another way to do it?

Thank you!

Well, I managed to do work by creating a class that extends the Application of my background process and do enter the thread of events.

Tags: BlackBerry Developers

Similar Questions

  • How can I do to block the main thread when to display a dialog box

    I have a problem to block the user interface main thread when to display a dialog box (the dialog was created by the main Application), and when the dialog box is closed, the main Application can go to the next step.
    Here is my code:

    SerializableAttribute public class TitledPaneExample extends Application {}
    instance of TitledPaneExample private;
    StackPane mainModalDimmer;

    /*
    * (non-Javadoc)
    *
    * @see javafx.application.Application #start (javafx.stage.Stage)
    */
    @Override
    public void start (point primaryStage) bird Exception {}
    instance = this;
    primaryStage.setTitle (this.getClass () m:System.NET.SocketAddress.ToString ());

    final StackPane layerPane = new StackPane();
    layerPane.setDepthTest (DepthTest.DISABLE);
    layerPane.setStyle ("background - fx - color: BLACK ;"); ")

    Vb VBox = new VBox();
    vb.setStyle ("background - fx - color: BLUE ;"); ")
    vb.getChildren () .add new (Label ("1"));
    vb.getChildren () .add (Label ("2")) new;
    vb.getChildren () .add new (Label ("3"));
    vb.getChildren () .add (Label ("4")) new;

    Bt1 button = new Button ("bt1");
    BT1.setOnAction (new EventHandler < ActionEvent > () {}
    {} public void handle (ActionEvent event)
    System.out.println ("bt1 trying to the new dialog box > > >");
    Dialogue di = new dialog box (instance, "some trick here!");
    System.out.println ("bt1 dialogue again successfully, try to show");
    di. Show();
    System.out.println ("bt1 dialog hide? < < < < ");"
    }
    });
    vb.getChildren () .add (bt1).

    layerPane.getChildren () .add (vb);

    mainModalDimmer = new StackPane();
    mainModalDimmer.setId ("MainModalDimmer");
    mainModalDimmer.setMaxSize (Double.MAX_VALUE, Double.MAX_VALUE);
    mainModalDimmer.setVisible (false);
    mainModalDimmer.setStyle ("background - fx - color: RED ;"); ")
    layerPane.getChildren () .add (mainModalDimmer);

    Scene sc = new scene (layerPane, 800, 600);
    primaryStage.setResizable (true);
    primaryStage.setScene (sc);
    primaryStage.show ();

    }

    /**
    * Display the node given as a floating dialog on the entire application, with
    * the rest of the application grayed out and blocked from mouse events.
    *
    @param message
    */
    {} public void showModalMessage (message from node)
    mainModalDimmer.getChildren () .add (message);
    mainModalDimmer.setOpacity (0);
    mainModalDimmer.setVisible (true);
    mainModalDimmer.setCache (true);
    TimelineBuilder
    . Create()
    () .keyFrames
    new KeyFrame (Duration.seconds (1),)
    new EventHandler < ActionEvent > () {}
    {} public void handle (ActionEvent t)
    mainModalDimmer.setCache (false);
    }
    }, new KeyValue (mainModalDimmer
    . opacityProperty(), 1.
    Interpolator.EASE_BOTH))) infrastructure)
    . Play();
    }

    /**
    Hide the any modal message that appears
    */
    public void hideModalMessage() {}
    mainModalDimmer.setCache (true);
    TimelineBuilder
    . Create()
    () .keyFrames
    new KeyFrame (Duration.seconds (1),)
    new EventHandler < ActionEvent > () {}
    {} public void handle (ActionEvent t)
    mainModalDimmer.setCache (false);
    mainModalDimmer.setVisible (false);
    mainModalDimmer.getChildren () .clear ();
    }
    }, new KeyValue (mainModalDimmer
    . opacityProperty(), 0,.
    Interpolator.EASE_BOTH))) infrastructure)
    . Play();
    }

    /**
    @param args
    */
    Public Shared Sub main (String [] args) {}
    Launch();
    }

    Dialogue/public class extends TitledPane {}
    private owner of TitledPaneExample = null;
    instance of TitledPane private;

    Dialogue (owner of TitledPaneExample, String message) {}
    This.Owner = owner;
    this.parentThreand = Thread.currentThread ();
    This.instance = this;
    this.setExpanded (true);
    this.setText ("Dialog");
    this.setMaxWidth (400);
    this.setPrefWidth (300);
    this.setMinWidth (200);

    Label the tx = new Label ("message");
    tx.setTooltip (new Tooltip (message));
    tx.setWrapText (true);
    tx.setContentDisplay (ContentDisplay.LEFT);

    Bt button = new Button ("OK");
    bt.setOnAction (new EventHandler < ActionEvent > () {}
    {} public void handle (ActionEvent event)
    masquer();
    }
    });

    Sp ScrollPane = new ScrollPane();
    sp.setHbarPolicy (ScrollBarPolicy.AS_NEEDED);
    sp.setVbarPolicy (ScrollBarPolicy.AS_NEEDED);
    sp.setContent (tx);

    Hb HBox = new HBox (30);
    hb.setPrefHeight (40);
    hb.setAlignment (Pos.CENTER_RIGHT);
    hb.getChildren () .add (bt);

    BP BorderPane = new BorderPane();
    bp.setCenter (sp);
    bp.setBottom (hb);

    this.setContent (bp);
    }

    {} public void show()
    System.out.println ("dialogue show() 1 > > >");

    owner.showModalMessage (instance);

    System.out.println ("dialogue show() 2 > > >");

    }

    public void masquer() {}
    System.out.println ("dialogue masquer() 1 > > >");
    this.owner.hideModalMessage ();

    System.out.println ("dialogue masquer() 2 > > >");
    }
    }

    }

    I'm also interested in how to do this without the use of a step.

    But, if you are ready to use a step for this, you can create a useful first step (without borders) with its owner being your current stage. Then, you can call the function showAndWait on stage that allows to block the thread of your application. For example, I implemented a DialogStage like this:

    package hs.mediasystem.util;
    
    import javafx.animation.KeyFrame;
    import javafx.animation.KeyValue;
    import javafx.animation.Timeline;
    import javafx.event.EventHandler;
    import javafx.scene.effect.ColorAdjust;
    import javafx.stage.Modality;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    import javafx.stage.Window;
    import javafx.stage.WindowEvent;
    import javafx.util.Duration;
    
    public class DialogStage extends Stage implements Dialog {
    
      public DialogStage() {
        super(StageStyle.TRANSPARENT);
    
        this.setTitle("MediaSystem-dialog");
    
        initModality(Modality.APPLICATION_MODAL);
      }
    
      protected void setParentEffect(Stage parent) {
        ColorAdjust colorAdjust = new ColorAdjust();
    
        Timeline fadeOut = new Timeline(
          new KeyFrame(Duration.ZERO,
            new KeyValue(colorAdjust.brightnessProperty(), 0)
          ),
          new KeyFrame(Duration.seconds(1),
            new KeyValue(colorAdjust.brightnessProperty(), -0.5)
          )
        );
    
        parent.getScene().getRoot().setEffect(colorAdjust);
    
        fadeOut.play();
      }
    
      protected void removeParentEffect(Stage parent) {
        parent.getScene().getRoot().setEffect(null);
      }
    
      protected void recenter() {
        Window parent = getOwner();
    
        sizeToScene();
    
        setX(parent.getX() + parent.getWidth() / 2 - DialogStage.this.getWidth() / 2);
        setY(parent.getY() + parent.getHeight() / 2 - DialogStage.this.getHeight() / 2);
      }
    
      @Override
      public final void showDialog(final Stage parent, boolean synchronous) {
        initOwner(parent);
    
        setParentEffect(parent);
    
        setOnShown(new EventHandler() {
          @Override
          public void handle(WindowEvent event) {
            recenter();
            onShow();
          }
        });
    
        if(synchronous) {
          showAndWait();
        }
        else {
          show();
        }
      }
    
      protected void onShow() {
      }
    
      @Override
      public void close() {
        removeParentEffect((Stage)getOwner());
        super.close();
      }
    }
    
  • Display a dialog box after the ejection of a USB drive, saying the car was ejected

    Hi, would someone please tell me how to change the applescript below to eject my USB in 2 ways, either by waiting 30 seconds by pressing the button "YES". Then, once the disc has been ejected another dialog box would appear to say 'eject disk '. If 'NO' button has been activated the reader wouldn't be ejected. My USB is indicated as (the present book).  Thanks in advance for any help.

                                                                tell application 'Finder '.

    display the dialog box "Eject USB drive?" default button 1 with the title "Eject?" buttons {'yes', 'No'} give up after 30

    If the button returned of the result is 'yes' then ejection of the this book

    tell the end

    Here:

    Tell application "Finder".

    Display dialog "Eject USB Drive?" buttons {"Yes", "No"} default button 1 with the title "Eject?" give up after 3

    If the result back button is 'yes' or abandoned then of the result

    This book of ejection

    display the dialog box 'Disc ejected.'

    end if

    tell the end

    (143586)

  • Output manual is not display the dialog box

    Hello

    I try to display a dialog box to the exit, but it does not work. Here is my code.

    import bb.cascades 1.0

    import bb.system 1.0

    import bb.cascades.advertisement 1.0

    {Page}

    Menu.Definition: MenuDefinition {}

    settingsAction: {SettingsActionItem}

    onTriggered: {}

    }

    }

    }

    {Of container

    {Of container

    ID: mainContainer

    layout: {DockLayout}

    }

    horizontalAlignment: HorizontalAlignment.Fill

    verticalAlignment: VerticalAlignment.Fill

    {Of container

    ID: bgContainer

    verticalAlignment: VerticalAlignment.Fill

    horizontalAlignment: HorizontalAlignment.Fill

    ImageView {}

    objectName: "bgImage".

    imageSource: ' images/bg_green.png.

    scalingMethod: ScalingMethod.AspectFill

    verticalAlignment: VerticalAlignment.Fill

    horizontalAlignment: HorizontalAlignment.Fill

    }

    }

    {Of container

    ID: contentContainer

    leftPadding: 20.0

    topPadding: 10.0

    rightPadding: 20.0

    bottomPadding: 0.0

    verticalAlignment: VerticalAlignment.Fill

    horizontalAlignment: HorizontalAlignment.Fill

    {Of container

    ID: titleContainer

    verticalAlignment: VerticalAlignment.Top

    horizontalAlignment: HorizontalAlignment.Fill

    layout: {StackLayout}

    direction: LayoutOrientation.LeftToRight

    }

    topPadding: 10.0

    {Of container

    ID: imageContainer

    leftPadding: 20.0

    topPadding: 10.0

    bottomPadding: 10.0

    rightPadding: 20.0

    verticalAlignment: VerticalAlignment.Center

    horizontalAlignment: P

    ImageView {}

    ID: icon

    imageSource: ' images/ic_safe.png.

    verticalAlignment: VerticalAlignment.Center

    horizontalAlignment: P

    objectName: "stateImage."

    }

    }

    {Of container

    ID: topTextContainer

    verticalAlignment: VerticalAlignment.Center

    {Label

    text: 'SAFE'

    textStyle.color: Color.White

    textStyle.fontSize: FontSize.PointValue

    textStyle.fontWeight: FontWeight.Bold

    objectName: "stateLabel."

    textStyle.fontSizeValue: 17.0

    }

    }

    }

    {Of container

    verticalAlignment: VerticalAlignment.Center

    horizontalAlignment: P

    layoutProperties: {StackLayoutProperties}

    spaceQuota: 1.0

    }

    {Of container

    horizontalAlignment: P

    verticalAlignment: VerticalAlignment.Center

    layoutProperties: {StackLayoutProperties}

    spaceQuota: 1.0

    }

    layout: {DockLayout}

    }

    {Of container

    verticalAlignment: VerticalAlignment.Center

    horizontalAlignment: P

    {Of container

    ID: usedContainer

    {Of container

    ID: percentContainer

    {Label

    ID: percentLabel

    text: "74."

    textStyle.color: Color.White

    textStyle.fontSize: FontSize.PointValue

    textStyle.fontWeight: FontWeight.Normal

    textStyle.fontSizeValue: 40.0

    textStyle.textAlign: TextAlign.Center

    textStyle.fontStyle: FontStyle.Normal

    objectName: "percentLabel."

    }

    }

    {Of container

    leftPadding: 30.0

    rightPadding: 30.0

    verticalAlignment: VerticalAlignment.Center

    horizontalAlignment: P

    ImageView {}

    imageSource: ' images/ic_percentage.png.

    verticalAlignment: VerticalAlignment.Center

    horizontalAlignment: P

    }

    {Label

    text: 'used '.

    textStyle.color: Color.White

    textStyle.fontSize: FontSize.PointValue

    textStyle.fontSizeValue: 8.0

    }

    }

    layout: {StackLayout}

    direction: LayoutOrientation.LeftToRight

    }

    verticalAlignment: VerticalAlignment.Top

    }

    {Of container

    ID: remContainer

    verticalAlignment: VerticalAlignment.Center

    horizontalAlignment: HorizontalAlignment.Fill

    {Of container

    layout: {StackLayout}

    direction: LayoutOrientation.LeftToRight

    }

    verticalAlignment: VerticalAlignment.Center

    horizontalAlignment: P

    {Of container

    ID: countContainer

    rightPadding: 10.0

    leftPadding: 10.0

    topPadding: 0.0

    verticalAlignment: VerticalAlignment.Bottom

    {Label

    ID: countLabel

    text: "7."

    textStyle.color: Color.White

    textStyle.fontSize: FontSize.PointValue

    textStyle.fontSizeValue: 14.0

    objectName: "daysLabel."

    }

    }

    {Of container

    verticalAlignment: VerticalAlignment.Bottom

    bottomMargin: 0.0

    bottomPadding: 12.0

    {Label

    text: "days left".

    textStyle.color: Color.White

    objectName: "daysInfoLabel."

    textStyle.fontSize: FontSize.PointValue

    textStyle.fontSizeValue: 8.0

    }

    }

    }

    {Of container

    horizontalAlignment: P

    {Label

    ID: rangeLabel

    text: "2 February - 1 March"

    textStyle.color: Color.White

    objectName: "daysRangeLabel."

    textStyle.fontSize: FontSize.PointValue

    textStyle.fontSizeValue: 8.0

    }

    }

    }

    }

    }

    }

    {Of container

    verticalAlignment: VerticalAlignment.Bottom

    horizontalAlignment: P

    layout: {StackLayout}

    direction: LayoutOrientation.LeftToRight

    }

    {Of container

    horizontalAlignment: P

    layout: {StackLayout}

    direction: LayoutOrientation.TopToBottom

    }

    topPadding: 10.0

    bottomPadding: 10.0

    verticalAlignment: VerticalAlignment.Bottom

    layoutProperties: {StackLayoutProperties}

    spaceQuota: 1.0

    }

    {Of container

    horizontalAlignment: P

    ImageView {}

    imageSource: ' images/ic_cell.png.

    verticalAlignment: VerticalAlignment.Center

    horizontalAlignment: P

    visible: true

    }

    }

    {Of container

    ID: cellContainer

    horizontalAlignment: P

    topPadding: 5.0

    bottomPadding: 5.0

    visible: true

    {Of container

    horizontalAlignment: P

    {Label

    text: "147.4 MB.

    textStyle.color: Color.White

    textStyle.fontWeight: FontWeight.Bold

    objectName: "cellTotalLabel."

    textStyle.fontSize: FontSize.PointValue

    textStyle.fontSizeValue: 8.0

    }

    }

    {Of container

    topPadding: 5.0

    bottomPadding: 5.0

    horizontalAlignment: P

    {Label

    text: "140 MB, 7.4 MB out."

    textStyle.color: Color.White

    textStyle.fontSize: FontSize.PointValue

    verticalAlignment: VerticalAlignment.Bottom

    objectName: "cellCountLabel."

    textStyle.fontSizeValue: 6.0

    }

    }

    }

    }

    {Of container

    horizontalAlignment: HorizontalAlignment.Fill

    layoutProperties: {StackLayoutProperties}

    spaceQuota: 1.0

    }

    layout: {StackLayout}

    direction: LayoutOrientation.TopToBottom

    }

    topPadding: 10.0

    bottomPadding: 10.0

    {Of container

    horizontalAlignment: P

    ImageView {}

    imageSource: ' images/ic_wifi.png.

    verticalAlignment: VerticalAlignment.Center

    horizontalAlignment: P

    }

    }

    {Of container

    ID: wifiContainer

    horizontalAlignment: P

    bottomPadding: 5.0

    topPadding: 5.0

    {Of container

    horizontalAlignment: P

    {Label

    text: '26.6 MB.

    textStyle.color: Color.White

    textStyle.fontWeight: FontWeight.Bold

    textStyle.fontSize: FontSize.PointValue

    textStyle.fontSizeValue: 8.0

    objectName: "wifiTotalLabel."

    }

    }

    {Of container

    topPadding: 5.0

    bottomPadding: 5.0

    horizontalAlignment: P

    {Label

    text: "20 MB, 6.6 MB out."

    textStyle.color: Color.White

    textStyle.fontSize: FontSize.PointValue

    verticalAlignment: VerticalAlignment.Bottom

    objectName: "wifiCountLabel."

    textStyle.fontSizeValue: 6.0

    }

    }

    }

    }

    }

    {Of container

    objectName: "bannerContainer."

    horizontalAlignment: P

    }

    }

    }

    }

    onCreationCompleted: {}

    Application.autoExit = false;

    Application.manualExit.connect (onManualExit);

    }

    function onManualExit() {}

    Show)

    }

    attachedObjects:]

    {SystemDialog}

    ID: dialogue

    Title: «DataCheck Pro»

    body: "" the application must always be running to make estimates as accurate as possible. "" Are you sure to terminate the application? »

    confirmButton.label: "Close"

    onFinished: {}

    If (dialog.result == 3) {}

    Dialog.Cancel ();

    } else {}

    Dialog.Cancel ();

    Application.Quit () / / myPlayer.stop)

    }

    }

    }

    ]

    }

    Help, please?

    Solved by putting setClosePrompt()

  • Displaying a dialog box when you open an application

    Hello

    I need to know is possible for me to show a dialog when the user opens my request?

    There will be an error when you put the code in the dialog box in the constructor.

    Does anyone of you have examples of code for this?

    Thanks in advance.

    I believe that by extracting the appropriate bits of the following three items, you should have enough information to be able to do it by yourself.

    How - to display a graphical interface to the BlackBerry device to start
    Article number: DB-00539

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/How_To _...

    It speaks of a GUI display to start the system, but the concepts are the same for the start of the application

    How - to create a splash screen
    Article number: DB-00119

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800256/...

    You shouldn't do this if you want to display a dialog box.

    How - to detect the availability of the system at boot
    Article number: DB-00642

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_to_-_Detec...

    It strengthens the arguments made in the other articles in the KB.

  • How to display the dialog box before uninstalling an application?

    Hello

    I want to display an alert dialog box before an application is uninstalled, has no idea how to do this?

    If not how can I detect a first run of an application after the installation?

    I have not tried out, just an idea.

    (A) there is a class called CodeModuleManager can check his stats module.

    So, in your application context thread to check his stats module.

    If it is marked as deleted, you can extract a global dialog box.

    (B) to implement SystemListener2, when the fastReset event occurs, you can check the stats module, if it is marked as deleted.

    you pop up GlobalDialog and force the user to interrupte.

    See you soon.

  • How to create a dialog box for an inner thread

    Hi all

    I am trying to create a thread in which I am trying to establish an http connection. But when there is an exception. I want to inform the user of the exception by pushing a dialogue or a modal screen. But the dialogue is not calling. Any body knows how to push the inner thread dialog box

    / public class GPRSChanlInf implements Runnable {}

    public static thread = null;

    public String getResponse (String url_final) {}

    thread = new Thread (this);
    thread. Start();
    Thread.Sleep (20);

    }

    public void run() {}
    InputStream is = null;
    OutputStream os = null;
    HttpConnection conn = null;

    try {}

    Conn = (HttpConnection) Connector.open (url_final, Connector.READ_WRITE, true);

    }

    catch (Exception e) {e.printStackTrace () ;}
    }

    Looks OK code, intervened you in the code to ensure that the dialog box is actually called?

    Also can you confirm that this code is executed by a UiApplication who has "enterEventDispatcher()."

  • Windows 8: the Page out of the display properties dialog box

    Disappointed.

    Serious problems trying to use the Muse of 2014. I don't know that there is a ready version of GoLive.

    Windows 8.1

    Intel Core i7-3630QM 2.40 GHz

    8.00 GB

    64 bit

    Membership of creative cloud

    Adobe Muse 2014

    I can only see the bottom right of the Page Properties dialog box.

    This occurs on all pages, including the new (fresh) masters and Pages.

    Sometimes I really have to 'Start' to move a cursor in a user interface control... it's annoyiinnnggg

    I won't be able to use the Muse 2014 until I get this resolved. I would appreciate your help as I am looking forward to the last version...

    Thank you

    s

    Set your display to scale to 100% or 150%. Muse 2014 is incompatible with how Windows 8 and 8.1 reach 125% implemented nationally.

  • Firefox plays after clicking on links for her instead of display the dialog box for play/download mp3/wav

    Firefox when trying to play wavs/mp3s after clicking on link to it instead of display the dialog to open/download. In preferences on the applications tab, I always chose "ask" in the types of wav and mp3 files, but it does not solve this problem.

    This has happened

    Each time Firefox opened

    == I'm not sure

    Firefox will play the file if you have a drive installed that supports the mime type that the server sends to this file.

    See "File handling in Firefox 3 and SeaMonkey 2": http://kb.mozillazine.org/File_types_and_download_actions

  • How to display the dialog box?

    Hello

    I checked the box to hide an error dialog box, how do I show it again?

    Thank you

    Edition - Preferences - general, look down for this button:

    -Christmas

  • How you can display a dialog box when opening a program?

    Hello

    Does anyone know how to do to have a dialog with a custom message pop up every time that a specific program is open?  The computer is running Windows XP Professional 2002 with Service Pack 3.  The program is used to operate a scientific instrument that keeps the damage by lab users who disregard the instructions printed around it.  Ideally, I could have a pop up dialog that requires users to click on the 'OK' button before the program opens.  I have spent some time surfing the web for ideas, but have so far come back empty-handed.  The program is generally open from a shortcut on the desktop.

    Thank you very much

    Jeremy

    You can create a small shell script which displays a message first, then open the program once you click OK.  Delete your shortcut on the desktop and put a shortcut to this script instead.  You can even customize the icon of the shortcut to the script so that we don't see even a difference.

    How to run a program from a script:

    http://msdn.Microsoft.com/en-us/library/d5fk67ky (v = vs. 84) .aspx

    Here is the final code (with the exception of this in Notepad as a type of "vbs" file). It displays the message, and then running the executable program specified in the last line quotes (currently set to run write.exe outside directory windows.

    startupMessage = MsgBox ("responsible use of this program.", 0, "Woah there!")

    Set WshShell = WScript.CreateObject ("WScript.Shell")
    WshShell.Run "%windir%\write.exe".

  • Is it possible to display a dialog box with the fields/custom controls for the Windows Vista login screen to the top.

    Hello

    In Windows XP (prior to Windows Vista), a Service could be interactive and display a window/dialog on the login screen.

    Of course services are no longer allowed to be interactive, and certainly, I agree that it is an improvement in security.

    However, say if I wanted to do one of the following values, which is possible (and how to implement). I don't mind what language I have to set in.

    (1) add a button in the login screen that says "Reset Password" which will then invite a form with questions of security.

    (2) run an application within the login window

    Really appreciate any help on this matter,

    Mark

    Hi Mark,

    The question you posted would be better suited in the MSDN Forums; We recommend that you post your question in the MSDN Forums to get help:

    http://social.msdn.Microsoft.com/forums/en-us/categories

    See the following for more information Microsoft article.

    http://blogs.msdn.com/b/securitytools/archive/2009/07/30/how-to-build-custom-logon-UI-s-in-Windows-Vista.aspx

    http://blogs.technet.com/b/Aho/archive/2009/11/15/custom-credential-provider-for-password-reset.aspx

    Keep us updated on the status of the issue.

  • Display the dialog box when you open a report

    Hi all

    Currently, in one of the dashboard, for a particular report, I selected the link display in a separate window (properties-> display options - > link in a separate window). Since then, all the print, download links are displayed at the bottom of the report, users are Dungeon forget these links. I tried to post the links at the top of the report and tried the solution that I found on the forum. but, no luck.

    Instead, I want to display a warning message when they click on any part of the report in the newly opened window (since then, I've selected display options - > link in a separate window). If I create an alert by using narrative view box, the alert box will be open, if I click on that particular place.

    But, my requirement is, should the popup box are displayed by saying: "Please scroll to the bottom of the page to download/print the report" when users click on any where, on the report.

    Is this possible at all? I appreciate your help in this regard.

    Thanks in advance.

    -Is it possible to have the following views
    View 1: static text + pivot table1
    See 2: narrative view + pivot table2?

    In other words, is it possible to have fixed views as a point of view? Please notify.

    Thanks in advance.

    Yes, you can.

    (1) create all your individual points of view.

    (2) put the static text and Pivot Table in the Layout of the compound.

    (3) duplicate available composed to get Compound page layout: 2

    (4) while Compound layout: 2 delete and add narrative view and Pivot Table views: 2.

    (5) duplicate Mateur mode once more for the compounds page layout: 3

    (6) create the view selector with implantation and setting compound in page: 2 compound as the two points of view. Name them appropriately.

    (7) in the Layout composed: 3, delete all notices and add selector display.

    Now, users can switch between the two sets of views.

    Edited by: David_T on October 5, 2010 14:48

  • displaying the dialog box "your Session will time out, extend or close"?

    Hello!

    We have a duty to post a warning to users only (1 minute) before the session is going to expire and ask the user if he wants to extend the session or close the session (in which case, we close the browser window). We were able to come up with a likely solution but would like to know what other people are doing / will be in similar scenarios.

    Here's what we came with:

    1. on each page load we set/update a cookie that is supposed to follow the session expires. And we have a javascript timer that counts down to the inactivity of the user. In the event of any PPR on the page, then we plan to add a hook to the PPR javascript calls, so that we can update the cookie expires not only on page load/refreash, but each call PPR performed on the server.

    We have a concern that we are all only javascript function on the client side. Is our approach in the right direction? Is there a better way to achieve the same? Are there issues of security/traps involved in our design?

    2. I read in some articles/forum discussions we can poll the server on a regular interval to see the time remaining for the session expires, and as soon as we have the time to last minute, we can display a popup javascript to the user. But I doubt that wouldn't poll itself refresh the activity of users on the server and reset the normal session on each poll timeout? In this case would not always get the same information of time remaining for each survey? I misunderstood something here? some explain how to implement from session expiration time of the poll on the server?

    3. all new ideas are welcome!

    Thank you and best regards,

    Samba

    Hello

    Well, if you use the af:poll command, then the session never expires because from a server point of view, the user frequently sends a request. So if you prefer this option, then you will need to expire the invalidate() programmatically by calling session on the session

    javaScript is the only option that I can imagine that works without a vote.

    Frank

  • Hi, SEND my button has disappeared from my Apple Mail &amp; procedure of customization of the DISPLAY toolbar displays the dialog box with no icon of the button SEND to drag-and - drop on my desk.

    G, day,

    I have an iMac 21 "and use Applemail. However, my mail SEND icon is spent on the missing list and raise VIEW / 'Customize toolbar' does not contain the icon SEND so that I could drag-and - drop to the right / top corner where it should belong. Any help would be welcome.

    PS My incoming mail has also stopped. Moderate P.C. Savvy.

    Kind regards.

    Alan B.

    The button send when you are working in a new message or a reply. It is not in the view of the overall message.

    Missing when you create a new message or reply to a message?

Maybe you are looking for

  • If I switched from IE to Mozilla Firefox should I keep IE installed on my computer?

    I switched from Internet Explorer to Mozilla Firefox browsers. I need to uninstall unnecessary programs to increase space on my computer. I can uninstall IE without losing important documents? All my favorites seem to have passed on, however I'm not

  • Motorola Services App update

    My phone MTOW 1052 xt model number an app not updated (Motorola Update Services App)

  • Anbody can help me

    Hey can someone help me get the code for my hp laptop of my administrator password or power on password? They gave me these numbers 945 55406 for disabled system

  • The Printer Wizard

    After the update of online software, the wizard of the printer does not work.

  • You can Boot from a disk upgrade?

    I recently acquired an official Windows 7 Professional Upgrade disk and I was wondering if it was possible to start directly from that or I need to run the "Windows Anytime Upgrade"? See you soon.