myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bradley Cossey (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TRINIDAD-802) PPR doesn't work
Date Tue, 06 Nov 2007 16:15:51 GMT
PPR doesn't work
----------------

                 Key: TRINIDAD-802
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-802
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.0.3-core, 1.0.2-core
         Environment: Windows XP, Jetty App Server
            Reporter: Bradley Cossey
            Priority: Critical


The PPR functionality, as describer in Chapter 2 of the developers guide (Apache Trinidad
Partial Page Rendering), doesn't work in Trinidad 1.0.2 and 1.0.3. No errors appear in the
logging although Firebug notes the following errors:

["Invalid PPR response. The response-headers were:\nDate: Tue, 06 Nov 2007 15:57:34 GMT\nContent-Languag..."]Common1_0_2.js
(line 10271)
["Error ", TypeError: a5 has no properties message=a5 has no properties, " delivering XML
request status changed to ", function()]

This is my jsp:

<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh"%>
<%@taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%>

<f:view>       
	<tr:document title="Test Stuff"> 
	<tr:form id="form">

          <tr:panelGroupLayout layout="vertical">
            <f:facet name="separator">
              <tr:separator />
            </f:facet>           

					  <tr:commandButton text="Do Something"
					                       id="myButton"
					                       partialSubmit="true"
					                       actionListener="#{employees.modSearchString}"/>
					
					  <tr:outputText value="#{employees.searchString}"
					                    partialTriggers="myButton"/>

          </tr:panelGroupLayout>
        </tr:form>
 </tr:document>
</f:view>

and these methods are in the Employees class:

    public void modSearchString(ActionEvent actionEvent)
    {
	System.out.println("in modSearchString");
	this.searchString += "+1";
	System.out.println("search string moded to: " + searchString);
    }

    public String getSearchString()
    {
	return searchString;
    }
    
    public void setSearchString(String searchString)
    {
	this.searchString = searchString;
    }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message