One Table, Two Fields Varchar and Boolean
For our client "goodclient" we are doing a portlet project called "xmlpfexampleK" where we want to create a users table maintenance, where there are two fields one is the "userName" and the other is the "userIsStudent".
This is how the portlet will look in the page with Liferays Classic theme. Observe that records with boolean field with true value are "checked".
This is how the portlet will look in user edit mode.
Here you have the full XMLPortletFactory xml file.
And here you have the portlet war generated. (for liferay 6.0.6)
If you want to use this example you can follow instructions here DOCUMENTATION