構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Charmaine Rebollido
Connecting to mysql liferay database using Icefaces portlet
2010/02/21 19:39
答え

Charmaine Rebollido

ランク: Junior Member

投稿: 28

参加年月日: 2009/12/11

最近の投稿

Hello,

Can anyone help me on connecting to liferay's databse using Icefaces..
I have learn to connect using JSP using service builder but now, I have to connect to it using Icefaces, can anybody help me with this?

Thanks in advance!
Charmaine Rebollido
Pravin Pawar
RE: Connecting to mysql liferay database using Icefaces portlet
2010/02/22 6:38
答え

Pravin Pawar

ランク: Junior Member

投稿: 62

参加年月日: 2009/11/17

最近の投稿

You can use Service Builder in Icefaces too.
Charmaine Rebollido
RE: Connecting to mysql liferay database using Icefaces portlet
2010/02/23 17:18
答え

Charmaine Rebollido

ランク: Junior Member

投稿: 28

参加年月日: 2009/12/11

最近の投稿

Hi Pravin, thanks for letting me know..
It's just that I don't know how to use the service builder with Icefaces,
can you guide me with this or give me a sample?

Thanks again..
Charmaine
Pravin Pawar
RE: Connecting to mysql liferay database using Icefaces portlet
2010/03/02 2:25
答え

Pravin Pawar

ランク: Junior Member

投稿: 62

参加年月日: 2009/11/17

最近の投稿

Please refer sample-icefaces-jsf-1.1-myfaces-jsp-portlet & add service.xml file for fields specified in JobApplication.jspx file. Generate service layer for this using service builder build-service Ant task.
Please let me know if you have any questions.
Charmaine Rebollido
RE: Connecting to mysql liferay database using Icefaces portlet
2010/03/08 18:57
答え

Charmaine Rebollido

ランク: Junior Member

投稿: 28

参加年月日: 2009/12/11

最近の投稿

Hi Pravin,

I tried the sample portlet you said and tried to add a service builder but I just can't get it to work..

Can you provide me a step by step process on how to use service builder with icefaces?
Thanks again.
Pravin Pawar
RE: Connecting to mysql liferay database using Icefaces portlet
2010/03/08 21:27
答え

Pravin Pawar

ランク: Junior Member

投稿: 62

参加年月日: 2009/11/17

最近の投稿

Hi Charmaine,

Please find attached Interview Portlet war, Deploy it & let me know if you have any issues
添付ファイル: interview-portlet-5.2.3.1.war (3,664.6k)
Charmaine Rebollido
RE: Connecting to mysql liferay database using Icefaces portlet
2010/03/09 23:42
答え

Charmaine Rebollido

ランク: Junior Member

投稿: 28

参加年月日: 2009/12/11

最近の投稿

Hi pravin,

I just wonder about this code in JobApplication.java:

1InterviewLocalServiceUtil.addInterview(_dateOfBirth, _emailAddress, resume,
2_firstName, _lastName, _phoneNumber,_applyForPost, _presentAddress, _permanentAddress,
3_contactNumber, _degree, _board, _college,_passingYear, _percentage,
4_additionalQualification, _skillName1, _skillLevel1, _skillName2,   
5_skillLevel2, _companyName1, _expFrom1, _expTo1, _designation1, _location1,
6_companyName2, _expFrom2, _expTo2, _designation2, _location2, _currentSalary,
7_expectedSalary, _noticePeriod,_rname, _rdesignation, _company, _rcontact);


Netbeans detect an error with this.

Because when I tried to follow the src code of the portlet you have provided, I am only allowed to put one variable inside InterviewLocalServiceUtil.addinterview().

example:
InterviewLocalServiceUtil.addInterview(_dateOfBirth)


If I add two or more in the parameter, it already becomes an error.

Hope you can help me with this one again, thanks..
Pravin Pawar
RE: Connecting to mysql liferay database using Icefaces portlet
2010/03/10 2:02
答え

Pravin Pawar

ランク: Junior Member

投稿: 62

参加年月日: 2009/11/17

最近の投稿

Hi Charmaine,

I am using Eclipse for development. Please try to generate build-service command. So you can get InterviewLocalServiceUtil class in service layer. Now you can ready to use addInterview method.

I have also attach the source code for interview-portlet just copy it in plugins-sdk/portlet directory. If you are familiar with Apache Ant, then simply open the terminal & execute the ant build-service command in liferay-plugins-sdk-5.2.3/portlets/interview-portlet. Once done with build-service command generate ant deploy command to deploy the portlet to server.
添付ファイル: interview-portlet.zip (3,807.2k)
Charmaine Rebollido
RE: Connecting to mysql liferay database using Icefaces portlet
2010/03/18 19:17
答え

Charmaine Rebollido

ランク: Junior Member

投稿: 28

参加年月日: 2009/12/11

最近の投稿

Hi Pravin,

thanks for the code but I really can't make it work ,.. emoticon
(sorry for that, I'm really just a newbie)
Can you provide a step by step process?
Thanks again..

Regards,
Charmaine
Julia Royee
RE: Connecting to mysql liferay database using Icefaces portlet
2012/01/16 18:11
答え

Julia Royee

ランク: New Member

投稿: 1

参加年月日: 2012/01/16

最近の投稿

thanks Charmaine Rebollido for this code.

Legal translation services
Robert Leo Smith
RE: Connecting to mysql liferay database using Icefaces portlet
2012/02/09 7:30
答え

Robert Leo Smith

ランク: New Member

投稿: 19

参加年月日: 2009/10/15

最近の投稿

I know this is a late post and you may have solved the issue; however, I noticed in the code fragment you sent the method call took many parameters. You said that when you attempted to call it with a single parameter it built, but adding a second failed. To me, it sounds as if the liferay jar file that you are including does not have the same methods as what you are describing. I would start by looking at what jars you are including, and make sure they are the correct ones.