Displaying Text in a Dialog Box
I'm learning Java by reading the book : Java How to Program, 5th edition. Starting chapter 2, all the example programs use windows or dialog boxes to display output instead of display output in the command window. Can someone explain to me why is this necessary ? I'm a little confused reading some of the examples in this book.
personally, i dont think it's a good approach. for beginners, it would be better to learn the basic java concepts and enssential classes first cause this would give you a easier starting point. Then, trying mix your code up with graphical user interface(GUI), once you've got some basic ideas and coding experiences. for example, the tutorials on this web site does adopt this approach.
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
hope it helps. good luck.
Similar Messages
-
How to simply display resulting text in a dialog Box
Is there a way to simply display resulting text in a dialog Box - not a text edit document?
Doug_Thanks that's very helpful
What I am trying to to is to create a workflow that opens mail and displays iCal TO DO's that I have created throughout the day tagged with the word MAIL so they can be filtered.
At the moment the ACTIONS are:
Launch Mail
Get New Mail
Find TO DOs in iCal (Who's SUMMERY includes MAIL)
I get iCal To Do's as a result
But then...I can find no options to display the iCal Events that result.
Putting in the Applescript you posted displays a blank dialog box. This tells me that there is no text in the result.
Yet if I put a SPEAK TEXT in after find TO DOs it dutifully speaks my filtered TO DO's
I thought I might just try a NEW MAIL MESSAGE action.
This works great in the workflow. The content of the new mail is the filtered TO DOs.
But if I save it as an application (the form I need it in), mail simply opens blank when it reached that part of the work flow.
What would you recommend?
Thank again for your help,
Doug_
Message was edited by: Douglas Suiter
Message was edited by: Douglas Suiter
Message was edited by: Douglas Suiter -
Display document data in dialog box
I am using a folder level script to do the following:
Get a specific XMP field value from an open PDF file:
this.info.InDesignFileName
Define a dialog box
Create a menu item that calls the dialog box
But for the life of me, I cannot get the dialog creation function to populate the XMP value into a static text item.
The function below is modified from the example right out of the Acrobat Javascript API Reference.
var inDesignNameDialog = {
initialize: function (dialog) {
// 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 });
commit:function (dialog) { // called when OK pressed
var results = dialog.store();
// Now do something with the data collected, for example,
console.println("Your name is " + results["fnam"]
+ " " + results["lnam"] );
description:
name: "Personal Data", // Dialog box title
align_children: "align_left",
width: 350,
height: 200,
elements:
type: "cluster",
name: "Your Name",
align_children: "align_left",
elements:
type: "view",
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: "view",
align_children: "align_row",
elements:
type: "static_text",
name: "Last 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"By gosh, you are right. Thanks for the tip.
However, it still does not seem to be working:
The static text field is just empty.
The debugger shows error:
parentDoc is not defined
11:Menu:ExecReferenceError: parentDoc is not defined([object ADMDialog])@Menu:Exec:11
execDialog([object Object])@:0
@Menu:Exec:1
Your name is
Code as it stands right now:
var inDesignNameDialog = {
initialize: function (dialog) {
var currFN = dialog.store()["idfn"];
currFN = parentDoc.info.InDesignFileName;
dialog.load({ "idfn": currFN });
commit:function (dialog) { // called when OK pressed
var results = dialog.store();
// Now do something with the data collected, for example,
console.println("Your name is " + results["fnam"]
+ " " + results["lnam"] );
description:
name: "Personal Data", // Dialog box title
align_children: "align_left",
width: 350,
height: 200,
elements:
type: "cluster",
name: "Your Name",
align_children: "align_left",
elements:
type: "view",
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: "view",
align_children: "align_row",
elements:
type: "static_text",
name: "Last 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: "idfn",
alignment: "align_right",
type: "ok_cancel",
ok_name: "Ok",
cancel_name: "Cancel" -
How to Display an Alert or Dialog Box in Flash CS4?
I would like to have a quick message displayed on the screen for a few seconds after a user clicks a button. I can't seem to find an Alert Box or Dialog Box option in Flash CS4...can anyone help?
Thanks.
Daveas2 has the window component. and for both as3 and as2 it's pretty simple to create your own movieclip to use as an alert window.
-
Displaying text in a combo box.
Hi, i was wondering if anyone could help me finish an application i am working on. I have two forms, one inputs dat to a text file and another retrieves it. i want to display the text in a combo box and then click an event in the combo box and a description
of the event will appear in a text box, also if i select a date on the second form the events in the combo box change for that date if there is events for it. the first form is working fine , i was looking for help with the second one please. my code
so far is:
namespace TicketInformation
public partial class TicketInformationForm : Form
public TicketInformationForm()
InitializeComponent();
//creating the community events list.
List<Community_Event> CommnunityEvents;
//create the Create Event list method.
private void CreateEventList()
CommnunityEvents = new List<Community_Event>();
// call the extract Data method.
ExtractData();
//Clear any events from the combo box before proceeding.
eventComboBox.Items.Clear();
//for each event item in the Commuity event list,add it to the eventComboBox.
foreach (Community_Event item in CommnunityEvents)
eventComboBox.Items.Add(item.Description);
//if the events count is greater then 0, display the following
if (CommnunityEvents.Count > 0)
//if there are no events for the date selected display the following
eventComboBox.Text = " -Events- ";
descriptionTextBox.Text = "Pick an event";
}//end if
else
//if there are no events for the date selected display the following
eventComboBox.Text = " No Events ";
descriptionTextBox.Text = "No events today.";
}//end else
//Creating the Method ExtractData
private void ExtractData()
CommnunityEvents.Clear();
// load the data from the file
List<Community_Event> tempList = new List<Community_Event>();
//string[] fileLines = File.ReadLines(@"C:\Users\IAN\Documents\calendar.txt");
foreach(string line in File.ReadLines("calendar.txt"))
string[] items = line.Split(",".ToCharArray());
if (items.Length >= 5)
Community_Event newEvent = new Community_Event();
newEvent.Day = Convert.ToInt32(items[0]);//Converting the Integer to a string.
newEvent.Time = items[1];
newEvent.Price = Convert.ToDecimal(items[2]);//Converting the decimal to a string.
newEvent.Event = items[3];
newEvent.Description = items[4];
//add the new events to the Comminity Events list.
CommnunityEvents.Add(newEvent);
CommnunityEvents = (from ev in tempList
where ev.Day == 1
select ev).ToList();
private void dateMonthCalendar_DateChanged(object sender, DateRangeEventArgs e)
//calling the create event list method to display any events in the eventscombo box.
CreateEventList();
private void eventComboBox_SelectedIndexChanged(object sender, EventArgs e)
private void descriptionTextBox_TextChanged(object sender, EventArgs e)
private void TicketInformationForm_Load(object sender, EventArgs e)
//calling the create event list to open the form with today's events displayed if any.
CreateEventList();
public class Community_Event
//Declare a DayValue property of type int
private int DayValue;//day of the event
public int Day// Name of the Property
get
return DayValue;
set
DayValue = value;
//Declare a TimeValue property of type string
private string timeValue;//time of the event
public string Time// Name of the Property
get
return timeValue;
set
timeValue = value;
//Declare a priceValue property of type Decimal
private decimal priceValue;//price of the event
public decimal Price// Name of the Property
get
return priceValue;
set
priceValue = value;
//Declare a eventNameValue property of type string
private string eventNameValue;//name of the event
public string Event// Name of the Property
get
return eventNameValue;
set
eventNameValue = value;
//Declare a DescriptionValue of type string
private string DescriptionValue;//description of the event
public string Description// Name of the Property
get
return DescriptionValue;
set
DescriptionValue = value;
Thanks
DHi Dylan2412,
According to your description, you'd like to pass the ComboBox.Text to the second form's TextBox.
In Form1:
private void button1_Click(object sender, EventArgs e)
Form2 f2 = new Form2(this.comboBox1.Text); //pass the comboBox1.Text
f2.Show();
In Form2:
public Form2(string s) //get the string;
InitializeComponent();
this.textBox1.Text = s;
You could get the comBoBox refer to this sample above.
If you have any other concern regarding this issue, please feel free to let me know.
Best regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Display a message in dialog box while creating PO
Hi Experts,
i want to dispaly a popup message while creating PO(me21n),pop up should be trigger when we try to save two different plants in the item level while creating PO. for this purpose i have used enchancement mm06e005 and FM EXIT_SAPMM06E_016.
i want to pass this message to standard message in me21n
transaction and should get the message in dialog box
user should not able to save PO until he corrects the plants in item level.
please help me
thanks in advance,
Rama.Hi,
You have to check 1st this user-exit is triggering or not while saving the P.O.
If it triggers then you can put the code what you want. The message type should be Error type why becuase then only it won't allow further until it correct.
Thanks
Ganesh -
Display text fields from check box?
Hi
Is there a way to display hidden text fields in a form
whenever the check
box is clicked?
For example I have an option which asks how may we be of
service to you?
One option is 'estimates on conveyancing' , once this is
clicked I need to
display further text fields (estate agent, name of property,
price of
property etc)
Thanks for any helpNope.
First, I had trouble figuring how to apply the Form Calc to the Button, as opposed to the Button List.
I actually had to edit the first line in the Script Editor, which seems pretty lame.
That is to say, I just don't see how to get to the radio button, not the Object named RadioButtonList
BUT, I can't UNCHECK the field once it's been checked. That is, if I click "on" the Radio Button, it won't revert to unchecked if I try to click it "off".
In other words, if the person unchecks the Radio button due to some error, I need it to click off and the TextFiled to go back to being hidden.
Like I said, this can't be that hard, or maybe I'm just missing what you're trying to explain. Any other ideas?
Steve -
Webutil client_get_file_name does not display the select file dialog box
hi all,
i'm using oracle forms :
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
my question is:
why can't i get the client_get_file_name dialog to open when i compiled the form on unix but it works fine when compiled on my pc. I have matched the webutils' setting my pc = my unix server.
here's both the java console messages:
###JAVA CONSOLE messages when running standalone on my pc (winxp): NOTE:it works fine###
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.28-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Admin
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\Admin\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://xxxx:9999/forms/java/frmall_jinit.jar from JAR cache
Loading http://xxxx:9999/forms/java/frmwebutil.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 10.1.2.0
Loading http://xxxx:9999/forms/java/jacob.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
2007-Mar-22 15:08:27.750 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:08:27.765 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:08:27.765 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:08:27.781 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:08:27.781 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:08:27.843 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:08:27.843 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:08:27.859 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:08:28.00 WUI[getProperty()] Getting property WUC_BEAN_VERSION
2007-Mar-22 15:08:28.15 WUI[setProperty()] Setting property WUC_SRV_LOGGING to 0
2007-Mar-22 15:08:28.15 WUI[setProperty()] Setting property WUC_SRV_LOGGING to 0
2007-Mar-22 15:08:28.15 WUI[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.ffisamp.dll
2007-Mar-22 15:08:28.15 WUI[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2007-Mar-22 15:08:28.15 WUI[loadSettings()] Local properties file loaded
2007-Mar-22 15:08:28.31 WUT[setProperty()] Setting property WUC_SRV_LOGGING to 0
2007-Mar-22 15:08:28.31 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
2007-Mar-22 15:08:28.31 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2007-Mar-22 15:08:28.31 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
2007-Mar-22 15:08:28.31 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2007-Mar-22 15:08:28.31 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
2007-Mar-22 15:08:28.31 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2007-Mar-22 15:08:28.31 WUB[setProperty()] Setting property WUC_SRV_LOGGING to 0
2007-Mar-22 15:08:28.31 WUL[setProperty()] Setting property WUC_SRV_LOGGING to 0
2007-Mar-22 15:08:28.31 WUO[setProperty()] Setting property WUC_SRV_LOGGING to 0
2007-Mar-22 15:08:28.31 WUS[setProperty()] Setting property WUC_SRV_LOGGING to 0
2007-Mar-22 15:08:28.31 WUH[setProperty()] Setting property WUC_SRV_LOGGING to 0
2007-Mar-22 15:08:28.31 WUF[setProperty()] Setting property WUC_SRV_LOGGING to 0
2007-Mar-22 15:08:38.171 WUF[setProperty()] Setting property WUF_GFN_DIRNAME to C:\
2007-Mar-22 15:08:38.171 WUF[setProperty()] Setting property WUF_FILENAME to false
2007-Mar-22 15:08:38.171 WUF[setProperty()] Setting property WUF_FILTER to *.*
2007-Mar-22 15:08:38.171 WUF[setProperty()] Setting property WUF_GFN_MESSAGE to false
2007-Mar-22 15:08:38.171 WUF[setProperty()] Setting property WUF_GFN_MULTISELECT to FALSE
2007-Mar-22 15:08:38.171 WUF[getProperty()] Getting property WUF_GFN_OPENFILE
2007-Mar-22 15:09:22.437 WUT[getProperty()] Getting property WUT_MAX_BYTES
2007-Mar-22 15:09:22.437 WUF[setProperty()] Setting property WUF_FILENAME to C:\firdaus\K-I-S-07-v6.0.2.614.zip
2007-Mar-22 15:09:22.437 WUF[setProperty()] Setting property WUF_FILE_ATTRIBUTE to 2
2007-Mar-22 15:09:22.437 WUF[getProperty()] Getting property WUF_FILE_ATTRIBUTE
2007-Mar-22 15:09:22.437 WUF[setProperty()] Setting property WUF_FILENAME to C:\firdaus\K-I-S-07-v6.0.2.614.zip
2007-Mar-22 15:09:22.437 WUF[setProperty()] Setting property WUF_FILE_ATTRIBUTE to 4
2007-Mar-22 15:09:22.437 WUF[getProperty()] Getting property WUF_FILE_ATTRIBUTE
2007-Mar-22 15:09:22.453 WUT[getProperty()] Getting property WUT_STATUS
2007-Mar-22 15:09:22.453 WUT[setProperty()] Setting property WUT_FILE_INFO to C:\firdaus\K-I-S-07-v6.0.2.614.zip|0|S|Y|Muatnaik fail ke C:\firdaus\fmb\admin\K-I-S-07-v6.0.2.614.zip untuk simpanan.|Sila Tunggu...
2007-Mar-22 15:09:22.453 WUT[getProperty()] Getting property WUT_FILE_INFO
##Note: i close the web browser & java console. and opened a new web browser##
###JAVA CONSOLE messages when running IAS 10g on Unix###
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.28-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Admin
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\Admin\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://XXX.XXX.XXX.XXX:9999/forms/java/frmwebutil.jar from JAR cache
Loading http://XXX.XXX.XXX.XXX:9999/forms/java/frmall_jinit.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 10.1.2.0
Loading http://XXX.XXX.XXX.XXX:9999/forms/java/jacob.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.2
2007-Mar-22 15:12:43.984 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:12:44.15 WUI[VBeanCommon.getIPAddress()] XXX.XXX.XXX.XXX
2007-Mar-22 15:12:44.15 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:12:44.31 WUF[VBeanCommon.getIPAddress()] XXX.XXX.XXX.XXX
2007-Mar-22 15:12:44.31 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:12:44.31 WUH[VBeanCommon.getIPAddress()] XXX.XXX.XXX.XXX
2007-Mar-22 15:12:44.46 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:12:44.46 WUS[SessionFunctions.init()] Dispatcher Monitoring interval set to 5
2007-Mar-22 15:12:44.46 WUS[VBeanCommon.getIPAddress()] XXX.XXX.XXX.XXX
2007-Mar-22 15:12:44.62 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:12:44.62 WUT[SessionFunctions.init()] Max Transfer chunk size set to 16384
2007-Mar-22 15:12:44.62 WUT[VBeanCommon.getIPAddress()] XXX.XXX.XXX.XXX
2007-Mar-22 15:12:44.125 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:12:44.140 WUO[VBeanCommon.getIPAddress()] XXX.XXX.XXX.XXX
2007-Mar-22 15:12:44.140 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:12:44.140 WUL[VBeanCommon.getIPAddress()] XXX.XXX.XXX.XXX
2007-Mar-22 15:12:44.140 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2007-Mar-22 15:12:44.156 WUB[VBeanCommon.getIPAddress()] XXX.XXX.XXX.XXX
2007-Mar-22 15:12:44.500 WUI[getProperty()] Getting property WUC_BEAN_VERSION
2007-Mar-22 15:12:44.500 WUI[getProperty()] Value of WUC_BEAN_VERSION=10.1.2.0
2007-Mar-22 15:12:44.687 WUI[setProperty()] Setting property WUC_SRV_LOGGING to 1
2007-Mar-22 15:12:44.687 WUI[setProperty()] Setting property WUC_SRV_LOGGING to 1
2007-Mar-22 15:12:44.687 WUI[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.ffisamp.dll
2007-Mar-22 15:12:44.687 WUI[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2007-Mar-22 15:12:44.687 WUI[loadSettings()] Local properties file loaded
2007-Mar-22 15:12:44.687 WUI[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2007-Mar-22 15:12:44.890 WUT[setProperty()] Setting property WUC_SRV_LOGGING to 1
2007-Mar-22 15:12:44.890 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
2007-Mar-22 15:12:44.890 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2007-Mar-22 15:12:44.890 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2007-Mar-22 15:12:45.93 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
2007-Mar-22 15:12:45.93 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2007-Mar-22 15:12:45.93 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2007-Mar-22 15:12:45.296 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
2007-Mar-22 15:12:45.296 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2007-Mar-22 15:12:45.296 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2007-Mar-22 15:12:45.500 WUB[setProperty()] Setting property WUC_SRV_LOGGING to 1
2007-Mar-22 15:12:45.500 WUL[setProperty()] Setting property WUC_SRV_LOGGING to 1
2007-Mar-22 15:12:45.500 WUO[setProperty()] Setting property WUC_SRV_LOGGING to 1
2007-Mar-22 15:12:45.500 WUS[setProperty()] Setting property WUC_SRV_LOGGING to 1
2007-Mar-22 15:12:45.500 WUH[setProperty()] Setting property WUC_SRV_LOGGING to 1
2007-Mar-22 15:12:45.500 WUF[setProperty()] Setting property WUC_SRV_LOGGING to 1
2007-Mar-22 15:13:12.890 WUF[setProperty()] Setting property WUF_GFN_DIRNAME to C:\
2007-Mar-22 15:13:12.890 WUF[setProperty()] Setting property WUF_FILENAME to false
2007-Mar-22 15:13:12.890 WUF[setProperty()] Setting property WUF_FILTER to false
2007-Mar-22 15:13:12.890 WUF[setProperty()] Setting property WUF_GFN_MESSAGE to false
2007-Mar-22 15:13:12.890 WUF[setProperty()] Setting property WUF_GFN_MULTISELECT to FALSE
###Note: No error messages. it just hangs (nothing happens), and i could not do anything else on the form or even close it. i have to close the web browser.
sorry if my question is long.
Message was edited by:
wajatimurI had logged Bug 5703183 and this seems similar to that.
Solnt was
Copy frmwebutil.jar from a patched Oracle DS installation where Webutil 10.1.2.x exist to the IAS
Also clear the jinitator/javaplugin cache
Rajesh Alex -
Recognize Text - General Settings dialog box
This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7f6d.w .html
I don't really have a good answer for you except to probably save space. Both the searchable and Clearscan down sample images. The only one that does not is Searchable (exact). All that this latter does is add a searchable text layer behind the image, but leaves the image untouched.
-
Modeless Dialog Box Not Displaying Contents
I have created a simple modeless dialog box. Although the dialog box and title appear, the contents (a label) do not appear. The dialog box does display correctly if the dialog box is switched to a modal box.
I got into this problem because I also cannot get labels to change after their initial display on the main frame. I've tried repaint() and Thread.sleep().
Please help me, I am a newbie to Java.
Sincerely,
JohnI actually had a similar problem with a JDialog containing only a progress bar, which ended up being a problem with Swing rather than my code (the bug report has already been filed). Adding a second component to the dialog fixed the problem, counterintuitive as that seems. Try it and see if that helps... If the label is a JLabel, you might try calling revalidate() on it to get the text to update.
Ian -
Dreamweaver CS4 MacOS X dialog boxes are displaying the wrong font
Just installed a free font I needed to use for a graphic design project. Opened up Dreamweaver to do a different project and found that all the text in the dialog box was being displayed in this font.
This is pretty maddening to look at - how do I change it back?Er, uninstall the font?
Installing a new font should not do that to Dreamweaver. It sounds as though you have overwritten a system font. -
No display of error message log in dialog box
Dear MM Experts,
During enter incoming invoice (MIRO), when we click simulate after entering all necessary data, all error & warning messages are displayed in a dialog box if there is red traffic light. In our case despite red traffic light error messages are not displayed as shown in below screen shot. Only warning messages are displayed & document canu2019t be posted. Please let me know if anyone has encountered such behavior & knows the solution. We just want to see the error messages in dialog boxes so that necessary data can be entered and document can be posted.
Additional information: 1. No GR needs to be done, 2. GR based IV is unchecked in PO, 3. No validation is active for the company code,
Thanks & regards,
AvinashHi,
Thanks for your response.
Our problem is not to post a particular invoice doument, the main problem is that error log is not displayed in MIRO. For example if balance is not zero then this error should be displayed in error log dialog box, which is not happening due to which we are not able to post any invoice document as error is not known to the user. Please let me know if any suggestions.
Additional information: We have deactivated all validations & BADis. We also tried to compare with other systems where error log is displayed properly however our ABAP consultant could not find any difference. Any Input on how to compare is also welcome.
Thanks & best regards,
Avinash -
How to programatically display text in combo box?
Is there a way to programatically display text in a combo box. I would like to display the word "Select" in the combo box each time my program starts. As it is now, my combo box displays the last string that was selected the last time the program ran.
Thanks in advance.
Solved!
Go to Solution.Actually, after actually reading your post...
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice -
New script dialog box only displays momentarily
FM10 in TCS3 on Windows XP
My coworker and I decided to investigate Extendscript and when we select File>Scripting>New from the main toolbar, the New Script dialog box flashes momentarily and then disappears. However, selecting Run displays the Choose Script dialog box, and selecting Catalog displays the Script Library.
We have the latest patches and have installed DITA-FMx, FrameSLT, and SDLAuthorAssistant in FM. Could any of those be affecting the scripting function?
Thanks in advance.
mUsing TechCommSuite 3.0 on Windows XP.
I always like to close loops and this posting is no exception.
After almost two weeks of diligent sleuthing by Adobe techs and our own security personnel, we determined that the problem of ExtendScript not launching was an in-house problem.
We have a DLP application that interfaces with our desktops for security purposes. We needed to identify the ExtendScript.exe that was running in order to allow it to function. Our security guy performed some wizardry and voila! I had my ExtendScript window.
Mary -
Hi,
I have an ALV on suppose screen 3000, I have created a button in the tool bar to call another ALV, but my question is, can we display ALV in modal dialog box screen(because the requirement is to display ALV as a popup)
So when i changed the screen type to normal screen, my alv is coming,,but when i change the screen type to modal dialog box, then no ALV is being displayed in the output. Only blank screen is displayed.
Can you please help me.
Thanks.Hello
The problem is that you have to take into account that the ALV in the popup (or modal dialogbox) is displayed on a different screen level:
level 0 = main screen
level 1 = 1st popup
level 2 = 2nd popup
We have up to 9 screen level available.
The following sample report ZUS_SDN_ALV_IN_POPUP is a variant of my sample report ZUS_SDN_TWO_ALV_GRIDS.
Depending on whether you mark P_POPUP or not the second ALV grid is additionally displayed on a popup.
*& Report ZUS_SDN_ALV_IN_POPUP
*& Thread: ALV in modal dialog box
*& https:||<a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="762642"></a>
*& Screen '0100' contains no elements.
*& ok_code -> assigned to GD_OKCODE
*& Flow logic:
* PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
* PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
REPORT zus_sdn_alv_in_popup.
TYPE-POOLS: abap.
DATA:
gd_okcode TYPE ui_func,
gd_repid TYPE syst-repid,
" containers and ALV grids for main screen
go_docking TYPE REF TO cl_gui_docking_container,
go_splitter TYPE REF TO cl_gui_splitter_container,
go_cell_top TYPE REF TO cl_gui_container,
go_cell_bottom TYPE REF TO cl_gui_container,
go_grid1 TYPE REF TO cl_gui_alv_grid,
go_grid2 TYPE REF TO cl_gui_alv_grid,
" container and ALV grid for popup
go_docking3 TYPE REF TO cl_gui_docking_container,
go_grid3 TYPE REF TO cl_gui_alv_grid,
gs_layout TYPE lvc_s_layo.
DATA:
gt_knb1 TYPE STANDARD TABLE OF knb1,
gt_knvv TYPE STANDARD TABLE OF knvv.
PARAMETERS:
p_popup AS CHECKBOX DEFAULT ' '.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING
e_row
e_column
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_double_click.
* define local data
DATA:
ls_knb1 TYPE knb1.
CHECK ( sender = go_grid1 ).
READ TABLE gt_knb1 INTO ls_knb1 INDEX e_row-index.
CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
IF ( p_popup = abap_true ).
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'POPUP'
* IMPORTING
* rc =
ELSE.
* Triggers PAI of the dynpro with the specified ok-code
* * CALL METHOD cl_gui_cfw=>set_new_ok_code( 'DETAIL' ). " not on 4.6c
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'DETAIL'
* IMPORTING
* rc =
ENDIF.
ENDMETHOD. "handle_double_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
" Select data
SELECT * FROM knb1 INTO TABLE gt_knb1
WHERE bukrs = '1000'.
PERFORM init_controls.
* Display data
gs_layout-grid_title = 'Customers'.
CALL METHOD go_grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'KNB1'
is_layout = gs_layout
CHANGING
it_outtab = gt_knb1
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
gs_layout-grid_title = 'Customers Details (Sales Areas)'.
CALL METHOD go_grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'KNVV'
is_layout = gs_layout
CHANGING
it_outtab = gt_knvv " empty !!!
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
gs_layout-grid_title = 'Customers Details (Sales Areas)'.
CALL METHOD go_grid3->set_table_for_first_display
EXPORTING
i_structure_name = 'KNVV'
is_layout = gs_layout
CHANGING
it_outtab = gt_knvv " empty !!!
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Link the docking container to the target dynpro
gd_repid = syst-repid.
CALL METHOD go_docking->link
EXPORTING
repid = gd_repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Link the docking container to the popup
gd_repid = syst-repid.
CALL METHOD go_docking3->link
EXPORTING
repid = gd_repid
dynnr = '0200'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* NOTE: dynpro does not contain any elements
CALL SCREEN '0100'.
* Flow logic of dynpro (does not contain any dynpro elements):
*PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
*PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Form INIT_CONTROLS
* text
* --> p1 text
* <-- p2 text
FORM init_controls .
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0 " main screen -> level 0 !!!
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Create splitter container
CREATE OBJECT go_splitter
EXPORTING
parent = go_docking
rows = 2
columns = 1
* NO_AUTODEF_PROGID_DYNNR =
* NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Get cell container
CALL METHOD go_splitter->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = go_cell_top.
CALL METHOD go_splitter->get_container
EXPORTING
row = 2
column = 1
RECEIVING
container = go_cell_bottom.
* Create ALV grids
CREATE OBJECT go_grid1
EXPORTING
i_parent = go_cell_top
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Set event handler
SET HANDLER: lcl_eventhandler=>handle_double_click FOR go_grid1.
CREATE OBJECT go_grid2
EXPORTING
i_parent = go_cell_bottom
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
" Create container and grid for popup.
* Create docking container
CREATE OBJECT go_docking3
EXPORTING
parent = cl_gui_container=>screen1 " !!! popup !!!
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
" NOTE: Starting from a main dynpro (screen level 0) the first popup
" (or modal dialogbox) is on level 1 !!!
" Using cl_gui_container=>screen0 fails to display ALV grid.
CREATE OBJECT go_grid3
EXPORTING
i_parent = go_docking3
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " INIT_CONTROLS
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'. " contains push button "DETAIL"
* SET TITLEBAR 'xxx'.
* Refresh display of detail ALV list
CALL METHOD go_grid2->refresh_table_display
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE syst-dynnr.
WHEN '0100'.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
* User has pushed button "Display Details"
WHEN 'DETAIL'.
PERFORM entry_show_details.
WHEN 'POPUP'.
PERFORM entry_show_details.
go_grid3->refresh_table_display( ). " required
CALL SCREEN '0200' STARTING AT 5 5
ENDING AT 150 30.
WHEN OTHERS.
ENDCASE.
WHEN '0200'.
set screen 100. leave screen.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form ENTRY_SHOW_DETAILS
* text
* --> p1 text
* <-- p2 text
FORM entry_show_details .
* define local data
DATA:
ld_row TYPE i,
ls_knb1 TYPE knb1.
CALL METHOD go_grid1->get_current_cell
IMPORTING
e_row = ld_row.
READ TABLE gt_knb1 INTO ls_knb1 INDEX ld_row.
CHECK ( syst-subrc = 0 ).
SELECT * FROM knvv INTO TABLE gt_knvv
WHERE kunnr = ls_knb1-kunnr.
ENDFORM. " ENTRY_SHOW_DETAILS
Regards
Uwe
Maybe you are looking for
-
New to apple and wondering if using keynote is easier than power point.
Hello all, I have only been using os x for about 6 months, and I was wondering if using keynote is easier than power point? I am in school so I need to know if keynote will save in ppt format. The school that I go to only uses MS office 97 to 2004 fo
-
My customer is looking for a comp. open (unbilled) sales order line report
Hello: My customer wants a listing of open (unbilled) sales order lines. List of everything they have ordered and do not have a bill for yet. That seems to be spread between 'Open' Sales Orders - see VA05 (no outbound delivery created yet) AND outb
-
Loading and Unloading of Classes
Hi All, I m trying to use the Digester APIs for XML parsing. Iam using the version 1.6. However, on the server where the application will be deployed, the Digester JARs already exist but an older version. due to some reason these old JARs cannot be u
-
My calendar in 10.8.2 never finishes updating and new entries are not syncing to cloud
When i open the Calendar app and choose to refresh my calendars the 'Calendar -- Updating...' message at the top of the calendar window never goes away and the new entries on my computer do not make it to the cloud. Additionaly new entries on the cl
-
SAP Korean Language & Printing
Hi. we are having SAP 4.7 x220 ... Non Unicode... we already installing and import Korean Languange.. able to logn as korean.. come to printing, it using KPSAWIN... looking from this notes : Note 54059 - Korean Installation Guide Note 750219 - Unicod