Fóruns

Início » Liferay IDE » English

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
mohammad azaruddin
Portal URL
21 de Novembro de 2013 08:57
Resposta

mohammad azaruddin

Ranking: Expert

Mensagens: 441

Data de entrada: 17 de Setembro de 2012

Mensagens recentes

Hi
how to get omniadmin portal URL in another instance
David H Nebinger
RE: Portal URL
21 de Novembro de 2013 09:51
Resposta

David H Nebinger

Ranking: Liferay Legend

Mensagens: 7024

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

there is no omniadmin url. You are either an omniadmin (because it's defined in portal-ext.properties) and you have admin privs or you're not an omniadmin and you don't.
mohammad azaruddin
RE: Portal URL
21 de Novembro de 2013 10:08
Resposta

mohammad azaruddin

Ranking: Expert

Mensagens: 441

Data de entrada: 17 de Setembro de 2012

Mensagens recentes

In general scenario (www.localhost:8080) is the default instance which has all the previlages....And suppose i have created new instance(www.newinstance.com) and in new instance(www.newinstance.com) i want to get the portalURL of localhost ..that is (www.localhost:8080),Dynamically..



themeDisplay.getPortalURL() return the current portalURL.But i need default instance url www.localhost:8080 dynamically in (www.newinstance.com)
David H Nebinger
RE: Portal URL
21 de Novembro de 2013 12:22
Resposta

David H Nebinger

Ranking: Liferay Legend

Mensagens: 7024

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

localhost is never dynamic. localhost always refers to the local host. it doesn't dynamically point anywhere.
mohammad azaruddin
RE: Portal URL
21 de Novembro de 2013 21:34
Resposta

mohammad azaruddin

Ranking: Expert

Mensagens: 441

Data de entrada: 17 de Setembro de 2012

Mensagens recentes

You are correct....ok i need portalUrl of instance which has all the previliges(ie default portal url ) when i work on newly created instance....hope u understood my question