Skip to content
chqu1012 edited this page Oct 28, 2019 · 2 revisions

Welcome to the EntityFX wiki!

How to use ListForm indeed of TableForm

In the MetroPages.xentity you should define the List, the Table is available. After that you should include it into SpringMetro Application file, see below.

PageContainer{
...
	FxmlPage MetroContactList{
		fxml: FXML_METRO_DARK_LIST_FORM
		controller: de.dc.fx.entity.contact.control.MetroListFormContact
	}
	
	FxmlPage MetroContactTable{
		fxml: FXML_METRO_DARK_TABLE_FORM
		controller: de.dc.fx.entity.contact.control.MetroTableFormContact
	}
...
}
packagePath de.dc.fx.entity.contact

SpringMetro Contact{
	title: "My Application"
	subtitle: "Small description for this application"
	theme: Flat
	navigations: Contact, ContactHistory, EventLog, PreferencePage, MetroContactLogin, PersonPage, MetroContactList, MetroContactTable  
}
Clone this wiki locally