[izpack-users] Find and Replace in string
dinh thi thu thao
thuthao_d at yahoo.com
Wed Oct 4 12:23:04 CEST 2006
Thanks for yor answer,
But, my problem is:
- I have UserInput to receive TOMCAT_HOME.
- On Window, the slash in path is "\".
- I want to change it to "/" or "\\" for my configuration.
( This value will be used to parse after installing)
How can I do it?
Thanks for your support and Best Regards,
----- Original Message ----
From: miraodb <miraodb at hotmail.com>
To: izpack-users at lists.berlios.de
Sent: Wednesday, October 4, 2006 11:12:38 AM
Subject: Re: [izpack-users] Find and Replace in string
I'm not sure to understand what you actually want to do.
Do you wish to act on a string that has been defined in the userinput ?
It's not quite clear to me. If that's the case, you cannot do it wih only
You'll have to either use processpanel with a script to do the job or create
your own custompanel to do the job.
This can easily be done for your purpose by deriving userinputpanel and
adding your search/replace routine to the panelActivate() method.
A good example for you to look at, is the ConditionalUserInputPanel.
Hope this helps.
If you need help with the code itself, don't hesitate to post here with more
----- Original Message -----
From: "thach thao" <thuthao_d at yahoo.com>
To: <izpack-users at lists.berlios.de>
Sent: Tuesday, October 03, 2006 11:13 PM
Subject: [izpack-users] Find and Replace in string
> Hi all,
> I want to find and replace a substring in a string. This string is an
> userinput, and i want to replace something before using.
> How can I do it with izpack.
> Best regards,
> Thach Thao.
> View this message in context:
> Sent from the izpack users mailing list archive at Nabble.com.
> izpack-users mailing list
> izpack-users at lists.berlios.de
izpack-users mailing list
izpack-users at lists.berlios.de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the izpack-users