On Thu, 08 Apr 2010 13:42:28 -0300, jaques robert <mondes_englou...@yahoo.fr> wrote:

<input type="checkbox" name="selectedDocumentFields" value="${documentField.documentFieldDN}" ${documentField.checked}/>

The ${documentField.checked} part is valid HTML but not valid XML, and Tapestry templates must be valid XML even when outputting HTML. If you really want not to use the Checkbox component, use checked="${checked}" and add this method to your class:

public String getChecked() {
        return documentField.checked ? "checked" : "";
}

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to