Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Text box values put in the logic:iterate loop is not set in the form.  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting a problem while editing recprds using the logic iterate. I am putting a text box in the logic iterate tag in the jsp ie,

<logic:iterate name="LookupForm" property="bkList" id="bk">
<html:text name="bk" property="publisher" size="50" indexed="true" />

I can edit the publisher property after the records are listed and should get the new updated value in the action calss for further processing.
Now I am not getting the data in the action because the new value is not set in the form. Can anybody suggest how to bring the edited new data to the action calss.
The form cotains :

public class LookupForm extends ActionForm {

private String bookName = null;

private String author = null;

private String publisher = null;

private double price ;

private ArrayList bkList ;

public void reset(ActionMapping mapping,
HttpServletRequest request) {


public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {

ActionErrors errors = new ActionErrors();

return errors;

public String getBookName() {
return bookName;

public void setBookName(String bookName) {
this.bookName = bookName;

public String getAuthor() {
return author;

public void setAuthor(String author) { = author;

public String getPublisher() {
return publisher;

public void setPublisher(String publisher) {
this.publisher = publisher;

public double getPrice() {
return price;

public void setPrice(double price) {
this.price = price;

public ArrayList getBkList() {
return bkList;

public void setBkList(ArrayList bkList) {
this.bkList = bkList;


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!