This discussion is archived
3 Replies Latest reply: Feb 14, 2013 9:18 AM by Timo Hahn RSS

af:poll

985680 Newbie
Currently Being Moderated
Hello ,

I am using jdeveloper 11.1.2.3 .
I am implementing a reminder in my application. I am using a poll and the poll showpopupbehavior. the poll that shows the popup is in the Template page.
everything is working fine.
my problem is :

1- In my application I need the poll to show the popup 1 hour before the occurence of the activity. ( how I can do that?)
2- If there is no activities I dont want the poll to show anything.

any suggestions ?


thanks a lot


FARAJ
  • 1. Re: af:poll
    Frank Nimphius Employee ACE
    Currently Being Moderated
    Hi,

    the poll accesses a managed bean, so the managed bean checks the time of the day and the activities (which there must be a trace for in your data model)

    Frank
  • 2. Re: af:poll
    985680 Newbie
    Currently Being Moderated
    hello frank ,

    thanks for your reply. but my point is the poll has an interval time. when there no activities to remind the user about it , the poll will show a blank popup. right ?


    thanks again


    FARAJ
  • 3. Re: af:poll
    Timo Hahn Oracle ACE
    Currently Being Moderated
    Don't you show the popup from your code, the pollListener?
    If your check don't find any event to notify the user about just don't show the popup and continue by waiting for the next interval.

    Timo

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points