掲示板

How to @Override class in Portal Liferay 7 GA

thumbnail
7年前 に Tien Nguyen によって更新されました。

How to @Override class in Portal Liferay 7 GA

New Member 投稿: 21 参加年月日: 16/04/02 最新の投稿
I wanna @Override Class in portal, but Liferay 7 not support Ext, I dont know What to do.
Any one help me !!!
Thanks
thumbnail
7年前 に David H Nebinger によって更新されました。

RE: How to @Override class in Portal Liferay 7 GA

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
LR7 does support EXT, but the core classes is a much smaller set than what it used to be.

Now most of the core has been reworked into an OSGi bundle.

Which class are you trying to extend?
thumbnail
7年前 に Tien Nguyen によって更新されました。

RE: How to @Override class in Portal Liferay 7 GA

New Member 投稿: 21 参加年月日: 16/04/02 最新の投稿
Thank for RE my post.
Now I want extends class LoginUtil in module com.liferay.login, what I have to do.
thumbnail
7年前 に David H Nebinger によって更新されました。

RE: How to @Override class in Portal Liferay 7 GA

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Are you sure?

The reason I ask, the current LoginUtil doesn't really do much, it offloads a lot of the responsibility to other modules. It may not be necessary to actually extend LoginUtil at all.

Can you share what you need to do and perhaps I can point to a better location?
7年前 に lokesh gorrela によって更新されました。

RE: How to @Override class in Portal Liferay 7 GA

Regular Member 投稿: 173 参加年月日: 16/03/09 最新の投稿
Hi SKTT1. Faker

How to @Override class in Portal Liferay 7 GA. If you know this could you please tell the process.
Thanks
Regards
Lokesh
thumbnail
7年前 に SKTT1. Faker によって更新されました。

RE: How to @Override class in Portal Liferay 7 GA

New Member 投稿: 21 参加年月日: 16/04/02 最新の投稿
all grades Liferay is relatively complete, if necessary changes are only a few modifications.
To override one particular class, first go to the module folder in OSGi module, where contains editing class, then that class decode and edit as you wish. Finally Encode back and enjoy.
7年前 に lokesh gorrela によって更新されました。

RE: How to @Override class in Portal Liferay 7 GA

Regular Member 投稿: 173 参加年月日: 16/03/09 最新の投稿
Hello SKTT1. Faker
Thanks for your replay

I did not understand properly. Could you please tell the process with some clarity.

Thanks
Regards
Lokesh
7年前 に lokesh gorrela によって更新されました。

RE: How to @Override class in Portal Liferay 7 GA

Regular Member 投稿: 173 参加年月日: 16/03/09 最新の投稿
Hello SKTT1. Faker
Thanks for your replay

I did not understand properly. Could you please tell the process with some clarity.This is greate help to me.

Thanks
Regards
Lokesh