| <!-- $Id$ --> |
| |
| <span jwcid="$content$"> |
| |
| <form jwcid="form"> |
| |
| <!-- This component could be implemented using the FormTable component |
| in the following way: |
| |
| <table jwcid="@contrib:FormTable" width="100%" |
| source="ognl:@java.util.Locale@getAvailableLocales()" |
| columns="!checkbox, Locale:toString(), Language:displayLanguage, Country:displayCountry, |
| Variant:displayVariant, ISO Language:ISO3Language, ISO Country:ISO3Country" |
| row="ognl:currentLocale" |
| rowsClass="ognl:beans.rowClass.next"/> |
| <span jwcid="checkboxColumnHeader@Block"></span> |
| <span jwcid="checkboxColumnValue@Block"><span jwcid="checkbox"/></span> |
| |
| Instead, in this example we use a custom layout for the table (usually done |
| for greater flexibility), rather than the standard one provided |
| by the FormTable component. We use the lower level Table components instead |
| and lay them out in our own way. --> |
| |
| <table jwcid="tableView" width="100%"> |
| <tr> |
| <td colspan="7"> |
| <span jwcid="tablePages@contrib:TableFormPages"/> |
| </td> |
| </tr> |
| |
| <tr> |
| <td></td> |
| <td jwcid="tableColumns"/> |
| </tr> |
| |
| <tr jwcid="tableFormRows"> |
| <td><span jwcid="checkbox"/></td> |
| <td jwcid="tableValues" align="center"/> |
| </tr> |
| </table> |
| |
| <span jwcid="submitButton"/> |
| |
| </form> |
| |
| </span> |