I didnt expect the useful tip is coming from a deprecated component. Thank you very much.
On 4/14/06, Mike Snare <[EMAIL PROTECTED]> wrote: > > The docs also say this (at least for 4.0, not sure for 3.x) with > regard to the column binding. > > "The full description string may be prefixed by the * character, which > means that the table is to be rendered within a form, and the column > headers must submit the form if they are clickable (i.e. if the column > is sortable)." > > On 4/13/06, sp y <[EMAIL PROTECTED]> wrote: > > 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> > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
