One Table, Two Fields one Varchar and the other Text 

 

 

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

 

         This is how the portlet will look in the page with Liferays Classic theme. Observe that records with content on the text field are "checked".

  

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

and this will be the look when a user is added successfully.

          Here you have the full XMLPortletFactory xml file.

XMLPFExample06.xml

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

xmlpfexampleF-portlet-6.0.6.1.war

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