RE: Strange problem with Digester and Log4j

2006-03-29 Thread Marco Mistroni
Hello, My 2 cents I have following 'setups' that work fine Digester 1.7 Beanutils 1.6 Logging-1.0.2 Logging-api-1.0.2 Digester 1.7 Beanutils 1.6 Log4j-1.2.7 Can you try 1.2.7? One other thing: can you make suret hat , across the whole classpath, you have ONLY 1 version of the above

RE: Drinking beer in Vienna/Austria

2006-03-07 Thread Marco Mistroni
Hello there, R you attending OPEC meeting? :) Rgds marco -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: 06 March 2006 20:51 To: MyFaces Development; MyFaces Discussion; Jakarta Commons Users List; Jakarta Commons Developers List; [EMAIL

RE: Error with digester and JasperReports / IllegalAccessError setNestedPropertiesRule / solved

2006-01-06 Thread Marco Mistroni
Hello all, Apologies for my mails... digester is ok problem was that i Had digester 1.5 in my classpath, and that was picked up by jasper.. and That's why I was having error Thanx and regards marco -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: 05

RE: Error with digester and JasperReports / IllegalAccessError setNestedPropertiesRule

2006-01-05 Thread Marco Mistroni
setNestedPropertiesRule Don't know if it will solve your problem but Digester 1.7 has a dependency on BeanUtils 1.6. Niall - Original Message - From: Marco Mistroni [EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 4:17 PM Hello all, I am running JasperReports v. 1.1.0, that uses Digester 1.7

Error with digester and JasperReports / IllegalAccessError setNestedPropertiesRule

2006-01-04 Thread Marco Mistroni
Hello all, I am running JasperReports v. 1.1.0, that uses Digester 1.7 In running my report I got following exception 04/01/06 15:55:19:797 GMT] c563211 Digester E org.apache.commons.digester.Digester TRAS0014I: The following exception was logged java.lang.IllegalAccessError:

RE: [digester] create parent from child node value

2005-12-20 Thread Marco Mistroni
Hello, I haven't used digester since some time (approx 1 year) , but I am not 100% sure That you can create Objects by passing parameters... At least in all examples that I have seen, all JB that were going to be Populated via Digester from XML had an empty constructor Will it be an

RE: [Urgent] Digester and Configuration

2005-12-02 Thread Marco Mistroni
Hello, I have also lot of xml config file and I try to use digester as much as I can.. But structure of my config files are not Property=value It's usually more 'complicated' Like main elem1 Props name value And usually I use an xml rule file that

RE: [digester]

2005-11-01 Thread Marco Mistroni
Moi, You have to create a Bean for HTML like you did for test (that's one solution) kiitoksia marco -Original Message- From: Arto Pastinen [mailto:[EMAIL PROTECTED] Sent: 01 November 2005 10:40 To: commons-user@jakarta.apache.org Subject: [digester] Hi! I need little

RE: [digester]

2005-11-01 Thread Marco Mistroni
a property (let's say, propertyX) On your Bean that matches the P tag, since setP is little 'bad' Any reason of why you are using Digester with HTML? Regards marco -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: 01 November 2005 10:50 To: 'Jakarta Commons

RE: [chain] giving constructor parameters in catalog.xml

2005-06-21 Thread Marco Mistroni
Hello, A possible different approach... let spring manage Your commands, and use spring Dependency Injection to have your Properties set on your commands Can this apply to your case? Regards marco -Original Message- From: David J. M. Karlsen [mailto:[EMAIL

RE: CSV parsing/writing?

2005-05-27 Thread Marco Mistroni
Hello, This may look 'not nice' solution, but in my working place I parsed A Csv USING xslt... and then producted an XML out of what was contained in it.. If that Is an option for you, I can help out... Regards marco -Original Message- From: Bernard, Shawn

RE: Commons Chain Alternate Flows

2005-05-27 Thread Marco Mistroni
Hello, There's an article by Bill Siggelkow that explains how to override a chain of commands with your own chain.. though that is Struts-related.. Maybe can you reuse it? I don't remember URL, but I m sure you will find easily with a google search Regards marco -Original

Error in building Commons feedparser with Maven

2005-04-26 Thread Marco Mistroni
Hello all, I have downloaded sources of feedparser and I am trying to Build it using Maven. I am getting following exception during compilation.. can not resolve symbol symbol : class XPath location: class org.apache.commons.feedparser.BaseParser XPath xpath = new XPath( query

Building feedParser with Maven.. nospam

2005-04-26 Thread Marco Mistroni
Hello all, Sorry to spam the list...but I can't find anyone On this list which is dealing with FeedParser... I have downloaded sources of feedparser and I am trying to Build it using Maven. I am getting following exception during compilation.. can not resolve symbol symbol :

Building feedParser with Maven..

2005-04-22 Thread Marco Mistroni
Hello all, I have downloaded sources of feedparser and I am trying to Build it using Maven. I am getting following exception during compilation.. can not resolve symbol symbol : class XPath location: class org.apache.commons.feedparser.BaseParser XPath xpath = new XPath( query

Feedparser download

2005-04-13 Thread Marco Mistroni
Hello all Anyone knows the proper URL for downloading Feedparser (either source or binaries)? I cant find any working links. Thanx and regards marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: chains problems persists

2005-04-08 Thread Marco Mistroni
refactoring to the commons-chain LookupAction, but it will be a few days or so before I can get to finding these things in both libraries, as well as giving it decent testing. In the meantime, I think the first suggestion would work out... Joe At 10:17 AM +0100 4/4/05, Marco Mistroni wrote

Configuring Catalogs via Spring

2005-04-05 Thread Marco Mistroni
Hello all, Does anybody know how to configure a commons chain catalog via Spring using XML file? I had a look at code, and the only component that configures catalog via XML is the ChainListener. And, if I use CatalogFactory, I have to add commands programmatically How can integrate then

RE: Digester simple, simple question

2004-12-14 Thread Marco Mistroni
Hello, I thought I have replied this question earlier.. Fact is that you are instantiating an arrayList as topmost element Now, the arrayList class does not have a setUser method.. It has only add(..) You'd need to add a CallMethod rule, that whenever you find a user, digester is going

RE: Digester simple, simple question

2004-12-10 Thread Marco Mistroni
Hello, I believe you need to have a rule for calling a method... Your code is creating an ArrayList, but how are you adding elements to it? One way to do that is to write your own class that extends arrayList. You write ur method, let's say 'addUser', and hten you have to have A call

RE: More Digester Help

2004-11-10 Thread Marco Mistroni
(); } } - Original Message - From: Marco Mistroni [EMAIL PROTECTED] To: 'Jakarta Commons Users List' [EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 1:12 PM Subject: RE: More Digester Help Hello, It will be useful If you can post the xml file and The code that you are putting in digester

RE: Digester Help

2004-11-09 Thread Marco Mistroni
Hello, You have to have commons-beanutils in your classpath, along with commons-digester, commons-collection, commons-logging commons-logging-api Regards marco -Original Message- From: Luke Shannon [mailto:[EMAIL PROTECTED] Sent: 09 November 2004 16:40 To: [EMAIL

RE: More Digester Help

2004-11-09 Thread Marco Mistroni
Hello, It will be useful If you can post the xml file and The code that you are putting in digester.. If you got a null , it probably means that some path defined in your Rules are not correct Regards marco -Original Message- From: Luke Shannon [mailto:[EMAIL

Digester trimming whitespaces

2004-10-01 Thread Marco Mistroni
Hello all, I am currently having a problem (?) with digester in the Sense that in parsing XML is 'trimming' whitespaces.. Here are the details of what is happening.. I have a client that is requesting XML from a webservice. Once received, the client parses it using digester.. In the

RE: DynaBeans and ResultSetDynaClass

2004-08-13 Thread Marco Mistroni
Hello, Can it be this the source of the problem? DynaBean row = (DynaBean) it.next(); DynaBean rowCopy = bdc.newInstance(); PropertyUtils.copyProperties(row, rowCopy); I guess when u use copyProperties the destination come First, and the source second Thus rowcopy

RE: BeanUtils problem

2004-05-17 Thread Marco Mistroni
Hi, Something wrong in ur classpath... Regards marco -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: 17 May 2004 14:34 To: Jakarta Commons Users List Subject: BeanUtils problem I'm manually creating a HashMap and then calling

Help with digester!

2004-05-14 Thread Marco Mistroni
Hi all, I am experiencing problem with digester when I use The xml files for the rules. I have following SQL file : ?xml version=1.0 encoding=UTF-8? sql statement namegetUsers/name valueselect * from user_details/value /statement statement namegetContact/name

wrap a Map into a DynaBean

2004-04-30 Thread Marco Mistroni
Hi all, Is there any way, using beanutils package, to 'wrap' a Map Into a DynaBean or something similar? From errors that I have, answer is no, but maybe some of you know Some alternatives.. Issue is that I am receiving different objects from my db layer, and I am wrapping them into a

MutableDynaClass question

2004-04-28 Thread Marco Mistroni
Hi all, I am trying to use some of beanutils package classes for getting] Data from a database (I plan to use the ResultSetDynaClass as well as MutableDynaClass . I have Some DTOs to populate and some of the methods don't match exactly the column name..) But I read in the APIDOC