poll « PrimeFaces « JSF Q&A





1. primefaces poll tag does not work    stackoverflow.com

hi all i am using primefaces library this is my jsp page source:

<%@taglib uri="http://primefaces.prime.com.tr/ui" prefix="p"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<f:view>
<head>
  ...

2. How to safely toggle a primefaces panel using a poll within datagrid    stackoverflow.com

I have a problem toggling some panels within a datagrid:

                <h:form id="formxy">

     ...

3. Setting bean properties from a thread    stackoverflow.com

I have a @ViewScoped bean that passes itself to a Thread object.

class SomeThread implements Runnable {
  private SomeBeanClass someBean;
  public SomeThread(SomeBeanClass someBean) {
    this.someBean = someBean;
 ...

4. Netbeans tells "Unknown property" on     stackoverflow.com

I havent worked out how to call/invoke a method dynamically without using the @PostContruct method and initialising @ the page creation. At the moment I am simply trying to get the ...

5. p:poll blows up with 'property not found' error    stackoverflow.com

I am trying to work with the p:poll JSF tag, and using a code sample I found on the net. But I keep getting an error. The system doesn't seem to ...

6. Can't stop primefaces poll    stackoverflow.com

I'm implementing some dialogs that need a common poll to get fresh values from the server. I'm trying use p:poll, but unfortunately I cant stop it. I start the poll when a user ...

7. lazy-loaded dropdown with poll    forum.primefaces.org

02 May 2011, 23:35 by toddc78 lazy-loaded dropdown with poll I am working with a lazy loaded datatable in version 2.2 on Tomcat 6.026. In the datatable, I am using a ...

8. p:poll variable interval    forum.primefaces.org

Code:

9. Poll Delayed on messages in comparison to outputtext    forum.primefaces.org

Hello, I am experiencing that there is a delay of one cycle between the change of a polled outputtext to a polled messages component. Both are polled by the same poll ...





10. Ajax Poll Interval Value    forum.primefaces.org

30 May 2011, 22:28 by giscardf Ajax Poll Interval Value Hi folks, I am developing an application, we all user interfaces will have a refresh button so him can set the ...

11.  feature    forum.primefaces.org

Hi there! I was just wondering about the possibility to include an option to component to enable/disable an Ajax global update. By this i mean, has an option, "global" ...

12. poll.start() won't work    forum.primefaces.org

// ...

13. p:poll causing preRenderView listeners to be called    forum.primefaces.org

PrimeFaces: 2.2 and 2.2.1 JSF: Sun Ref. Implementation 2.0.3 Tomcat 6 I have a page that has a preRenderView event listener configured. This page also has a poll component included: ...

14. Updating a inputTextarea using p:poll    forum.primefaces.org

Hey! I have a h:inputTextarea that is wrapped insinde a h:panelGroup. I update that panelGroup using p:poll. In Firefox, if the update happens, the position of the cursor/scrollbar (of the inputTextarea) ...

15. Feature Poll - 1.0.1/2.0.1    forum.primefaces.org

Dear PrimeFaces Community, We setup a poll for the new features you'd like to see in 1.0.1/2.0.1 release. Please vote for the top 3 features and provide your valuable feedback. Also ...

16. p:poll for multiple pages    forum.primefaces.org

Hello, I have a problem with the p:poll tag. My problem is as follow: I write a simple web application with 5 pages and I want to use one p:poll tag ...





17. Poll and Datatable    forum.primefaces.org

Hi everyone, I just try something from showcase, and I wonder why I get those results. I take code from : http://www.primefaces.org/showcase/ui/d ... nstant.jsf and I put id="car" for the first ...

18. p:poll initialize @PostConstruct    forum.primefaces.org

...

19. After updating dataTable by poll, columns looses sort order    forum.primefaces.org

Hello. I have p:dataTable that is update by p:poll evry 1 minute. The problem is that after dataTable has been updated by poll, column by which data was sorted, looses sorting ...

20. How to determine whether p:poll widgetVar has been started    forum.primefaces.org

Hi I used p:poll from 2.2.1 and io would like to determin whether the poller has already been started. I could not find a JS method for that, only start() and ...

21. onstop on p:poll (primefaces 3.0.M2)    forum.primefaces.org

09 Aug 2011, 15:50 by prabakar_v onstop on p:poll (primefaces 3.0.M2) Hi, The "stop=#{bean.property}" option is very handy to stop a poll. However, a handler for the stop will be very ...

22. Poll won't work    forum.primefaces.org

>> << uqk Posts: 5 Joined: 12 Aug 2011, 09:04 12 Aug 2011, 09:25 by uqk Poll won't work Hi..i'm trying to use ajaxpoll component but it seems can't find the ...

23. poll component won't work!    forum.primefaces.org

25 Aug 2011, 19:21 by guichoSun poll component won't work! Hi. I'm testing a poll component to check periodly a database, but it doesn't work. just do one time and that's ...

24.  support for "timeout" attribute    forum.primefaces.org

Hi all, The "poll" component in RichFaces supports an attribute called "timeout" which is useful in order to stop polling in case the response is not received in a timely manner. ...

25. p:poll stop tag not working?    forum.primefaces.org

Hello, I agree. The poll-stop attribute is not working. I added a note to the issue you linked too above. Dont' hesitate to star it. Another glitch concerning this is the ...

26. poll & idleMonitor    forum.primefaces.org

I was testing version between PF3.0M3 ( August 15), last 3.0M3 and RC1, and I notice something. With oldest one, I use : Code: ...

27. Poll and dataTable    forum.primefaces.org

Hi, I'm new in PrimeFaces technologies. I want to use p:poll refreshing a dataTable is it possible ? Something like : I have try this ...

28. dataTable Sort and Filter Not Preserved with Poll - BUG    forum.primefaces.org

>> << sebek Posts: 35 Joined: 19 Jul 2011, 18:56 12 Sep 2011, 17:45 by sebek dataTable Sort and Filter Not Preserved with Poll - BUG Hello, I have been trying ...

29. Lightweight analogue to poll element?    forum.primefaces.org

29 Sep 2011, 08:26 by bitec Lightweight analogue to poll element? Hi. I have the B2B application with pretty long session (8 hours). Also, spring security "remember-me" functionality is enabled by ...

30. Regarding Ajax Poll component    forum.primefaces.org

Hi Every One! I have to call a method on a button click and at the same time i have to start the ajax poll and call a listener. I have ...

31. Update a binding Datatable with poll    forum.primefaces.org

Hi, I'm trying to update a dataTable built through a binding every 5 seconds but is not working at all. It only works when the page is rendered for the first ...

32.  breaks     forum.primefaces.org

33. Poll not updating OutputPanel inside DataTable in 3.0.M4    forum.primefaces.org

04 Nov 2011, 17:21 by sebek Poll not updating OutputPanel inside DataTable in 3.0.M4 Hello, My web application uses to update inside . This has been working fine in ...

34. p:poll triggers NullPointException in PartialViewContextImpl    forum.primefaces.org

24 Nov 2011, 11:27 by Soupdragon p:poll triggers NullPointException in PartialViewContextImpl I seem to have a recurrent problem with M4 using the p:poll element. I tend to put one in to ...

35. Enabling disabling Poll    forum.primefaces.org

36. p:poll only one time is it possible ?    forum.primefaces.org

37. UPDATE problem composite component (p:poll, p:ajax)    forum.primefaces.org

38. Ajax status and poll    forum.primefaces.org

>> << jey Posts: 3 Joined: 17 Apr 2010, 14:20 18 Apr 2010, 01:43 by jey Ajax status and poll Hi there Should happen: When I load Test.xhml page, p:ajaxStatus calls ...

39. A synchronous poll never stops if requests is long    forum.primefaces.org

public void lala(ActionEvent evt) { System.out.println("LALA"); try { ...

40. How to stop poll?    forum.primefaces.org

if you want it to stop after a number of request, then count them, or act on a boolean inside your bean, and evaluate it to know if you have to ...

41. problem with tag    forum.primefaces.org

12 Jul 2010, 18:55 by arashbahal problem with tag hi all. i am new to primeface. i have tried to test an example of primefaces about tag as in its ...

42. Problem with p:poll and updates of complex panel content    forum.primefaces.org

Hi, if have a problem with p:poll. I have an outputPanel that contains two p:panel. Depending on the state of a server variable one of them is rendered, while the other ...

43. problem with poll tag    forum.primefaces.org

hi all i have used poll tag in my jsp page. but it does not work! when i check the source every things seems fine but when i debug it with ...

44. view params and p:poll    forum.primefaces.org

>> << bigloser Posts: 5 Joined: 03 Aug 2010, 09:45 03 Aug 2010, 10:00 by bigloser view params and p:poll Hello, There seems to be a bug with p:poll and using ...

45. p:poll working fine in FireFox but not in IE    forum.primefaces.org

Hi All, this is my first post in this forum, so I'd like to start with a big thank you for the great work on primefaces you did so far! Ok, ...

46. p:poll does not work on IE7.    forum.primefaces.org

Hi, Thank you for providing great UI component. It provides really cool user experience. Most of components work like a charm. However, I noticed p:poll does not work. Does PrimeFaces support ...

47. Any word on long-poll implementation?    forum.primefaces.org

48. Memory leak in Ajax poll?    forum.primefaces.org

Hi all, Im having problems with memory leaks in a web using ajax poll and I have seen that the Ajax poll showcase in the PrimeFaces web site has a memory ...

49. Question about p:poll and p:ProgressBar    forum.primefaces.org

Hi, I do not know javascript so excuse my question. I start the progress bar(or poll) and it is working fine. When I execute an action using p:commandLink the polling stops ...

50. p:poll weird behaviour    forum.primefaces.org

07 Nov 2010, 03:13 by jid1 p:poll weird behaviour Hi, I am try to use p:poll in async=true mode but it misbehaves So I debugged and observed the following. If the ...

51. p:poll seems to update full view    forum.primefaces.org

53. p:poll frequency is ignored    forum.primefaces.org

54. P:Poll problem    forum.primefaces.org

I have an "interesting" problem with p:poll in PrimeFaces 2.2. Basically, there is a regular p:poll on my page: However, I noticed that the second time onwards ...

55. Why does p:poll submit my form    forum.primefaces.org

56. poll on 3.0 Snapshot    forum.primefaces.org

57. Need another option in the Poll    forum.primefaces.org

Many users like me are stuck with PrimeFaces older version as we use Seam 2.x. So we need an option to be included in the poll for the same. The option ...

58. p:poll doesn`t work with IE7    forum.primefaces.org

59. Poll component and threads    forum.primefaces.org

Hello. I'm using the component to update a dialog whose shows how many bills were billed. So, I have a function that processes the bills and the other function that ...