Hi again,

i want to show in a form some values from list. The values are read-only and
should't be edited or saved.

After the user submitted the form i get the error:
"Could not find a coercion from type java.lang.String to type PreviewVO"

The code:

.....
<table>
<t:loop source="myModel" value="myModelRow">
        <tr>
                <td>${myModelRow.extIdText}</td>
                <td>${myModelRow.id}</td>
        </tr>
</t:loop>
</table>

.....

My data container:

class PreviewVO{
   String extidText ;
   String id;
}


I think, the problem is - both properties of class PreviewVO are of type
String, so Typestry cannot associate the values. But i don't need that, i
jast want to show a table.


Thanks,
resign






--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Type-coercion-and-loop-in-Form-tp5459480p5459480.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to