You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by pdt_p <pi...@gmail.com> on 2009/01/23 04:38:58 UTC

Trinidad poll questions

Hi..

I do have tr:poll in my page and bind the poll component in a bean which is
set as session bean.

Is that possible to manually trigger the poll event from a bean?
I did try to set the interval to 1 but the poll is not directly pickup the
latest interval.

Any idea how to do this?

thanks.

Regards,

pdt

-- 
View this message in context: http://www.nabble.com/Trinidad-poll-questions-tp21617715p21617715.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: Trinidad poll questions

Posted by Andrew Robinson <an...@gmail.com>.
1) _Never_ bind a component to anything except request scope (just put
your data in the session)
2) The poll happens on the client, not the server, so you have to PPR
the page / poll component to change its properties (I am not sure how
well the poll component PPRs itself though)

-Andrew

On Thu, Jan 22, 2009 at 8:38 PM, pdt_p <pi...@gmail.com> wrote:
>
> Hi..
>
> I do have tr:poll in my page and bind the poll component in a bean which is
> set as session bean.
>
> Is that possible to manually trigger the poll event from a bean?
> I did try to set the interval to 1 but the poll is not directly pickup the
> latest interval.
>
> Any idea how to do this?
>
> thanks.
>
> Regards,
>
> pdt
>
> --
> View this message in context: http://www.nabble.com/Trinidad-poll-questions-tp21617715p21617715.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Re: Trinidad poll questions

Posted by Bandaru <rb...@gmail.com>.
Hi,
We can set the Interval for the poll through Backing Bean for the component
like  poll.setInterval(5000); (5sec), here Interval  should be in
milliseconds.
As i observe from ur message ,problem me be by setting interval to 1.

Thanks,
Ramesh.


pdt_p wrote:
> 
> Hi..
> 
> I do have tr:poll in my page and bind the poll component in a bean which
> is set as session bean.
> 
> Is that possible to manually trigger the poll event from a bean?
> I did try to set the interval to 1 but the poll is not directly pickup the
> latest interval.
> 
> Any idea how to do this?
> 
> thanks.
> 
> Regards,
> 
> pdt
> 
> 

-- 
View this message in context: http://www.nabble.com/Trinidad-poll-questions-tp21617715p21704502.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.