Thanks Igor.
I was using add() to add properties that were already set - if I really wanted 
to do that, I think I should be using put() instead.
Russ

> From: [email protected]
> Date: Mon, 13 Jul 2009 20:43:56 -0700
> Subject: Re: Odd behavior
> To: [email protected]
> 
> its not a reference to a string, its a reference to a string *array*,
> notice the [ in the beginning. can happen if you add the same key
> twice to the valuemap - it will create an array.
> 
> -igor
> 
> On Mon, Jul 13, 2009 at 7:43 PM, Russell
> Simpkins<[email protected]> wrote:
> >
> > All,
> > Every now and then my for ends up displaying
> > [Ljava.lang.String;@7cd46bea
> >
> > instead of displaying my string value. There is no rhyme or reason, just 
> > going back and forth through my application and eventually I see that value 
> > dumped out in lieu of my actual string value.
> >
> >
> > ValueMap properties;add(new RequiredTextField("toStreetAddress1", new 
> > PropertyModel(properties, "toStreetAddress1")));
> > The properties ValueMap is getting populated on posts and held during the 
> > session. Where should I look first to figure out why only sometimes do I 
> > see the reference of the string instead of the string value.
> > Thanks,
> > Russ
> > _________________________________________________________________
> > Hotmail® has ever-growing storage! Don’t worry about storage limits.
> > http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

_________________________________________________________________
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009

Reply via email to