myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: [Trinidad] PPR response error
Date Tue, 04 Dec 2007 16:36:32 GMT
checking the demo of Steve again,
I noticed, that the Trinidad Filter was missing.

Now the demo works (uploaded to [1]).

I closed [1] as "invalid".

-M

[1] https://issues.apache.org/jira/browse/TRINIDAD-811

On Nov 8, 2007 4:20 PM, Max Starets <max.starets@oracle.com> wrote:
> Steve,
>
> Is there white space before "<?xml" in the content? If yes, then this is
> a similar issue to the PPR problem with JSPs
> (it will be fixed when we fix the JSP PPR problem).
> If not, this is something else, and needs to be logged as a separate
> JIRA issue.
>
> Regards,
> Max Satrets
>
>
> Steve Horne wrote:
> > I have gotten no responses from users@myfaces.apache.org
> > <mailto:users@myfaces.apache.org>, so I'm hoping a developer will give
> > me SOME idea of how to fix my problem:
> >
> > I am using MyFaces 1.1.5, Trinidad 1.0.1, Facelets 1.1.14 running on
> > JBoss 4.2.1.  I am NOT using JSP, only XHTML facelets files.  This
> > setup works fine.  However, when I upgrade Trinidad to any higher
> > version (1.0.2 or 1.0.3), I get a error with every PPR request, which
> > boils down to: "Invalid PPR response. The response-headers
> > were:\nServer: Apache-Coyote/1.1\nX-Powered-By: Servlet 2.4..."
> >
> > I am at my wits end!  Can someone please give me a pointer to a
> > solution to my problem?  Firebug has the following info:
> >
> > Response Headers
> > Server        Apache-Coyote/1.1
> > X-Powered-By  Servlet 2.4; JBoss-4.2.1.GA <http://JBoss-4.2.1.GA>
> > (build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5
> > Content-Type  text/html;charset=UTF-8
> > Content-Length        4531
> > Date  Wed, 07 Nov 2007 21:40:49 GMT
> >
> >
> > Request Headers
> > Host  localhost:8080
> > User-Agent    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7
> > <http://1.8.1.7>) Gecko/20070914 Firefox/2.0.0.7 GoogleToolbarFF
>
> > 3.0.20070525 GoogleToolbarFF 3.0.20070525 GoogleToolbarFF 3.0.20070525
> > Accept
> > text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=
> > 0.5
> > Accept-Language       en-us,en;q=0.5
> > Accept-Encoding       gzip,deflate
> > Accept-Charset        ISO-8859-1,utf-8;q=0.7,*;q=0.7
> > Keep-Alive    300
> > Connection    keep-alive
> > Content-Type  application/x-www-form-urlencoded
> > Tr-XHR-Message        true
> > Referer       http://localhost:8080/PMABWebUI/app/application.xhtml
> > Content-Length        177
> > Cookie        JSESSIONID=0091865E6336D16CF0F142A4A654C64E
> >
> >
> >
> > Content:
> > <?xml version="1.0" ?>
> > <?Tr-XHR-Response-Type ?>
> > <content action="/PMABWebUI/app/application.xhtml"> <fragment><![CDATA[<span
id="__id15_Postscript">
> > <input type="hidden" name="
> > org.apache.myfaces.trinidad.faces.STATE" value="!-3792cdde"><input type="hidden"
> >  name="source"></span>]]></fragment><fragment><![CDATA[<div
id="_id34"><table cellpadding="0" cellspacing
> >
> > ="0" border="0" summary=""><tr><td width="16" title="Select to collapse"
class="xbf"><a href="#" onclick
> > ="_adftree_id34.treeState.action('hide','0',this);return false;">&#9660;</a></td><td
class="xbh"><span
> >
> >  class="xbi" onclick="_adftree_id34.select(this,'0');"><a class="xde xj">System
Management</a></span
> > ></td></tr></table><table cellpadding="0" cellspacing="0"
border="0" summary=""><tr><td width="16"><img
> >
> >  class="xbg" width="16" height="22" src="/PMABWebUI/adf/images/t.gif" alt="" border="0"></td><td
width
> > ="16" title="Select to expand" class="xbf"><a href="#" onclick="_adftree_id34.treeState.action('show'
> >
> > ,'3',this);return false;">&#9658;</a></td><td class="xbh"><span
class="xbi" onclick="_adftree_id34.select
> > (this,'3');"><a class="xde xj">Security</a></span></td></tr></table><table
cellpadding="0" cellspacing
> >
> > ="0" border="0" summary=""><tr><td width="16"><img class="xbg"
width="16" height="22" src="/PMABWebUI
> > /adf/images/t.gif" alt="" border="0"></td><td width="16" title="Select
to expand" class="xbf"><a href
> >
> > ="#" onclick="_adftree_id34.treeState.action('show','4',this);return false;">&#9658;</a></td><td
class
> > ="xbh"><span class="xbi" onclick="_adftree_id34.select(this,'4');"><a
class="xde xj">System Administration
> >
> > </a></span></td></tr></table><table cellpadding="0"
cellspacing="0" border="0" summary=""><tr><td width
> > ="16" title="Select to expand" class="xbf"><a href="#" onclick="_adftree_id34.treeState.action('show'
> >
> > ,'1',this);return false;">&#9658;</a></td><td class="xbh"><span
class="xbi" onclick="_adftree_id34.select
> > (this,'1');"><a class="xde xj">Product Management</a></span></td></tr></table><table
cellpadding="0"
> >
> >  cellspacing="0" border="0" summary=""><tr><td width="16" title="Select
to expand" class="xbf"><a href
> > ="#" onclick="_adftree_id34.treeState.action('show','2',this);return false;">&#9658;</a></td><td
class
> >
> > ="xbh"><span class="xbi" onclick="_adftree_id34.select(this,'2');"><a
class="xde xj">Membership Enrollment
> > </a></span></td></tr></table></div>]]></fragment><fragment><![CDATA[<span
id="__id33_Postscript"><input
> >
> >  type="hidden" name="org.apache.myfaces.trinidad.faces.STATE" value="!-3792cdde"><input
type="hidden"
> >  name="source"><input type="hidden" name="_id34:_selected"><input type="hidden"
name="partialTargets"
> >
> > ><input type="hidden" name="partial"><input type="hidden" name="path"></span>]]></fragment><fragment
> > ><![CDATA[<table id="_id42" class="x6o" style="null;display:none;" cellpadding="0"
cellspacing="0" border
> >
> > ="0" summary=""><tbody><tr><td class="af_messages_top-start"></td><td
class="af_messages_top"></td><td
> >  class="af_messages_top-end"></td></tr><tr><td class="af_messages_start"></td><td><div
class="xcw"><div
> >
> > ><h1 class="x6n"><img src="/PMABWebUI/skins/pmab/images/errorl.gif"
width="18" height="18" border="0"
> >  alt=""><span class="x6m">Error</span></h1></div><ol
id="_id42__LIST__" class="xa7 xa8"></ol></div><
> >
> > /td><td class="af_messages_end"></td></tr><tr><td
class="af_messages_bottom-start"></td><td class="af_messages_bottom"
> > ></td><td class="af_messages_bottom-end"></td></tr></tbody></table>]]></fragment><fragment><![CDATA[
> >
> > <span id="__id44_Postscript"><input type="hidden" name="org.apache.myfaces.trinidad.faces.STATE"
value
> > ="!-3792cdde"></span>]]></fragment><script><![CDATA[
> > TrPage.getInstance()._addResetFields('_id15',["source"
> > ]);]]></script><script><![CDATA[var _id15_SF={};]]></script><script><![CDATA[function
_adfTreeSelector
> >
> > (selectParam,tState) {this._selectParam = selectParam;this._pTag = null;this.treeState
= tState;}_adfTreeSelector
> > .prototype.select = function(tag,path) {if (this._pTag != null) {this._pTag.className='p_OraTreeRow'
> >
> > ;}this._pTag = tag;document.forms[this.treeState.getFormName()][this._selectParam].value=path;tag.className
> > ='p_OraTreeRowSelected';};CollectionComponent.defineTree('event','source','path','start','goto','focus'
> >
> > ,1);var _adftree_id34 = new _adfTreeSelector('_id34:_selected',new CollectionComponent('_id33','_id34'
> > ));]]></script><script><![CDATA[TrPage.getInstance()._addResetFields('_id33',["source","_id34:_selected"
> >
> > ,"partialTargets","partial","path"]);]]></script><script><![CDATA[var
_id33_SF={};]]></script><script
> > ><![CDATA[var _id44_SF={};]]></script></content>
> >
> >
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Mime
View raw message