留言板

ratings

sasmita swain,修改在11 年前。

ratings

Regular Member 帖子: 183 加入日期: 12-2-24 最近的帖子
Hi

How To Give Ratings In Portlet For User..So User Can Rate The page..

<liferay-ui:ratings
className="<%= ShoppingItem.class.getName() %>"
classPK="<%= shoppingItem.getItemId() %>"
/>

In My Custom Jsp I have Used Above Code But It is not Working...It is Showing Only Stars But When I am Clicking On Stars it is not Enable..

Can Anybody Help me??

Thanks

Sasmita
thumbnail
Juhi Kumari,修改在11 年前。

RE: ratings

Expert 帖子: 347 加入日期: 11-12-12 最近的帖子
Hi,

Check classNameId and classPK columns of ratingsstar and ratingsentry tables are properly mapped to
your curtom table or not. I tried this and its working fine fir me.

Regards
Juhi
sasmita swain,修改在11 年前。

RE: ratings

Regular Member 帖子: 183 加入日期: 12-2-24 最近的帖子
Juhi Kumari:
Hi,

Check classNameId and classPK columns of ratingsstar and ratingsentry tables are properly mapped to
your curtom table or not. I tried this and its working fine fir me.

Regards
Juhi

Thanks for your reply

can u give working example..i have tried a lot but it is not working..
sasmita swain,修改在11 年前。

RE: ratings

Regular Member 帖子: 183 加入日期: 12-2-24 最近的帖子
Hi juhi

actually i am doing in shopping portlet..ratings are comming in jsp but it is not enabled for users..when they are clicking on stars it is fixing not incerasing rates

how to do?

Thanks

Sasmita
thumbnail
Juhi Kumari,修改在11 年前。

RE: ratings

Expert 帖子: 347 加入日期: 11-12-12 最近的帖子
Hi,
Check the tables in database either its updating or not??
I test it and its working fine for me.

Regards
Juhi
sasmita swain,修改在11 年前。

RE: ratings

Regular Member 帖子: 183 加入日期: 12-2-24 最近的帖子
Juhi Kumari:
Hi,
Check the tables in database either its updating or not??
I test it and its working fine for me.

Regards
Juhi



no it is not working in my custom portlet.when i am loging by admin,it is working but for user they are not able to rate

how to do?

Thanks

Sasmita