掲示板
How to set the values from a portlet to the service class
12年前 に Bharani Ravi Kanth によって更新されました。
How to set the values from a portlet to the service class
Junior Member 投稿: 63 参加年月日: 12/01/20 最新の投稿
Hello Guys,
actually my task for the day is to i have two fields in a portlet which accepts string if i click on submit it should store the value in the database,so i have created my service.xml with two coumns of type String and i have successfully generated service classes from it by build -service now the problem which i am facing problem in setting the values from the portlet to the service class can you guys help me in sort out in this.
Regards
Bharani
actually my task for the day is to i have two fields in a portlet which accepts string if i click on submit it should store the value in the database,so i have created my service.xml with two coumns of type String and i have successfully generated service classes from it by build -service now the problem which i am facing problem in setting the values from the portlet to the service class can you guys help me in sort out in this.
Regards
Bharani
12年前 に Olivier Bonnet-Torrès によって更新されました。
RE: How to set the values from a portlet to the service class
Regular Member 投稿: 162 参加年月日: 08/07/11 最新の投稿
Hi!
This is the French forum. You may post your question in the general (i.e. English) section.
Exceptionally I will provide you with a hint. You have to write the CRUD methods for your *LocalServiceImpl class, then call the *LocalServiceUtil class from your *Portlet class and provide request parameters to corresponding service fields.
More info in the English section -- the question is a fairly standard one and you can find much more related posts there.
Olivier
This is the French forum. You may post your question in the general (i.e. English) section.
Exceptionally I will provide you with a hint. You have to write the CRUD methods for your *LocalServiceImpl class, then call the *LocalServiceUtil class from your *Portlet class and provide request parameters to corresponding service fields.
More info in the English section -- the question is a fairly standard one and you can find much more related posts there.
Olivier
12年前 に Leo Pratlong によって更新されました。
RE: How to set the values from a portlet to the service class
Expert 投稿: 363 参加年月日: 10/07/06 最新の投稿
Sorry, this is the french section. Only french is allowed here.
Since I can't move your thread on english section, I have to lock it. Sorry about that.
Thx Olivier for your answer .
Since I can't move your thread on english section, I have to lock it. Sorry about that.
Thx Olivier for your answer .