This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with indexed properties in dynaactionform

 
venki janapati
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi iam using dynaactionform to display number of text fields dynamically.using
<form-property name="entries" type="java.lang.String[]" size="3"/>
<form-property name="queryTerms" type="java.lang.String[]"/>
<form-property name="operators" type="java.lang.String[]"/>
it is displaying 3 text fields.Once i enter data("war") into one field. iam retrieving from action class using
DynaActionForm userForm = (DynaActionForm) form;
when i execute userForm.get("entries") it gives me 6 entries
"war",,,"war",, like this
help is appreciated. i couldnt figure out the problem
 
Manjunath Bhat
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
change java.lang.String[] to java.lang.String
HTH
M Bhat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic