[richfaces-issues] [JBoss JIRA] (RF-11940) mobile showcase - a4j:push - not retrieving pushes from server on Android
Juraj Huska (JIRA)
jira-events at lists.jboss.org
Thu Feb 2 07:25:48 EST 2012
[ https://issues.jboss.org/browse/RF-11940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663697#comment-12663697 ]
Juraj Huska edited comment on RF-11940 at 2/2/12 7:25 AM:
----------------------------------------------------------
It works correctly on iPad too, maybe there is different problem than that it is not retrieving pushed data.
I also do not understand this conditional rendering attribute for a4j:push showcase demo:
{code}
<a4j:push id="pushJms" address="pushJms" ondataavailable="jQuery(#{rich:element('serverDate')}).text(event.rf.data)" rendered="#{not (userAgent.phone || userAgent.tablet)}" />
{code}
How come that it is rendered for iPhone, iPad(since there after push server date rendered). I tried to remove this render attribute, but it still does not have any effect on Android rendering of server date.
was (Author: jhuska):
It works correctly on iPad too, maybe there is different problem than that it is not retrieving pushed data.
I also do not understand this conditional rendering attribute for a4j:push showcase demo:
{code}
<a4j:push id="pushJms" address="pushJms" ondataavailable="jQuery(#{rich:element('serverDate')}).text(event.rf.data)" rendered="#{not (userAgent.phone || userAgent.tablet)}" />
{code}
How come that it is rendered for iPhone, iPad(since there is pushed data rendered). I tried to remove this render attribute, but it still does not have any effect on Android rendering of server date(pushed data).
> mobile showcase - a4j:push - not retrieving pushes from server on Android
> -------------------------------------------------------------------------
>
> Key: RF-11940
> URL: https://issues.jboss.org/browse/RF-11940
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-push/poll, mobile, showcase
> Environment: container: JBoss AS 7.1.0.CR1b
> device: Motorola Xoom(Android 3.2.1)
> Reporter: Juraj Huska
>
> There is no push done in demo for a4j:push, however push demo work for desktop fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list