This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Custom Dialog Issues :( Please help!
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 01, 2006
03:00 AM
Custom Dialog Issues :( Please help!
Ok here is what I am doing :
I am buildign a custom dialog and am trying to validate some controls in the queryExit(xxx) method. Im trying to get a control such as :
try{
ISTextField textField = context.getISPanel().getTextField("ISTextFieldSAPSID");
String SAPSID = textField.getText();
System.out.println("SAPSID");
.....
Im 100% sure of the control name. When I do the textField.getText its always null, however there was data entered in the fied. What am I doing wrong ?
I am buildign a custom dialog and am trying to validate some controls in the queryExit(xxx) method. Im trying to get a control such as :
try{
ISTextField textField = context.getISPanel().getTextField("ISTextFieldSAPSID");
String SAPSID = textField.getText();
System.out.println("SAPSID");
.....
Im 100% sure of the control name. When I do the textField.getText its always null, however there was data entered in the fied. What am I doing wrong ?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 07, 2006
04:44 PM
Can you try it a different way and look at the variable you associated with the text field!
String SAPSID = context.getServices().getISDatabase().getVariableValue("SAPSID");
String SAPSID = context.getServices().getISDatabase().getVariableValue("SAPSID");
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 08, 2006
02:08 AM
Yes this is the way I eventually got it to work. The problem is that its a question dialog and the getISPanel() returns the wrong part of the dialog. Seems this way of doing it does not work for Question dialogs.