掲示板
How to remove instanceable "6nhFGZvo5OZq" on URL (Liferay 7)
7年前 に SKTT1. Faker によって更新されました。
How to remove instanceable "6nhFGZvo5OZq" on URL (Liferay 7)
New Member 投稿: 21 参加年月日: 16/04/02 最新の投稿
I 've Override class AssetPublisherPortlet in AssetPublisherWebPortlet
Detail : In @Component I set com.liferay.portlet.instanceable=false
and in routes.xml I set
<route>
<pattern>/{userIdAndInstanceId}/{urlTitle?!id/)[^/]+}/{groupId:\d+}</pattern>
<ignored-parameter name="assetEntryId" />
<implicit-parameter name="type">content</implicit-parameter>
<implicit-parameter name="mvcPath">/view_content.jsp</implicit-parameter>
<implicit-parameter name="p_p_state">normal</implicit-parameter>
</route>
URL still not change: http://localhost:8080/web/guest/page-view/-/example/6nhFGZvo5OZq/demo-web-content
So What I ve to do, any one help me?
Thanks!
Detail : In @Component I set com.liferay.portlet.instanceable=false
and in routes.xml I set
<route>
<pattern>/{userIdAndInstanceId}/{urlTitle?!id/)[^/]+}/{groupId:\d+}</pattern>
<ignored-parameter name="assetEntryId" />
<implicit-parameter name="type">content</implicit-parameter>
<implicit-parameter name="mvcPath">/view_content.jsp</implicit-parameter>
<implicit-parameter name="p_p_state">normal</implicit-parameter>
</route>
URL still not change: http://localhost:8080/web/guest/page-view/-/example/6nhFGZvo5OZq/demo-web-content
So What I ve to do, any one help me?
Thanks!
7年前 に SKTT1. Faker によって更新されました。
RE: How to remove instanceable "6nhFGZvo5OZq" on URL (Liferay 7)
New Member 投稿: 21 参加年月日: 16/04/02 最新の投稿
...
7年前 に SKTT1. Faker によって更新されました。
RE: How to remove instanceable "6nhFGZvo5OZq" on URL (Liferay 7)
New Member 投稿: 21 参加年月日: 16/04/02 最新の投稿
........