I think, setting the disabled property in the beginRender phase is to
early, because the textfield is not rendered yet. So the current element is
th <td>.

Do it in the afterRender phase.

Manu

2012/4/12 resign <sergejb...@yahoo.de>

> following:
>
> my textField is in table cell.
> If i view into generated html, i can see that the <td> - element is
> "disabled"...
>
> ....
> <td colspan="2">
>    <input t:type="TextField"
>           t:id="manualCoordinates"
>           value="myObject.manualCoordinates"
>           t:mixins="FieldRightsMixin"
>           idTag="literal:manualCoordinates"
>           processEdit="isEditable"
>   />
> </td>
> ....
>
> and generated HTML looks like
> ..
> <td disabled="disabled" colSpan="2">
>  <input name="manualCoordinates"  type="text" value="12345"/>
> </td>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-2-6-mixins-example-tp5635318p5635389.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
>
>


-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emman...@gmail.com
http://emmanueldemey.fr

Twitter : @gillespie59

Reply via email to