Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Ahmad Heba Tul Baseet
Friendly URL Mapping in JSF Portlet
25 de Julho de 2011 02:02
Resposta

Ahmad Heba Tul Baseet

Ranking: Junior Member

Mensagens: 68

Data de entrada: 12 de Maio de 2011

Mensagens recentes

Hi there,
I created a Portlet in JSF 2. Now I want to use the Friendly Mapping for the Portlet. I followed what written in http://www.liferay.com/de/documentation/liferay-portal/6.0/development/-/ai/optional%3A-adding-friendly-url-mapping-to-the-portlet, but still its not working. may be its because the generated parameter. Instead of jspPage, I wrote xhtml. Is that correct? Thanks.

1<route>
2        <pattern>/index.xhtml</pattern>
3        <generated-parameter name="xhtmlPage">/index.xhtml</generated-parameter>
4    </route>
David H Nebinger
RE: Friendly URL Mapping in JSF Portlet
25 de Julho de 2011 05:39
Resposta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensagens: 9428

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

Normally for jsf, the extension is ".faces" (or whatever is defined in your web.xml file), even though the actual extension is .xhtml. Have you tried that?
Ahmad Heba Tul Baseet
RE: Friendly URL Mapping in JSF Portlet
25 de Julho de 2011 07:11
Resposta

Ahmad Heba Tul Baseet

Ranking: Junior Member

Mensagens: 68

Data de entrada: 12 de Maio de 2011

Mensagens recentes

sorry .. What do u mean exactly.. I can't understand. Which extension do you mean?
Leo Pratlong
RE: Friendly URL Mapping in JSF Portlet
25 de Julho de 2011 07:47
Resposta

Leo Pratlong

Ranking: Expert

Mensagens: 362

Data de entrada: 6 de Julho de 2010

Mensagens recentes

Do you have this statement in your web.xml ?

1<context-param>
2        <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
3        <param-value>.xhtml</param-value>
4    </context-param>
Ahmad Heba Tul Baseet
RE: Friendly URL Mapping in JSF Portlet
25 de Julho de 2011 09:10
Resposta

Ahmad Heba Tul Baseet

Ranking: Junior Member

Mensagens: 68

Data de entrada: 12 de Maio de 2011

Mensagens recentes

no
archana thakur
RE: Friendly URL Mapping in JSF Portlet
16 de Fevereiro de 2013 09:02
Resposta

archana thakur

Ranking: New Member

Mensagens: 21

Data de entrada: 12 de Março de 2012

Mensagens recentes

can you help me to implement friendly url in jsf primeface portlet?
Neil Griffin
RE: Friendly URL Mapping in JSF Portlet
19 de Fevereiro de 2013 09:48
Resposta

Neil Griffin

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 2256

Data de entrada: 26 de Julho de 2005

Mensagens recentes

There is a bug in Liferay Faces that might interfere with the ability to use Liferay friendly URLs. For more info, see: FACES-257