Hello Ben:

It should be possible indeed. This is the kind of thing with which this builder 
was designed and tested. Make sure you are using the current version of lang 
(2.3). Does it happen if you use the single arg method?

If you take a peek at the unit tests you'll see that the class is tested to 
output fields from nested objects to any depth. So I really wonder what is 
going on.

You could also write a test case with no external dependencies if you need to 
file a JIRA ticket.

Thank you,
Gary

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben
> short
> Sent: Wednesday, April 18, 2007 8:11 AM
> To: commons-user@jakarta.apache.org
> Subject: [Lang] ToStringBuilder Question
>
> Hi,
>
> Im trying to use the ToStringBuilder as follows,
>
> ToStringBuilder.reflectionToString(request, ToStringStyle.MULTI_LINE_STYLE)
>
> the output I get is....
>
> [EMAIL PROTECTED]
>   [EMAIL PROTECTED]
> ]
>
>
> I was hoping that the output would be more verbose and output all of
> the request properties.
>
> Is this possible?
>
> Regards
>
> Ben
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to