Fórumok

Nyitólap » Liferay Portal » English » 3. Development

Kombinált nézet Egyszerű nézet Fa-nézet
Szálak [ Előző | Következő ]
toggle
Ahmad Heba Tul Baseet
Friendly URL Mapping in JSF Portlet
2011. július 25. 2:02
Válasz

Ahmad Heba Tul Baseet

Rangsorolás: Junior Member

Hozzászólások: 58

Csatlakozás dátuma: 2011. május 12.

Legújabb hozzászólások

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
2011. július 25. 5:39
Válasz

David H Nebinger

Rangsorolás: Liferay Legend

Hozzászólások: 4550

Csatlakozás dátuma: 2006. szeptember 1.

Legújabb hozzászólások

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
2011. július 25. 7:11
Válasz

Ahmad Heba Tul Baseet

Rangsorolás: Junior Member

Hozzászólások: 58

Csatlakozás dátuma: 2011. május 12.

Legújabb hozzászólások

sorry .. What do u mean exactly.. I can't understand. Which extension do you mean?
Leo Pratlong
RE: Friendly URL Mapping in JSF Portlet
2011. július 25. 7:47
Válasz

Leo Pratlong

Rangsorolás: Expert

Hozzászólások: 362

Csatlakozás dátuma: 2010. július 6.

Legújabb hozzászólások

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
2011. július 25. 9:10
Válasz

Ahmad Heba Tul Baseet

Rangsorolás: Junior Member

Hozzászólások: 58

Csatlakozás dátuma: 2011. május 12.

Legújabb hozzászólások

no
archana thakur
RE: Friendly URL Mapping in JSF Portlet
2013. február 16. 9:02
Válasz

archana thakur

Rangsorolás: New Member

Hozzászólások: 18

Csatlakozás dátuma: 2012. március 12.

Legújabb hozzászólások

can you help me to implement friendly url in jsf primeface portlet?
Neil Griffin
RE: Friendly URL Mapping in JSF Portlet
2013. február 19. 9:48
Válasz

Neil Griffin

LIFERAY STAFF

Rangsorolás: Liferay Legend

Hozzászólások: 1455

Csatlakozás dátuma: 2005. július 26.

Legújabb hozzászólások

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