Foros de discusión
ratings
sasmita swain, modificado hace 11 años.
ratings
Regular Member Mensajes: 183 Fecha de incorporación: 24/02/12 Mensajes recientes
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, modificado hace 11 años.
RE: ratings
Expert Mensajes: 347 Fecha de incorporación: 12/12/11 Mensajes recientes
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, modificado hace 11 años.
RE: ratings
Regular Member Mensajes: 183 Fecha de incorporación: 24/02/12 Mensajes recientesJuhi 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, modificado hace 11 años.
RE: ratings
Regular Member Mensajes: 183 Fecha de incorporación: 24/02/12 Mensajes recientes
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, modificado hace 11 años.
RE: ratings
Expert Mensajes: 347 Fecha de incorporación: 12/12/11 Mensajes recientes
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, modificado hace 11 años.
RE: ratings
Regular Member Mensajes: 183 Fecha de incorporación: 24/02/12 Mensajes recientesJuhi 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