myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-1911) partialTriggers are ignore when JSF2 issues an ajax request
Date Fri, 10 Sep 2010 16:40:33 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908084#action_12908084
] 

Matthias Weßendorf commented on TRINIDAD-1911:
----------------------------------------------

It only happens if I do one of the following:

- add render="foo" to the <f:ajax /> tag
- replace <f:ajax /> by adding autoSubmit="true" on the <inputText>

> partialTriggers are ignore when JSF2 issues an ajax request
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-1911
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1911
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>            Reporter: Matthias Weßendorf
>
> Take the following snippet:
> as you type, you are issuing ajax requests. However the <tr:outputText> is not
getting updated:
> <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
> <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
>                 xmlns:f="http://java.sun.com/jsf/core" xmlns:tr="http://myfaces.apache.org/trinidad"
>                 xmlns:trd="http://myfaces.apache.org/trinidad/demo"
>                 xmlns:trh="http://myfaces.apache.org/trinidad/html">
>   <tr:document title="Partial Page Rendering Demos"  >
>     <tr:form partialTriggers="ifsbc1">
>       <tr:panelFormLayout>
>         <tr:inputText id="ajax" label="Field 1:">
>           <f:ajax event="keyup" />
>         </tr:inputText>
>         <p>
>           <tr:outputText id="foo" partialTriggers="ajax" value="#{requestScope}" />
>         </p>
>       </tr:panelFormLayout>
>     </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.


Mime
View raw message