One Table, Two Fields one Varchar and the other Date 

 

 

         For our client "goodclient" we are doing a portlet project called "xmlpfexampleGG" where we want to create a users table maintenance, where there are two fields one is the "userName" and the other is the "userDate". 

 

         This is how the portlet will look in the page with Liferays Classic theme. Observe that date field is YYYY/mm/dd, this can be changed on preferences..

  

        This is how the portlet will look in user edit mode.

 

          Here you have the full XMLPortletFactory xml file.

XMLPFExample07.xml

          And here you have the portlet war generated. (for liferay 6.0.6)

xmlpfexampleGG-portlet-6.0.6.1.war

          If you want to use this example you can follow instructions here DOCUMENTATION