Hi all

I have a FormBean that defines a number of attributes:

...
private boolean complete = false;
private boolean warranty = false;

public boolean isComplete(){
return complete;
}

public boolean isWarranty(){
return warranty;
}

//setter methods
// other methods
...


In my jsp:

1 this works fine:
<htmlel:checkbox property="complete" value="${rows.complete}" />

2 this throws a no getter method exception
<htmlel:checkbox property="warranty" value="${rows.warranty}" />

3 this also works fine
<input type="checkbox" name="warranty" value='<c:out value="${rows.warranty}"
/>' />

Why does 2 throw an exception???????


db



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

Reply via email to