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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: i have to deploy multiple get user input advanced panels
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
‎Dec 05, 2007
03:53 AM
i have to deploy multiple get user input advanced panels
hi,
i am building an installer which contains three different components and the requirement is that i need to deploy them on three different machines and i need to check that they point to the mysql server machine which contains our required databases.
So in the preinstall task ,i am giving a "GET USER INPUT ADVANCED" panel and then i am setting the installanywhere variables and i am setting "$DRIVER$",
$URL$,"$PASSWORD$" etc.
My problem is for the first time when i am inputting right information i am not getting any display panel,For the second time even when i input right information it is displaying the panel for the wrong database connection and the error which i can see in the stdout.log is "unable to load database driver".
Can someone help me in debugging ??????????? and when does this exception come in the installer.I am getting the classnotfound exception.
CAN anyone help me out of this issue
The java class is attached for your referral
i am building an installer which contains three different components and the requirement is that i need to deploy them on three different machines and i need to check that they point to the mysql server machine which contains our required databases.
So in the preinstall task ,i am giving a "GET USER INPUT ADVANCED" panel and then i am setting the installanywhere variables and i am setting "$DRIVER$",
$URL$,"$PASSWORD$" etc.
My problem is for the first time when i am inputting right information i am not getting any display panel,For the second time even when i input right information it is displaying the panel for the wrong database connection and the error which i can see in the stdout.log is "unable to load database driver".
Can someone help me in debugging ??????????? and when does this exception come in the installer.I am getting the classnotfound exception.
CAN anyone help me out of this issue
The java class is attached for your referral
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 05, 2007
05:27 AM
Repost...
Anyhow a lot of things won't work in here...
This one will be set once and will not be updated when you change something!
This one won't work. Either use $ at the beginning AND the end of the variable or use neither nor. Besides you need to retrieve $NULL$, i.e. use ruleProxy.substitute as you were told to do in another thread.
Finally:
Don't create 10 threads for 1 problem. Post your project with your code, then maybe someone can tell you what is not working! And besides: Did you read the manual in the meantime?
Best Regards,
Yves
Anyhow a lot of things won't work in here...
public final static String URL =ruleProxy.substitute("$URL$");
This one will be set once and will not be updated when you change something!
ruleProxy.setVariable("$USER_INPUT_RESULT_0","$NULL$");
This one won't work. Either use $ at the beginning AND the end of the variable or use neither nor. Besides you need to retrieve $NULL$, i.e. use ruleProxy.substitute as you were told to do in another thread.
Finally:
Don't create 10 threads for 1 problem. Post your project with your code, then maybe someone can tell you what is not working! And besides: Did you read the manual in the meantime?
Best Regards,
Yves
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 05, 2007
05:55 AM
hello,
i wrote the custom rule by referring to the sample custom rules,
so can i use
String DRIVER =ruleProxy.substitute("$DRIVER$");
or
public static String DRIVER=ruleProxy.substitute("$DRIVER$");?????????
instead of
public final static String DRIVER=ruleProxy.substitute("$DRIVER$");
will it help me to reallocate the input variables.
AND i am already using ruleProxy.substitute("$USER_INPUT_RESULT_1$",emptyString);
Thanks a lot for the help extended to me
i wrote the custom rule by referring to the sample custom rules,
so can i use
String DRIVER =ruleProxy.substitute("$DRIVER$");
or
public static String DRIVER=ruleProxy.substitute("$DRIVER$");?????????
instead of
public final static String DRIVER=ruleProxy.substitute("$DRIVER$");
will it help me to reallocate the input variables.
AND i am already using ruleProxy.substitute("$USER_INPUT_RESULT_1$",emptyString);
Thanks a lot for the help extended to me
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)