This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

array of textbox problem

 
Swathi Prakash
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,,

i have a page which has no of text boxes according to the count which i got from page loading.according to the count the no of text box will appear in the screen..my problem i m using ActionMessages in Action..
if my action throws any errors,i revert back to the same screen. the values in that textboxes are like this..
[Ljava.lang.Double;@655146}
i m setting the property as double data type..the value entered or disappears and the [Ljava.lang.Double;@655146}
string is appearing in my textbox...i want to get the values whatever i entered should be appeared on the screen,,.. what is the solution for this...please help me...
Thanks in advance...

Swathi
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Ljava.lang.Double;@655146}
That looks more like the toString result of a Double[] than a Double.

Am I right?
 
Hussain Fakhruddin
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I usually use string and boolean as the datatype in action forms, and later paseInteger if I need too.
 
Swamy Nathan
Ranch Hand
Posts: 187
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic