Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Pit Wolf
liferay portlet container with JSF 2 Portlet Ajax calls
October 28, 2010 4:00 AM
Answer

Pit Wolf

Rank: New Member

Posts: 4

Join Date: October 28, 2010

Recent Posts

environment:
tomcat 6.0.29
liferay 6.0.5
Jsf 2.0 portlet


Hello,

for sorting a table my broswer makes an ajax request with following post (captured by firebug) :
POST http://xxcoreclipse01:2480/user-devicelist-portlet/xhtml/devices.xhtml

Parameters application/x-www-form-urlencoded
A1265:j_idt5 A1265:j_idt5
A1265:j_idt5:j_idt6 A1265:j_idt5:j_idt6
A1265:j_idt5:j_idt6_selec...
A1265:j_idt5:j_idt6_sortD... true
A1265:j_idt5:j_idt6_sortK... A1265:j_idt5:j_idt6:j_idt10
A1265:j_idt5:j_idt6_sorti... true
javax.faces.ViewState 8020418550042890512:1238506267309496921
javax.faces.encodedURL http://xxcoreclipse01:2480/web/guest/primefaces?p_p_cacheability=cacheLevelPage&p_p_col_count=2&p_p_col_id=column-1&p_p_col_pos=1&p_p_id=3_WAR_userdevicelistportlet_INSTANCE_s2pK&p_p_lifecycle=2&p_p_mode=view&p_p_state=normal
javax.faces.partial.ajax true
javax.faces.partial.execu... A1265:j_idt5:j_idt6
javax.faces.partial.rende... A1265:j_idt5:j_idt6
javax.faces.source A1265:j_idt5:j_idt6

problem: when reaching the portlet bridge (after many filters) these parameters
are no more availabe in the request.

And so the ParameterRequestMap for jsf is empty.

What´s going wrong?

Pit