[Lang] reflectionToString on large objectgraphs

2004-09-10 Thread Jorg Heymans
Hi, I am trying to get something useful out of ToStringBuilder.reflectionToString() for my purpose. The objects i am trying to display are generated from a database schema. Some of them are in a many-to-many relationship, which does not help when trying to display some of the objects with the

Re: [Lang] reflectionToString on large objectgraphs

2004-09-10 Thread matthew.hawthorne
Jorg Heymans wrote: I am trying to get something useful out of ToStringBuilder.reflectionToString() for my purpose. The objects i am trying to display are generated from a database schema. Some of them are in a many-to-many relationship, which does not help when trying to display some of the

RE: [commons-configuration 1.0-rc1] complex properties

2004-09-10 Thread Eric Pugh
At this point you would have to convert yourself.. it has been kicked around in the next version to seperate the load and saving of configuration from the implement of configuration.. so you could convert... -Original Message- From: Olivier Lamy [mailto:[EMAIL PROTECTED] Sent:

Re: [Lang] reflectionToString on large objectgraphs

2004-09-10 Thread Jorg Heymans
Yup that's what i was after thanks! At least i can make it return without pulling back the whole database now :-) cool tnx Jorg Gary Gregory wrote: Don't you mean: exclude slot xyz, not method? You can do this: /** * This method does NOT include the password in the returned String.

RE: FileUtils question..

2004-09-10 Thread Chandrasekhar, Preetham
Hi Mark et all, Now it makes sense. My code just gets the string representation of the dile in the ftp but doesnt establish any connection. Any idea on how to establish connection with the ftp or modify a file on the ftp and can this be done using FileUtils alone? Say not ftp alone, even if i

[OT] Re: FileUtils question..

2004-09-10 Thread David Durham
Chandrasekhar, Preetham wrote: Hi Mark et all, Did you mean: et al.? David Durham Grammar Detective - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

checkings/setting permissions to files and folders

2004-09-10 Thread Chandrasekhar, Preetham
Hi all, I was wondering if there is any utility in the jakarta that allows me to check/set permissions and get these permissions? Also, is there any utility that unzips a zipped file. Ant has this functionality inbuilt but other than ant is there any utility in the commons package? Thanks

HttpClient: submit via input of type=image

2004-09-10 Thread Stephen Charles Huey
Hey, I'm a major aficionado of HttpClient, but I'm stumped. How do you submit a form that can't really be submitted without either hitting the Enter key while in an input of type=text or clicking on an input of type=image? In other words, say you have a JSX page where there are event handlers on

Re: checkings/setting permissions to files and folders

2004-09-10 Thread Stephane James Vaucher
On Fri, 10 Sep 2004, Chandrasekhar, Preetham wrote: Hi all, I was wondering if there is any utility in the jakarta that allows me to check/set permissions and get these permissions? java.io.File has some methods for this: canRead() canWrite() setReadOnly()

Re: checkings/setting permissions to files and folders

2004-09-10 Thread Paul Libbrecht
But there's nothing as rich as chmod which is, however, something many would love to have! I suppose it would be unix-only... paul Le 10 sept. 04, à 23:39, Stephane James Vaucher a écrit : I was wondering if there is any utility in the jakarta that allows me to check/set permissions and get

RE: HttpClient: submit via input of type=image

2004-09-10 Thread Hans Gilde
I don't know what JSX is other that Java XML Serialization. But, every HTTP request is either POST or GET. So, your form either submits through POST or GET. So, you need to figure out a) whether it's using POST or GET and b) what fields are being submitted. Then, use HttpClient to simulate it and

Re: HttpClient: submit via input of type=image

2004-09-10 Thread Oleg Kalnichevski
Stephen, When it comes to computers, things rarely happen by Lord Almighty's will. Just carefully examine the page source in the browser. There must be a FORM in the HTML source that most likely gets triggered by a javascript event. Once you know what action needs to be executed and what

RE: Computing values for f(x,y) [math]

2004-09-10 Thread Hans Gilde
Maybe I'm missing the point but both Jelly and JEXL let you add functions in Java. For JEXL, the instructions are on the main project page. For a Jelly script like Maven, it works like this: useBean class=a.s.d.Foo var=foo / useBean class=a.s.d.Bar var=parameter / ${foo.function(parameter)}