Foren
ratings
sasmita swain, geändert vor 11 Jahren.
ratings
Regular Member Beiträge: 183 Beitrittsdatum: 24.02.12 Neueste Beiträge
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
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
Juhi Kumari, geändert vor 11 Jahren.
RE: ratings
Expert Beiträge: 347 Beitrittsdatum: 12.12.11 Neueste Beiträge
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
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, geändert vor 11 Jahren.
RE: ratings
Regular Member Beiträge: 183 Beitrittsdatum: 24.02.12 Neueste BeiträgeJuhi 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, geändert vor 11 Jahren.
RE: ratings
Regular Member Beiträge: 183 Beitrittsdatum: 24.02.12 Neueste Beiträge
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
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
Juhi Kumari, geändert vor 11 Jahren.
RE: ratings
Expert Beiträge: 347 Beitrittsdatum: 12.12.11 Neueste Beiträge
Hi,
Check the tables in database either its updating or not??
I test it and its working fine for me.
Regards
Juhi
Check the tables in database either its updating or not??
I test it and its working fine for me.
Regards
Juhi
sasmita swain, geändert vor 11 Jahren.
RE: ratings
Regular Member Beiträge: 183 Beitrittsdatum: 24.02.12 Neueste BeiträgeJuhi 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