留言板

How to solve liferay SignIn Portlet as Popup issue?

Preetam Thakur,修改在12 年前。

How to solve liferay SignIn Portlet as Popup issue?

New Member 帖子: 2 加入日期: 12-2-16 最近的帖子
Hi,
I am working on popup in liferay.I have displayed signin portlet as a popup.Popup comes with signin portlet.But when I submit the form with invalid username or password the page is going to be refreshed.Hence this popup getting closed.I want to stay in popup with error messages like " Authentication failled .Please try again".

Please let me know how to do this.

Thanks in Advance
thumbnail
Mani kandan,修改在12 年前。

RE: How to solve liferay SignIn Portlet as Popup issue?

Expert 帖子: 492 加入日期: 10-9-15 最近的帖子
Give "return false" in that javascript
Preetam Thakur,修改在12 年前。

RE: How to solve liferay SignIn Portlet as Popup issue?

New Member 帖子: 2 加入日期: 12-2-16 最近的帖子
sorry for the late reply. I was busy with some other development engagements.

I tried "return false;" like as mentioned. But still the problem persists.

lets say if I am clicking in the sign in button without entering anything, the popup closes. Next time I click on sign in link, the popup appears with the authentication failed message.

But what I want is the popup should not get closed until there is a valid login.

Thanks,
Preetam
thumbnail
srikanth a,修改在12 年前。

RE: How to solve liferay SignIn Portlet as Popup issue?

Regular Member 帖子: 144 加入日期: 11-2-21 最近的帖子
Hi ,
Try to close the window when response is success and in the error section make the div (where you have added the error msg ) visible using javascript.
hope it solves your issue..

regards
Sri
thumbnail
devaraj s,修改在11 年前。

RE: How to solve liferay SignIn Portlet as Popup issue?

Regular Member 帖子: 228 加入日期: 12-5-21 最近的帖子
srikanth a:
Hi ,
Try to close the window when response is success and in the error section make the div (where you have added the error msg ) visible using javascript.
hope it solves your issue..

regards
Sri


hi,
I am new to javascript please can u guide me how i can implement javascript in login-hook.. if you provide me some reference url it will be great..
Hope you will help me in this perticular issue.

Thanks in advance
thumbnail
devaraj s,修改在11 年前。

RE: How to solve liferay SignIn Portlet as Popup issue?

Regular Member 帖子: 228 加入日期: 12-5-21 最近的帖子
Preetam Thakur:
sorry for the late reply. I was busy with some other development engagements.

I tried "return false;" like as mentioned. But still the problem persists.

lets say if I am clicking in the sign in button without entering anything, the popup closes. Next time I click on sign in link, the popup appears with the authentication failed message.

But what I want is the popup should not get closed until there is a valid login.

Thanks,
Preetam


Hi preetam,

Here i have the same requirement, did u get the solution ???
F N,修改在11 年前。

RE: How to solve liferay SignIn Portlet as Popup issue?

New Member 帖子: 9 加入日期: 10-7-23 最近的帖子
Hello;

I fully understand your problem, I'm sorry, I have the same need, it is clear that it is not obvious.

if you could solve your problem, let us know please, and of course if you have any other solution

tnx
Ankita Jain,修改在9 年前。

RE: How to solve liferay SignIn Portlet as Popup issue?

Junior Member 帖子: 49 加入日期: 14-2-5 最近的帖子
I am also facing the same issue...
Using Liferay 6.2 EE bundle.

Let me know if anyone know how to solve this.