You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2010/11/04 20:44:41 UTC

[jira] Resolved: (MYFACES-2960) Setting prependId="false" (on h:form) makes not working with any ActionSource

     [ https://issues.apache.org/jira/browse/MYFACES-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-2960.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.3-SNAPSHOT
         Assignee: Leonardo Uribe

prependId has the effect of do not add UIForm client id for child components. The optimization done on MYFACES-2940 takes advantage of NamingContainer interface to limit the nodes required to be visited, but when prependId is false, this optimization must not be done.

> Setting prependId="false" (on h:form) makes <f:ajax/> not working with any ActionSource
> ---------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2960
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2960
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.3-SNAPSHOT
>            Reporter: Matthias Weßendorf
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.3-SNAPSHOT
>
>
> When using the following, I am able to execute an action method:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html>
> <html xmlns="http://www.w3.org/1999/xhtml"
>       xmlns:f="http://java.sun.com/jsf/core"
>       xmlns:h="http://java.sun.com/jsf/html"
>       xmlns:ui="http://java.sun.com/jsf/facelets">
> <h:head>
>   <title>BUG...</title>
> </h:head>
> <h:body>
>   <h:form id="jsfForm">
>     <h:commandButton id="button" value="dasdsa" action="#{fileMonitor.clicker}">
>       <f:ajax />
>     </h:commandButton>
>   </h:form>
> </h:body>
> </html>
> However, when using this <h:form prependId="false" ......> it does not work.

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