From: "Swapnil Patil" <[EMAIL PROTECTED]>

I had tried with the variable names like
String sTitle;
boolean bTest;

<html:text property="sTitle"/>
<html:text property="bTest"/>
and both times I got same type of exception. but supricing it works for
<html:text property="col"/> ( col is declared as Collection in the Form)

Not surprising at all. :) The secret is in the JavaBeans specification which lays out the rules about how method names are decapitalized to get property names (and vice versa).

Download the specification here:
  http://java.sun.com/products/javabeans/docs/spec.html

The easiest thing to do is name your properties with two or more lowercase letters prior to the first capital letter.

--
Wendy Smoak


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

Reply via email to