Re: BeanUtils

2003-01-23 Thread Henri Yandell
To my knowledge, there's nothing in there to help you. BeanUtils just makes using beans easier. Betwixt is a project which turns beans into XML, this might be the project you're looking for? Hen On Fri, 24 Jan 2003, [iso-8859-1] Desmond Wong wrote: > What can I use in BeanUtils for XML process

RE: [jelly] Problems generating xml with j:file and x:element

2003-01-23 Thread Rademacher Tobias
Okay, my problem is solved. My current maven build does not contain commons-jelly-xml-snapshot. I added it into the lib directory and the file is generated nicly. Cool! > -Original Message- > From: Rademacher Tobias [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 8:17 AM > To:

[jelly] Problems generating xml with j:file and x:element

2003-01-23 Thread Rademacher Tobias
Hello Jelly-Folks, I'm using the current jelly script snipplet into maven in order to generate a ear deployment descriptor from the project descriptor because it contains all the info I need: ${pom.id}

BeanUtils

2003-01-23 Thread Desmond Wong
What can I use in BeanUtils for XML processing? __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: For additional

[Digester] How to specify a parameter from top-of-stack

2003-01-23 Thread Naresh Bhatia
I am trying to parse an XML file similar to the one shown below: ... ... I want Digester to return a HashMap with partNumber as the key and product as the value. How do I put the product on to the HashMap? I guess I don't know how can specify the object from top of the

RE: [Digester] Does really work?

2003-01-23 Thread Naresh Bhatia
Thanks Robert and Scott. This works with the CVS HEAD version. Naresh > sorry to be a PITA but could you retry with the CVS HEAD version or a > recent nightly? > > (yes, i know that digester 1.4 should have been out ages ago but hopefully > that'll be rectified very soon.) > > - robert > What v

Re: [jelly] How to get a URL object ?

2003-01-23 Thread dion
Did you use core:arg with core:new?, e.g. Untested: http://www.me.com"/> -- dIon Gillard, Multitask Consulting Blog: http://www.freeroller.net/page/dion/Weblog Work: http://www.multitask.com.au Paul Libbrecht <[EMAIL PROTECTED]> wrote on 24/01/2003 06:56:47 AM: > > Does anyone kn

RE: [Digester] Does really work?

2003-01-23 Thread Scott Sanders
What version of Digester are you using. Can you try with the latest (HEAD) version? Scott > -Original Message- > From: Naresh Bhatia [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 4:10 AM > To: [EMAIL PROTECTED] > Subject: [Digester] Does really work? > > > I don't und

[Digester] Does really work?

2003-01-23 Thread Naresh Bhatia
I don't understand how to make work for parsing a simple set of properties in to a Hashtable. Here's an example of my data: I have tried two approaches to push the parameters on to the stack, but logger output shows that is never fired. Instead is fired and it calls the put( )

Re: [jelly] Taglib best practices for nested elements?

2003-01-23 Thread Paul Libbrecht
parse its body into some DOM model or turn the XML events into some kind of Java objects or other kind of data structure" How can I do this? How could I implement my specious JellyUtils.tagToDom4jElement() method? Tag.getBody() returns a Script, from which I haven't figured out how to get a do

Re: [jelly] build broken?

2003-01-23 Thread Paul Libbrecht
I can only say good reason: in the sandbox, one generally gets dirty (my kids do at least). No-one is comfortable with that dependency on the maven cvs-head but the current refactoring in order to isolate the tag-libraries is something that was needed I believe. Paul On Jeudi, janv 23, 2003,

Re: [jelly] build broken?

2003-01-23 Thread Christian Sell
Paul Libbrecht wrote: Christian, (note that you forgot the [jelly] bracket in your subject) This is a known bug of not using a daily checkout of maven to build jelly... (known to James at least). hmm, is it advisable to use the cvs checkout of maven instead? Any pitfalls? -- To unsubscrib

Re: [jelly] Taglib best practices for nested elements?

2003-01-23 Thread Christian Sell
Looking at jelly:bean - http://jakarta.apache.org/commons/sandbox/jelly/tags.html#jelly:bean - leads me to http://jakarta.apache.org/commons/sandbox/jelly/apidocs/org/apache/commons/jelly/tags/bean/BeanTag.html -- is that correct? If so, there is the intriguing doc comment "Creates a bean for t

Re: [DBCP] connection closing problem

2003-01-23 Thread Cindy Ballreich
Rodney, Thanks for responding! At 01:39 PM 1/23/03 -0800, Rodney Waldhoff wrote: >On Thu, 23 Jan 2003, Cindy Ballreich wrote: > >I was unable to find your previous message (in any) in the archives. There wasn't one. I posted a couple on the Tomcat-User list, but I had to move on to other things

Re: [DBCP] connection closing problem

2003-01-23 Thread Rodney Waldhoff
On Thu, 23 Jan 2003, Stephen Westbom wrote: > The best way to handle it is to make the pool an active object (it should have > its own thread that comes alive every X milliseconds and does something). This > something for a connection pool would be to have a configuration option for > idle time o

Re: [DBCP] connection closing problem

2003-01-23 Thread Stephen Westbom
The best way to handle it is to make the pool an active object (it should have its own thread that comes alive every X milliseconds and does something). This something for a connection pool would be to have a configuration option for idle time on the poolable objects. This is the standard way o

Re: [jelly] How to get a URL object ?

2003-01-23 Thread Paul Libbrecht
Oh sure... although... slightly verbose... this is exactly what I need... Thanks! Paul On Jeudi, janv 23, 2003, at 21:15 Europe/Berlin, Mark R. Diggory wrote: You could use the "arg" tag to put the string value of the url into the constructor? http://www.google.com"/> Does anyone know

Re: [DBCP] connection closing problem

2003-01-23 Thread Rodney Waldhoff
On Thu, 23 Jan 2003, Cindy Ballreich wrote: > Some time back I did an experiment using DBCP with Tomcat (JNDI) and > MySQL. I was able to get a beautiful connection pool, but the connection > to the database seemed to die after an extended period of idleness. I was unable to find your previous me

Re: [jelly] Taglib best practices for nested elements?

2003-01-23 Thread Thomas Nichols
Christian, Thanks for the reply. At 16:22 23/01/2003 +0100, you wrote: Thomas, see the earlier discussion I had with James on "taglib implementation question". Thanks, this thread was helpful. In essence, if your nested tags are not executable, but only reflect an object hierarchy which sho

[DBCP] connection closing problem

2003-01-23 Thread Cindy Ballreich
Some time back I did an experiment using DBCP with Tomcat (JNDI) and MySQL. I was able to get a beautiful connection pool, but the connection to the database seemed to die after an extended period of idleness. Not having the time to deal with it, I went back to my old connection pooling softwar

Re: [jelly] How to get a URL object ?

2003-01-23 Thread Mark R. Diggory
You could use the "arg" tag to put the string value of the url into the constructor? http://www.google.com"/> Paul Libbrecht wrote: Does anyone know of a way to obtain a java.net.URL object in Jelly ? I tried but it did not seem to work (I am not sure it qualifies enough as a bean). I w

Re: [jelly] build broken?

2003-01-23 Thread Paul Libbrecht
Christian, (note that you forgot the [jelly] bracket in your subject) This is a known bug of not using a daily checkout of maven to build jelly... (known to James at least). For me, it was sufficient, yesterday and today, to fix the two following things to build the taglibs I needed: -> remo

[jelly] How to get a URL object ?

2003-01-23 Thread Paul Libbrecht
Does anyone know of a way to obtain a java.net.URL object in Jelly ? I tried but it did not seem to work (I am not sure it qualifies enough as a bean). I would like to use javascript but cannot find this anymore... My need is to have the url-resolution mechanism which is in this class... built

[Digester] [Jelly] Features comparison and/or differences

2003-01-23 Thread Dominique Devienne
Can anyone compare (or point to some kind of article comparing) Jelly and Digester, what they have in common, how they do things differently? Pros and cons, this kind of stuff. If this could be contrasted to Ant's way of mapping XML to Java code, that would be even better, but not necessary. Thanks

[general] website [WAS Re: [digester] broken page link]

2003-01-23 Thread robert burrell donkin
i think that the problem is the sandbox/index.html being totally out of date. i can't find anywhere this is linked to from the actual live site. unless someone can give me a good reason not to, i propose to remove this file. - robert On Thursday, January 23, 2003, at 05:20 PM, Jeff Barrett wro

Re: [Digester] Does really work?

2003-01-23 Thread robert burrell donkin
sorry to be a PITA but could you retry with the CVS HEAD version or a recent nightly? (yes, i know that digester 1.4 should have been out ages ago but hopefully that'll be rectified very soon.) - robert On Thursday, January 23, 2003, at 05:05 AM, Naresh Bhatia wrote: I don't understand how to

RE: Vague Digester Question

2003-01-23 Thread Scott Sanders
Just shorten your paths, and it should work. For example Match on root Match on page Match on test As long as root and test have an addPage() function (or similar) you should be able to do it no problem. Scott > -Original Message- > From: Howard Miller [mailto:[EMAIL PROTECTED]] > Sen

[jelly] build broken?

2003-01-23 Thread Christian Sell
Hello (again), when tring to build taglibs from within their respective directories, I see the stacktrace below. What can I do? [ERROR] java.io.FileNotFoundException: /home/cse/dell/work/jakarta-commons/jakarta-commons-sandbox/jelly/jelly-tags/swing/${basedir}/../tag-project.xml (No such file

build broken?

2003-01-23 Thread Christian Sell
Hello, when tring to build taglibs from within their respective directories, I see the stacktrace below. What can I do? [ERROR] java.io.FileNotFoundException: /home/cse/dell/work/jakarta-commons/jakarta-commons-sandbox/jelly/jelly-tags/swing/${basedir}/../tag-project.xml (No such file or dire

[digester] broken page link

2003-01-23 Thread Jeff Barrett
This link is giving a 404: http://jakarta.apache.org/commons/sandbox/digester.html The link exists here and perhaps elsewhere: http://jakarta.apache.org/commons/sandbox/ +jeff -- To unsubscribe, e-mail: For additional commands, e-mail:

[Latka] problems getting started

2003-01-23 Thread Daniel Pfuhl
i installed the latka 1.0 alpha1 release an tried getting started by using the provided samples. the result is shown below! --SNIP-- C:\Programme\apache.org\jakarta-latka-1.0-alpha1\bin>latka "file:../tests/samples/TestCommonsWebsite.xml" SUI

[jelly] one more bug in outputer

2003-01-23 Thread Paul Libbrecht
... when prettyPrint is set to true, it cuts words, not very elegant. That seems to be also the case of the tag. Paul -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: [jelly] Re: NullPointer in the transform tag

2003-01-23 Thread Paul Libbrecht
On Mercredi, janv 22, 2003, at 09:42 Europe/Paris, James Strachan wrote: From: "Paul Libbrecht" <[EMAIL PROTECTED]> When passing the body's output as source of the transformation, I seem to have little issue: the transformer is not knowing the URL of the source. Any clue how to fix this ? Did

Re: [jelly] Taglib best practices for nested elements?

2003-01-23 Thread Christian Sell
Thomas, see the earlier discussion I had with James on "taglib implementation question". In essence, if your nested tags are not executable, but only reflect an object hierarchy which should be stuffed into the root object (i.e., they configure the outer tag like in ANT a taskdef is configured

[jelly] Taglib best practices for nested elements?

2003-01-23 Thread Thomas Nichols
Good day, I'm implementing a custom tag library, trying to learn some lessons from earlier attempts. This library needs to use nested elements - a top-level "munge" tag contains children and grandchldren. I.e. level 0 : munge etc. level 1 : input tag, output tag etc. - "parameters" lev

[DBCP] logAbandoned

2003-01-23 Thread Philipp Leusmann
Hi, when I specify logAbandoned in a DataSource, into which logfile will the output go? Thanks, Philipp -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: [jelly] echo tag

2003-01-23 Thread Christian Sell
How about this is some text this is some text not bad.. where the above attributes show all the default values, so that they can be ommitted, yielding this effect: System.out.println("this is a message"); Just an idle observation, you could declare System.out and System.err as v

Re: [jelly] echo tag

2003-01-23 Thread James Strachan
From: "Christian Sell" <[EMAIL PROTECTED]> > > what exactly would it look like? i.e. what do you > > want to type in your Jelly scripts? > > this is > a message How about this is some text this is some text > where the above attributes show all the default values, so that they can > be

RE: [jelly] echo tag

2003-01-23 Thread Wannheden, Knut
> > endcr="true">this is > a message > Shouldn't at least the xmlout attribute be left out? It's kind of duplicating what a simple XML text node would do. I think the tag should focus on one thing: writing to the console (stdout or sterr). IMHO, the log taglib is enough. I'm sure you can

Re: [jelly] echo tag

2003-01-23 Thread Christian Sell
James Strachan wrote: So doing this this will appear on the console as text with carriage returns etc should do what you need. I have attached 2 files: 1. amended suite.jelly which includes a test that demonstrates the effect where expressions seem to mess up content handling

Vague Digester Question

2003-01-23 Thread Howard Miller
Hi, This might be a little off topic... sorry in advance I have an application that (using struts) displays a series of simple forms in a web application. The forms are defined using an xml file parsed by Digester. It looks like ... stuff for this page.. .. stuff for the next

Re: [jelly] echo tag

2003-01-23 Thread James Strachan
From: "Christian Sell" <[EMAIL PROTECTED]> > Martin Cooper wrote: > > > > On Thu, 23 Jan 2003 [EMAIL PROTECTED] wrote: > > > > > >>I was thinking about this also, and thought about the 'out' tag from the > >>jsp standard taglib? > >> > >>Comments? > > > > > > This would write to the Jelly outpu

Re: [jelly] echo tag

2003-01-23 Thread Christian Sell
Martin Cooper wrote: On Thu, 23 Jan 2003 [EMAIL PROTECTED] wrote: I was thinking about this also, and thought about the 'out' tag from the jsp standard taglib? Comments? This would write to the Jelly output stream, though, not to the console, wouldn't it? At least, that's what I would

Re: [jelly] echo tag

2003-01-23 Thread Christian Sell
Martin Cooper wrote: On Wed, 22 Jan 2003, Christian Sell wrote: Paul Libbrecht wrote: It does it does ! But what is an echo supposed to do ? what it has been doing all the time (in any OS shell language). Just put out a string and a carriage return to the console. Console? Who says the