Fórum
Post login event
Akram MONCER, modificado 11 Anos atrás.
Post login event
Regular Member Postagens: 106 Data de Entrada: 25/09/12 Postagens Recentes
i add a custom "post login event" it an event that will be executed after the login, my probleme is i want to pass parameter to this event class but i don't know how
i add an input in the login form and i want to get the input value in the event class
can anyone help me please
i add an input in the login form and i want to get the input value in the event class
can anyone help me please
David H Nebinger, modificado 11 Anos atrás.
RE: Post login event
Liferay Legend Postagens: 14914 Data de Entrada: 02/09/06 Postagens Recentes
They are not connected in any way.
you must find some other way of passing the value around.
You could, for example, store the value in an expando for the user. It should then be available in the post login event, but honestly I'm not sure if it would get updated before the post login event triggers or not.
Alternatively you may be able to use a ThreadLocal.
you must find some other way of passing the value around.
You could, for example, store the value in an expando for the user. It should then be available in the post login event, but honestly I'm not sure if it would get updated before the post login event triggers or not.
Alternatively you may be able to use a ThreadLocal.
Akram MONCER, modificado 11 Anos atrás.
RE: Post login event
Regular Member Postagens: 106 Data de Entrada: 25/09/12 Postagens Recentes
thank for responss
i use an ext to override the loginAction class and with some changes i get the parameter in the post event login class, it works fine in my local but when i did the deploy in other server with same liferay version it did'nt work!!!!
i use an ext to override the loginAction class and with some changes i get the parameter in the post event login class, it works fine in my local but when i did the deploy in other server with same liferay version it did'nt work!!!!