Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added reorder parameter in tutorial

...

Code Block
languagexml
titlesrc/main/webapp/Index.tml (partial)
  <t:grid source="addresses"
         reorder="honorific,firstName,lastName,street1,street2,city,state,zip,email,phone"/>

Note that the Grid component accepts the same "reorder" parameter that we used with the BeanEditForm.

Now And all we have to do is supply the addresses property in the Java code. Here's how Index.java should look now:

...