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

Nick Belaevski updated RF-4603:
-------------------------------

          Component/s: component-a4j-core
    Affects Version/s: 3.3.1


> Push: component stops page loading in Opera
> -------------------------------------------
>
>                 Key: RF-4603
>                 URL: https://jira.jboss.org/jira/browse/RF-4603
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-a4j-core
>    Affects Versions: 3.3.1
>            Reporter: Nick Belaevski
>            Assignee: Nick Belaevski
>             Fix For: Future
>
>
> <ui:composition xmlns="http://www.w3.org/1999/xhtml";
>       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:a4j="http://richfaces.org/a4j";
>       xmlns:rich="http://richfaces.org/rich";>
> <html><head></head><body>
>   <h:form id="form">
>     <h:outputText id="text" value="Hello: #{monitor.text}" />
>     <a4j:commandButton action="#{monitor.send}" value="SEND" />
>     <a4j:push interval="1000" reRender="text" 
> eventProducer="#{monitor.addListener}" />
>   </h:form>
> </body></html>  
> </ui:composition>
> package org.richfaces;
> import java.util.EventListener;
> import java.util.EventObject;
> import java.util.Random;
> import org.ajax4jsf.event.PushEventListener;
> public class Monitor
> {
>       private PushEventListener listener;
>       public void addListener(EventListener listener)
>       {
>               this.listener = (PushEventListener) listener;
>       }
>       public String send()
>       {
>               if (listener != null) listener.onEvent(new EventObject(this));
>               return null;
>       }
>       public String getText()
>       {
>               return "random#" + new Random().nextInt();
>       }
> }

-- 
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