myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavitra Subramaniam (JIRA)" <>
Subject [jira] Commented: (TRINIDAD-1922) In Facelets, Partial Refreshing <tr:inputText> Not Working
Date Mon, 04 Oct 2010 23:18:33 GMT


Pavitra Subramaniam commented on TRINIDAD-1922:

With the above testcase I observe the following behavior:

1. When initially refreshing the page (a GET request), the "javax.faces.ViewState" param never
gets sent to the client. 
2. Now when the user clicks on the partialSubmit button (cb1), the server does not recognize
this as a postback because of the absence of the ViewState param. So server jumps to render
response without executing the fill lifecycle. This time around the response contains the
3. Any subsequent partial request will be treated as a postback and the inputText gets partially

Investigating a fix.

> In Facelets, Partial Refreshing <tr:inputText> Not Working
> ----------------------------------------------------------
>                 Key: TRINIDAD-1922
>                 URL:
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions:
>         Environment: Any browser
>            Reporter: Mamallan Uthaman
> Trinidad currently has an issue partial refreshing an <tr:inputText>. This problem
is specific to facelets where we use JSF Ajax apis. I tested with the latest code from our
trunk, and below is my  test page:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
> <ui:composition xmlns:ui=""
>                 xmlns:f=""
>                 xmlns:tr=""
>                 xmlns:trd=""
>                 xmlns:trh="">
>     <tr:document id="d1" title="Client Behavior Support">
>         <tr:form id="f1">
>             <tr:panelHeader text="Ajax Issue"/>
>             <tr:panelHorizontalLayout>
>                 <tr:commandLink text="Press" id="cb1" partialSubmit="true">
>                     <tr:setActionListener from="Success" to="#{sessionScope.status}"/>
>                 </tr:commandLink>
>                 <tr:inputText value="#{sessionScope.status}"  partialTriggers="cb1"
>             </tr:panelHorizontalLayout>
>         </tr:form>
>     </tr:document>
> </ui:composition>

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

View raw message