You will need to do a little digging to see if your intuition is right. Double check the html source in the browser of the page that contains the commandLink. Does is look like the reference tries to submit the form that the commandLink is contained within (via javascript)? If so, can you verify this is actually occuring over the wire by using javascript debugging in the browser or a tunneler? If its the correct form what parameters are being sent? Is this only a problem if you use MyFaces (vs. Mojarra)

FYI its not unusual for the portal page containing the portlet to output its own markup (within forms) -- and hence the likely cause of having multiple forms in the client page -- it should not be impacting your usage.
   -Mike-

On 3/17/2010 8:37 AM, Sertic Mirko, Bedag wrote:
h...@all

We are running into a strange problem with MyFaces, Facelets, the JBoss
PortletBridge running on LifeRay.

It seems that normal h:commandLinks are no longer working. After some
debugging, it seems that HtmlResponseStateManager.isPostback() always
returns false, and the Lifecycle jumps to the RENDER_RESPONSE phase. No
action is invoked. In fact there is no VIEW_STATE_PARAM request
parameter.

What is going wrong here? I noticed that there are two <form> elements
in the resulting HTML of the page. Is the MyFaces JavaScript just
submitting the wrong form?

Thanks in advance

Mirko


Reply via email to