Message Boards

« Back to 2.- Usage ( From Xml file to CRUD Portlet)

can u please explain the flow how the fields are inserted in the database

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi Everyone,

can u please explain the flow how the fields are inserted in the database

I am struggling for how control is moving from jsp to Action class (or) how fields are inserting and retriving back.where database code is located properly.


Thanks & Regards,
Nagesh

RE: can u please explain the flow how the fields are inserted in the databa
Answer
12/15/11 3:26 PM as a reply to nagesh vv Bodapati.
Hi Nagesh:
most of the flow is handled internally by Liferay, which uses Spring and Struts for that. For the service layer, which access the database, I recommend you to have a look at YOURENTITYLocalServiceImpl.java class. There you'll see methods that interact with the Service Layer.
Regards!
Juan