Download
Esempi
Gestione remota
News
Tecnica

Calendario
Eventi






the xml binding file for AdmissionJC example
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<binding xmlns="http://www.jpaso.com/Binding">
	<displayGroup>
		<name>
			displayGroupStudent
		</name>
		<entity>
			Student 
		</entity>
	</displayGroup>
	<displayGroup>
		<name>
			displayGroupActivities
		</name>
		<parent>
			displayGroupStudent 
		</parent>
		<parentAspect>
			activities
		</parentAspect>
	</displayGroup>
	<table>
		<widget>
			studentTable 
		</widget>
		<displayGroup>
			displayGroupStudent 
		</displayGroup>
		<column>
			<title>Name</title> 
			<key>
				name 
			</key>
			<width>
				200 
			</width>
		</column>
		<column>
			<title>Gpa</title> 
			<key>
				gpa 
			</key>
			<width>
				240 
			</width>
			<numberFormatter>
				0.00;-0.00
			</numberFormatter>
		</column>
	</table>
	<table>
		<widget>
			activitiesTable 
		</widget>
		<displayGroup>
			displayGroupActivities 
		</displayGroup>
		<column>
			<title>Name</title> 
			<key>
				name 
			</key>
			<width>
				200 
			</width>
		</column>
		<column>
			<title>Achievements</title> 
			<key>
				achievements 
			</key>
			<width>
				240 
			</width>
		</column>
	</table>
	<actionListener>
		<widget>
			searchTextField 
		</widget>
		<target>
			displayGroupStudent 
		</target>
		<action>
			qualifyDataSource
		</action>
	</actionListener>
	<association type="text">
		<widget>
			searchTextField 
		</widget>
		<displayGroup>
			displayGroupStudent 
		</displayGroup>
		<key>
			@query=.name 
		</key>
	</association>
	
	<association type="text">
		<widget>
			nameTextField 
		</widget>
		<displayGroup>
			displayGroupStudent 
		</displayGroup>
		<key>
			name 
		</key>
	</association>	
	<association type="text">
		<widget>
			gpaTextField 
		</widget>
		<displayGroup>
			displayGroupStudent 
		</displayGroup>
		<key>
			gpa 
		</key>
		<numberFormatter>
			0.00;-0.00
		</numberFormatter>
	</association>
	<actionListener>
		<widget>
			insertStudentButton 
		</widget>
		<target>
			displayGroupStudent 
		</target>
		<action>
			insert 
		</action>
	</actionListener>
	<actionListener>
		<widget>
			deleteStudentButton 
		</widget>
		<target>
			displayGroupStudent 
		</target>
		<action>
			deleteSelection 
		</action>
	</actionListener>
	<actionListener>
		<widget>
			saveButton 
		</widget>
		<target>
			owner 
		</target>
		<action>
			save 
		</action>
	</actionListener>
	<actionListener>
		<widget>
			fetchButton 
		</widget>
		<target>
			displayGroupStudent 
		</target>
		<action>
			fetch
		</action>
	</actionListener>
	<association type="text">
		<widget>
			activitiesNameTextField
		</widget>
		<displayGroup>
			displayGroupActivities 
		</displayGroup>
		<key>
			name 
		</key>
	</association>
	<association type="text">
		<widget>
			achievementsTextField
		</widget>
		<displayGroup>
			displayGroupActivities 
		</displayGroup>
		<key>
			achievements 
		</key>
	</association>
	<association type="text">
		<widget>
			sinceTextField
		</widget>
		<displayGroup>
			displayGroupActivities 
		</displayGroup>
		<key>
			since 
		</key>
		<timestampFormatter>
			 %b %d %Y 
		</timestampFormatter>
	</association>
	<actionListener>
		<widget>
			addActivityButton 
		</widget>
		<target>
			displayGroupActivities 
		</target>
		<action>
			insert 
		</action>
	</actionListener>
	<actionListener>
		<widget>
			removeActivityButton 
		</widget>
		<target>
			displayGroupActivities 
		</target>
		<action>
			deleteSelection 
		</action>
	</actionListener>
</binding>