Forums de discussion

URL MAPPING FRIENDLY

Paulino Mota Hernandez, modifié il y a 10 années.

URL MAPPING FRIENDLY

New Member Envoyer: 1 Date d'inscription: 05/08/13 Publications récentes
hi

i try to map an url friendly for an own portlet that is the original url:
http://www.thevidavibe.com/web/guest/memories?p_p_id=blogscustomportlet_WAR_blogscustomportlet&_blogscustomportlet_WAR_blogscustomportlet_action=viewEntry&entryId=271101

i configured this xml:

<routes>
<route>
<pattern>/add</pattern>
<implicit-parameter name="action">viewEntry</implicit-parameter>
<implicit-parameter name="p_p_id">blogscustomportlet_WAR_blogscustomportlet</implicit-parameter>
<implicit-parameter name="p_p_lifecycle">0</implicit-parameter>
<implicit-parameter name="p_p_state">normal</implicit-parameter>
<implicit-parameter name="p_p_mode">view</implicit-parameter>
</route>
</routes>

and i get this URL:
http://www.thevidavibe.com/web/guest/memories/-/blog/add&entryId=271101

the parameter entryId is separated by a '&' symbol and not by a '?' symbol

please help me,

sorry for my wrong english
thumbnail
Neil Griffin, modifié il y a 10 années.

RE: URL MAPPING FRIENDLY

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
Hi Paulino,

Are you developing a JSF portlet with Liferay Faces? Plain JSP portlet? Some other portlet framework?

If you are using JSF, then you will need to upgrade to Liferay Faces 3.1.2-ga3 (for use with Liferay Portal 6.1). For more info, see FACES-257.

Kind Regards,

Neil