[ 
https://jira.jboss.org/jira/browse/RF-4012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsikhon Kuprevich reopened RF-4012:
-----------------------------------

      Assignee: Anton Belevich  (was: Tsikhon Kuprevich)


Bug reproduces with the latest MyFaces 1.2.4 Snapshot (not the 1.2.3 release). 
With Myfaces 1.2.3 everthing is fine.

> a4j:region is always necessary
> ------------------------------
>
>                 Key: RF-4012
>                 URL: https://jira.jboss.org/jira/browse/RF-4012
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: Tomcat 6.0.16
> MyFaces 1.2.3
> Tomahawk 1.1.17 Snapshot
> Facelets 1.1.15 Snapshot
> Richfaces 3.2.2 Snapshot
>            Reporter: Jan Ziegler
>            Assignee: Anton Belevich
>             Fix For: 3.2.2
>
>
> If a use any a4j-component and do not  wrap it in an <a4j:region>, the ajax 
> call is not executed correctly (ajaxrequest=null in the request, empty 
> response). This was no problem with the early 3.2.2. Snapshots. I testet with 
> the snapshot from 20080724.
> This is a simple example which sets a beans value via ajax on click of a 
> commandLink and reRenders the output of the beans value:
> Code:
> <h:form>
>       ...
>       <!-- WORKING (-> wrapped in region) -->
>       
>       <a4j:region>
>               
>               <h:outputText id="output" value="#{ajaxBean.text}"  />
>               
>               <a4j:commandLink reRender="output" value="click me!">
>                       <f:setPropertyActionListener target="#{ajaxBean.text}" 
> value="you clicked the button" />
>               </a4j:commandLink>
>               
>       </a4j:region>
>                                       
>       <!-- NOT WORKING ANYMORE! -->
>       
>       <h:outputText id="output" value="#{ajaxBean.text}"  />
>       
>       <a4j:commandLink reRender="output" value="click me!">
>               <f:setPropertyActionListener target="#{ajaxBean.text}" 
> value="you clicked the button" />
>       </a4j:commandLink>
>       ...
> </h:form>
>       
> I always thought that an <a4j:region> is not necessary and therefor the 
> viewroot is the default region - has this changed? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to