I guess, to be more concilliatory, Janne, I could say that if you want to use your solution, then you could just index item, e.g. <html:image indexed="true" src="delete.gif" property="item"/ and when you call getIndex(34) do the following:


public Id getIndex(Integer id) { return new Id(intValue()); }

Where the class Id is the following:

public class Id {
 private int id;

 public Id(Integer x) {
   id = x.intValue();
 }

 public int getId() {
   return id;
 }

 public void setX(Integer x) {
 }

 public void setY(Integer y) {
 }
}

That gets rid of all your classes and gives you the same result.



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



Reply via email to