[Configuration]Dynamic reloading property

2007-02-28 Thread pawan kedia
Hi, Using Commons-Configuration version 1.3, Want to know name and value of property getting dynamically changed outside my application? I get notified for modification in configuration file using FileChangedReloadingStrategy, can i know name and values of modified properties? Thanks in

[Digester] Problem using recursion in xml rule file

2007-02-28 Thread Arshika Mishra
Hi! I am trying to parse an XML file using digester but getting a problem. The file has a recursive tag. The format of the file given below: dpr-domain name=AircraftPerformances dpr-data-category name=AircraftClass systemOption=FULLOLDI dpr-attribute

Is there a build of commons-net-1.4.x somewhere ?

2007-02-28 Thread serge . simon
Hello, Encountering a strange bug (hangs on TelnetInputStream), I've just found that a patch may already be available about this issue. Looking at http://jakarta.apache.org/commons/net/changes-report.html;, it states that in a 1.4.x version of commons-net, this patch has been applied. Does

Re: Is there a build of commons-net-1.4.x somewhere ?

2007-02-28 Thread Bindul Bhowmik
Serge, On 2/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, Encountering a strange bug (hangs on TelnetInputStream), I've just found that a patch may already be available about this issue. Looking at http://jakarta.apache.org/commons/net/changes-report.html;, it states that in a

[Configuration] Bugfix for XMLConfiguration.clone()

2007-02-28 Thread Carsten Kaiser
Hi there, the clone() operation on a XMLConfiguration does not work correctly due to the following problem: private class XMLFileConfigurationDelegate extends FileConfigurationDelegate { public void load(InputStream in) throws ConfigurationException {

Réf. : Re: Is there a build of commons-net- 1.4.x somewhere ?

2007-02-28 Thread serge . simon
Encountering a strange bug (hangs on TelnetInputStream), I've just found that a patch may already be available about this issue. Looking at http://jakarta.apache.org/commons/net/changes-report.html;, it states that in a 1.4.x version of commons-net, this patch has been applied.

Re: Is there a build of

2007-02-28 Thread Rory Winston
Hi Serge The latest Gump version will be the latest on the 1.4 branch. However if you are using JDK 1.5, then I would suggest using the 2.0 RC. Rory Jakarta Commons Users List commons-user@jakarta.apache.org wrote: Hello, Encountering a strange bug (hangs on TelnetInputStream),

[validator] intRange(between 0-100) validation fails for 1234 value because of a locale issue

2007-02-28 Thread Hasan Turksoy
hi all, i am using an intRange validator together with an integer converter for my input field.. code is like below; h:inputtext value=..myIntField ... f:converter converterId=org.apache.shale.converter.Integer / s:commonsvalidator type=intRange min=5 max=100 ... / h:inputtext / this means; my

Re: [Configuration]Dynamic reloading property

2007-02-28 Thread Oliver Heger
pawan kedia wrote: Hi, Using Commons-Configuration version 1.3, Want to know name and value of property getting dynamically changed outside my application? I get notified for modification in configuration file using FileChangedReloadingStrategy, can i know name and values of modified

Re: [Configuration] Bugfix for XMLConfiguration.clone()

2007-02-28 Thread Oliver Heger
Carsten, thank you for spotting this problem! Would you be so kind to file a bug report in Jira [1], so we can keep track of this problem? I will have a look. Thanks. Oliver [1] http://jakarta.apache.org/commons/configuration/issue-tracking.html Carsten Kaiser wrote: Hi there, the

Re: [validator] intRange(between 0-100) validation fails for 1234 value because of a locale issue

2007-02-28 Thread Niall Pemberton
This question relates to Shale's validation rather than commons validator - you're more likely to get an answer asking this on their user list. Niall On 2/28/07, Hasan Turksoy [EMAIL PROTECTED] wrote: hi all, i am using an intRange validator together with an integer converter for my input

Re: Closure, Predicate, and Transformer Examples

2007-02-28 Thread Stephen Colebourne
Its an example of a class you'd write yourself. Although there are similar methods on commons-collections CollectionUtils. Stephen Paolo Viappiani wrote: In which package is ModelUtils? p* On 2/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Vishist Mandapaka [EMAIL PROTECTED]

What tool can I use to substitute marked expressions in a string?

2007-02-28 Thread Karr, David
I know that there are several related tools in this area, but I'm not sure from a superficial look exactly which one I need. I just need to have a string with occurrences of substrings like ${foo}, and I need to be able to replace that with a value specified at run time. I need to do this

Re: What tool can I use to substitute marked expressions in a string?

2007-02-28 Thread Craig McClanahan
On 2/28/07, Karr, David [EMAIL PROTECTED] wrote: I know that there are several related tools in this area, but I'm not sure from a superficial look exactly which one I need. I just need to have a string with occurrences of substrings like ${foo}, and I need to be able to replace that with a

RE: What tool can I use to substitute marked expressions in a string?

2007-02-28 Thread Karr, David
That worked perfectly. Thanks, Craig. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Wednesday, February 28, 2007 4:36 PM To: Jakarta Commons Users List Subject: Re: What tool can I use to substitute marked expressions

Re: [validator] intRange(between 0-100) validation fails for 1234 value because of a locale issue

2007-02-28 Thread Hasan Turksoy
i can not understand why is this a shale issue.. let me explain it clearly.. then,, if you still think it as a shale issue, no problem... i'm using shale's integer converter ( org.apache.shale.validator.converter.IntegerConverter)... it converts my 12345 number as normal... i mean,, converting

Re: [validator] intRange(between 0-100) validation fails for 1234 value because of a locale issue

2007-02-28 Thread Craig McClanahan
On 2/28/07, Niall Pemberton [EMAIL PROTECTED] wrote: This question relates to Shale's validation rather than commons validator - you're more likely to get an answer asking this on their user list. Actually, Niall, there are C-V related issues here. Even in the US locale, the Commons

Re: [validator] intRange(between 0-100) validation fails for 1234 value because of a locale issue

2007-02-28 Thread Hasan Turksoy
in fact, shale's converter converts my 12345 number to 123.45 string... but this is the normal behaviour.. my locale's grouping character used while generating string value from integer value... this is same as jsf ri converter's behaviour... Issue raiser is C-V's GenericTypeValidator not