To display the result in the dialog box
Hi all!
I wonder if there is a way to make me at the end of a process, to display the result (number or string), I got in a dialog box.
I mean at the end there is a dialog box containing the message as "the result is xxx" xxx is the result of this process.
Any idea about it? Thanks in advance!
Chao
Tags: NI Software
Similar Questions
-
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
-
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()
-
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 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
-
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
-
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?
-
After closing the dialog box screen, menu by default is displayed
I have a simple program that consists of a screen and a button. When the button is clicked, it displays a dialog box in the button handler. Once the dialog box is closed, the parts of the menu are displayed. Very strange.
Here's the code that displays the dialog box:
public void fieldChanged( Field field, int context ) { String label = ""; if ( field instanceof ButtonField ) { label = ((ButtonField)field).getLabel(); } //if this was the login button, display the popup. if ( label.equalsIgnoreCase( "Login" ) ) { String icon = "questionmark.png"; Bitmap bitmap = Bitmap.getBitmapResource( icon ); String [] options = new String [] { "Yes", "No", "Cancel" }; int [] optionIndexes = new int [] { Dialog.YES, Dialog.NO, Dialog.CANCEL }; Dialog dialog = new Dialog( "Select an option", options, optionIndexes, optionIndexes[2], bitmap ); dialog.doModal(); } }
Once the dialog box is closed, this is:
I have no idea why this show after the closure of the dialog box. Any ideas?
Well done
I think that many people would find answers to their questions if they tried harder with search. And you find faster as well! And whenver I creative search, I usually find something else useful that I was looking for. Kind of like Google where you can go off on a complete tangent...
In any case, can mark you this as resolved? See you soon
-
Ignore the dialog box find sequence
When running if TestStand isn't the .seq file, it display the dialog box to search for
dialogue .seq. I'd like to display this dialog box to the user and continue execution with the next available sequence.
Is there an option that can turn off the display of this dialog to the user?
Thank you
VS
Ah, found the option - command prompt to search for files in the preferences.
-VS
-
Prevent the dialog box fill with scripts
Hello.
I have an automation script that fills some pixels on a layer. Everything works, but sometimes it displays the dialog box to fill for the parameters with some png files (not all). I need to get rid of the dialog box. Is it possible to do this with the script? for example a default option?
Thank you!
Photoshop 2015.5 CC
Windows 8.1
Well, look's like I solved it the problem.
The dialog box showed on the png files, Image-> Mode-> indexed color.
So I added prior to filling, the following script, which will ensure the RGB Image Mode:
var idCnvM = charIDToTypeID( "CnvM" );
var desc36 = new ActionDescriptor();
var idT = charIDToTypeID( "T " );
var idRGBM = charIDToTypeID( "RGBM" );
desc36.putClass( idT, idRGBM );
executeAction( idCnvM, desc36, DialogModes.NO ); -
Display document data in the dialog box
I use a folder level script to do the following:
Get the value of a specific field XMP against an open PDF file:
this.info.InDesignFileName
Define a dialog box
Create a menu item that calls up the dialog box
But for the life of me, I can't get the dialog creation function to fill the XMP value in a static text element.
The function below is changed from the right example out of the Acrobat Javascript API Reference.
var inDesignNameDialog = {}
initialize: function {(dialogue)
store InDesignFileName XMP
var indfn = this.info.InDesignFileName
Create a static text containing the current date.
/ * var todayDate = dialog.store () ["date"];
todayDate = "Date:" + util.printd ("mmmm dd, yyyy", new Date()); "."
Dialog.Load ({'date': todayDate});
*/
var todayDate = dialog.store (['indfn']);
currFN = "Date:"+ this.info.InDesignFileName; "
Dialog.Load ({"indfn": currFN});
},
function: Commit (dialog) {/ / called pressed OK}
results var = dialog.store ();
Now do something with the data collected, for example,
Console.println ("your name is" + results ["fnam"]
+ "" + results ['lnam']);
},
Description:
{
name: 'Personal data', / / title of the dialog box
align_children: 'align_left,
Width: 350,
height: 200,.
elements:
[
{
type: "cluster."
name: 'Your name',
align_children: 'align_left,
elements:
[
{
type: "display."
align_children: "align_row."
elements:
[
{
type: 'static_text. "
name: "" first name: ".
},
{
item_id: 'fnam ',.
type: 'edit_text. "
alignment: "align_fill",.
Width: 300,
height: 20
}
]
},
{
type: "display."
align_children: "align_row."
elements:
[
{
type: 'static_text. "
name: "" name: ".
},
{
item_id: "lnam."
type: 'edit_text. "
alignment: "align_fill",.
Width: 300,
height: 20
}
]
},
{
type: 'static_text. "
name: "InDesign file name: «,»»
char_width: 50,.
item_id: "indfn."
},
]
},
{
alignment: 'align_right ',.
type: "ok_cancel."
ok_name: "Ok."
cancel_name: "Cancel".
}
]
}
};
cExec: "inDesignNameDialog.parentDoc =; app.execDialog (inDesignNameDialog); «,
-
Hello
I have a background application that listens to a webservice and informs the user if he has a new message.
I use the following code:
UI UiEngine is Ui.getUiEngine ();.
Dialog dlg = new dialog box (Dialog.D_YES_NO, "you have a new Message...
ui.pushGlobalScreen (dlg, 1, UiEngine.GLOBAL_QUEUE);
The problem is, I want to show this dialog only once (now the dialogues are overlapping when several messages in a short time)! and (of course) I want to perform different actions for YES/No. How can I get the result of the dialog box, because I can't use
int result = Dialog.ask (.);
Find anything useful on the web, so any ideas?
Greetings
Dominik
dlg.setDialogClosedListener () takes care of these two questions: dialogClosed() both marks the time (you can notice some synchronization object, for example) and gets the choice as a parameter index.
Good luck!
-
When I place my svg file is not displayed in the dialog box
When I place my svg file is not displayed in the dialog box
Hi Hernanv24680251,
Muse so far don't show any dialog box when you place an SVG in it. Please see the link below which explains more using SVG in Muse.
With the help of Graphics SVG in Muse
Kind regards
Vivek
-
Developer SQL 2.1: problem with the dialog box to change the display
I am running Version 2.1.0.63 on Windows XP SP3.
When I open an existing view and make changes in the change display dialog box and then click on the button OK the dialog box remains open and the view is not changed.
This user has Create View privileges and can run CREATE or REPLACE the sql statement to change the view. The same view of edition having the same user works very well in Version 1.5.3.
Someone else has a similar problem?
Thank you.It's a bug, the following exception is raised:
Exception occurred during event dispatching: oracle.javatools.db.ddl.UnsupportedDDLException: Cannot update VIEW MADREMIA with the given changes using ALTER statements. at oracle.javatools.db.ddl.DDLGeneratorImpl.getUpdateDDLImpl(DDLGeneratorImpl.java:480) at oracle.javatools.db.ddl.AbstractDDLGenerator.processResultSet(AbstractDDLGenerator.java:148) at oracle.javatools.db.ddl.AbstractDDLGenerator.getUpdateDDL(AbstractDDLGenerator.java:110) at oracle.javatools.db.ddl.DDLDatabase.appendUpdateDDL(DDLDatabase.java:661) at oracle.javatools.db.ddl.DDLDatabase.updateObjects(DDLDatabase.java:556) at oracle.ide.db.dialogs.CascadeConfirmDialog.updateObjects(CascadeConfirmDialog.java:111) at oracle.ide.db.panels.TabbedEditorPanel.commitToProvider(TabbedEditorPanel.java:357) at oracle.ide.db.panels.TabbedEditorPanel.onExit(TabbedEditorPanel.java:246) at oracle.ideimpl.db.panels.TraversableProxy.onExit(TraversableProxy.java:62) at oracle.ide.panels.TDialog$L.vetoableChange(TDialog.java:104) at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:335) at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:252) at oracle.bali.ewt.dialog.JEWTDialog.fireVetoableChange(JEWTDialog.java:1472) at oracle.bali.ewt.dialog.JEWTDialog.dismissDialog(JEWTDialog.java:1502) at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(JEWTDialog.java:1894) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178) at java.awt.Dialog$1.run(Dialog.java:1045) at java.awt.Dialog$3.run(Dialog.java:1097) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1095) at java.awt.Component.show(Component.java:1563) at java.awt.Component.setVisible(Component.java:1515) at java.awt.Window.setVisible(Window.java:841) at java.awt.Dialog.setVisible(Dialog.java:985) at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395) at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356) at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55) at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225) at oracle.ide.db.dialogs.BaseDBEditorFactory.launchDialog(BaseDBEditorFactory.java:623) at oracle.ide.db.dialogs.BaseDBEditorFactory.editDBObject(BaseDBEditorFactory.java:368) at oracle.ide.db.dialogs.AbstractDBEditorFactory.editDBObject(AbstractDBEditorFactory.java:332) at oracle.ide.db.dialogs.BaseDBEditorFactory.editDBObject(BaseDBEditorFactory.java:54) at oracle.ide.db.dialogs.AbstractDBEditorFactory.editDBObject(AbstractDBEditorFactory.java:314) at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.editObject(DatabaseNavigatorController.java:470) at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:308) at oracle.ide.controller.IdeAction.performAction(IdeAction.java:531) at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:886) at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:503) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266) at java.awt.Component.processMouseEvent(Component.java:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Bug 9199263 has been filed for this, but apparently it wasn't a showstopper for the production. It may be set in one of the upcoming patches...
Kind regards
K. -
Value of the parameter is not displayed when moving from page of the dialog box
Hello
The question I face, is that I have a backup button with the logic in the PFR in which I call a page of dialogue that has an OK button. I give the floor to press ok another page. I need to capture a XXParty parameter that I put in the CO LIC key but is not displayed in the central of the PR of the other page that is called when you press the OK button. Probably I'm missing something very small. Any help would be greatly appreciated. Thank you
SAVE BUTTON controller LIC... (Call the dialog box and the parameter)
=============================================
If (SaveButton! = null)
{am.invokeMethod ("addNotes", params); Transaction record.
System.out.println ("save backwards");
Try to build your own Page of dialogue here...
String MainUrl = "OA.jsp?page=xxksms/oracle/apps/imc/ksms/webui/ShipperOverviewPG & retainAM = Y;
OAException descMesg = new OAException ("XXTSA", "XX_KSMS_SAVED_NOTES");
OAException instrMesg = new OAException ("FND", "FND_CANCEL_ALERT");
DialogPage OADialogPage = new OADialogPage (OAException.INFORMATION, descMesg, null, MainUrl, null);
OK button to send back the values of the PartyID for CO of the ShipperOverview Page.
System.out.println ("The party ID is" + left); It is displayed.
dialogPage.setPostToCallingPage (true);
java.util.Hashtable formParams = new java.util.Hashtable (1);
formParams.put ("XXParty", out); Part definition ID in XXParty.
dialogPage.setFormParameters (formParams);
pageContext.redirectToDialogPage (dialogPage);
Partial code in the process asks in the called ShipperOverview Page of the dialog box's OK button
====================================================
super.processRequest (pageContext, webBean);
Am = (OAApplicationModule) pageContext.getApplicationModule (webBean) OAApplicationModule;
String XXId = pageContext.getParameter ("XXParty"); Try to recover part ID here of page of the dialog box.
System.out.println ("The PartyID is" + XXId);Salvation;
Try one of these two options.
1. pass the value of the part directly in the URL & get it 2nd co:
String MainUrl = 'OA.jsp?page=xxksms/oracle/apps/imc/ksms/webui/ShipperOverviewPG&retainAM=Y&XXParty="+Party;2. After selecting the button ok in the dialog box get the parameters in CO 1 himself then using URL forward, send them to CO 2
If (SaveButton! = null)
*{*
* //Your code... *.
*//..............*
*//............*Default OAException = new OAException ("XXABCD", "XXABCD_GNO_DELETE_WARNING");
DialogPage OADialogPage = new OADialogPage (OAException.WARNING, default, null, "","");
dialogPage.setOkButtonItemName ("DeleteYesButton");
dialogPage.setOkButtonToPost (true);
dialogPage.setPostToCallingPage (true);
String lineId = pageContext.getParameter ("lineId");
Hashtable ht = new Hashtable();
HT.put ("lineId", lineId);
HT.put ('actor', actor);
HT.put ("empId", empId);
dialogPage.setFormParameters (ht);
pageContext.redirectToDialogPage (dialogPage);*}*
* combination else if (pageContext.getParameter ("DeleteYesButton")! = null) {*}
String lineId = pageContext.getParameter ("lineId");
String = pageContext.getParameter ("actor") actor;
Var empId = pageContext.getParameter("empId");
HashMap formParams = new HashMap (1);
formParams.put ("lineId", lineId);
formParams.put ('actor', actor);
formParams.put ("empId", empId);
pageContext.forwardImmediately ("OA.jsp?page=/xxx/oracle/apps/xxabcd/appraisal/webui/DrillDownPG",
NULL, KEEP_MENU_CONTEXT,
NULL, formParams, true,
ADD_BREAD_CRUMB_NO);
*}*--
GsrC
Maybe you are looking for
-
I would like to know why the lone daily challenge is always won by someone who solves it generally lower then thirty seconds and around 100 shots or less? I noticed that on average it is resolved at a pace a little more than 3 moves a second. It is s
-
Satellite A30 and temperature monitoring
Hi all I am, I was wondering if any of you can recommend a good temperature, monitoring program?
-
What is the difference between 'Photos' and 'All of them'?
I migrated to iPhoto to picture several months ago. I also stored pictures in iCloud. I have about 8 000 photos. On the Photo, there is a file in the upper left corner labeled "pictures". Under the Albums, there is an another Doggie labelede "All
-
Compaq CQ58-201SQ: hard drive error
I did a check of the hard drive and it shows the following error: INTELLIGENT CONTROL: PAST DST LONG: FAILURE FAILURE ID: 9GFFUW-0007J8-MFKT0K-61E403 PRODUCT ID C6J14EA #AKE HARD DRIVE 1
-
Reinstall XP (box set) w / updated version and keep the settings?
My old installation of XP Professional (ver 2000 / SP1 retail box) is not working properly. Hundreds of antivirus, fixes Registry scans, updates and several hard drive card mother upgrade and later I lost some basic features *. Can I reinstall XP u