You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org> on 2008/11/05 19:41:45 UTC
[jira] Commented: (TRINIDAD-802) PPR doesn't work
[ https://issues.apache.org/jira/browse/TRINIDAD-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645284#action_12645284 ]
Andrew Robinson commented on TRINIDAD-802:
------------------------------------------
Works fine for me on 1.2.10-SNAPSHOT. Will try 1.0.10 now
> 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.2-core, 1.0.3-core
> Environment: Windows XP, Jetty App Server
> Reporter: Bradley Cossey
> Assignee: Andrew Robinson
> 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.