Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
l ll
convert URL
February 3, 2013 11:08 AM
Answer

l ll

Rank: Junior Member

Posts: 71

Join Date: December 12, 2011

Recent Posts

initial URL:
http://localhost:4080/web/guest/doc
?p_p_id=110_INSTANCE_KeqinRI5qAvU
&p_p_lifecycle=0
&p_p_state=normal
&p_p_mode=view
&p_p_col_id=column-1
&p_p_col_count=1
&_110_INSTANCE_KeqinRI5qAvU_struts_action=%2Fdocument_library_display%2Fview_file_entry
&_110_INSTANCE_KeqinRI5qAvU_redirect=http%3A%2F%2Flocalhost%3A4080%2Fweb%2Fguest%2Fdoc%2F-%2Fdocument_library_display%2FKeqinRI5qAvU%2Fview%2F10517
&_110_INSTANCE_KeqinRI5qAvU_fileEntryId=10519

the desired result:
http://localhost:4080/web/guest/doc
?p_p_id=110
&fileEntryId=10519
&struts_action=%2Fdocument_library_display%2Fview_file_entry

that is:

p_p_id=110_INSTANCE_KeqinRI5qAvU To p_p_id=110
p_p_lifecycle delete
p_p_state delete
p_p_mode delete
p_p_col_id delete
p_p_col_count delete
_110_INSTANCE_KeqinRI5qAvU_redirect=http....... delete
_110_INSTANCE_KeqinRI5qAvU_struts_action= To struts_action=
_110_INSTANCE_KeqinRI5qAvU_fileEntryId=10519 To fileEntryId=10519

How do all of this?