Hi, In the form, I have a text field with the table, I'd like to save the text field value by submitting the form IF user click on the header column to do the table sorting, the problem is it isnt working, am i missing something? Anyone could help ... if my logic is totally wrong, could u provide me a simple sample? Thank you very much
"The Table component in Tapestry 4.0 automatically performs the FormTablefunctions if contained by Formcomponents" -- quote from docs. The code goes something like this. -- Template -- <form jwcid="@Form"> <input jwcid="@TextField" value="ognl:textfield1" /> <table jwcid="table"> </table> </form> -- Page Specification -- <component id="table" type="Contrib:Table"> <binding name="source" value="entries" /> <binding name="columns" value="literal: id, name" /> </component>