Foren

How to solve liferay SignIn Portlet as Popup issue?

Preetam Thakur, geändert vor 12 Jahren.

How to solve liferay SignIn Portlet as Popup issue?

New Member Beiträge: 2 Beitrittsdatum: 16.02.12 Neueste Beiträge
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, geändert vor 12 Jahren.

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

Expert Beiträge: 492 Beitrittsdatum: 15.09.10 Neueste Beiträge
Give "return false" in that javascript
Preetam Thakur, geändert vor 12 Jahren.

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

New Member Beiträge: 2 Beitrittsdatum: 16.02.12 Neueste Beiträge
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, geändert vor 12 Jahren.

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

Regular Member Beiträge: 144 Beitrittsdatum: 21.02.11 Neueste Beiträge
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, geändert vor 11 Jahren.

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

Regular Member Beiträge: 228 Beitrittsdatum: 21.05.12 Neueste Beiträge
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, geändert vor 11 Jahren.

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

Regular Member Beiträge: 228 Beitrittsdatum: 21.05.12 Neueste Beiträge
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, geändert vor 11 Jahren.

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

New Member Beiträge: 9 Beitrittsdatum: 23.07.10 Neueste Beiträge
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, geändert vor 9 Jahren.

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

Junior Member Beiträge: 49 Beitrittsdatum: 05.02.14 Neueste Beiträge
I am also facing the same issue...
Using Liferay 6.2 EE bundle.

Let me know if anyone know how to solve this.