on 01-13-2010 12:57 PM
Hi,
I have an external database configured as a new datasource in my AS that gives me a time information from a table. I need to retrieve this time and show it as a countdown clock in webdybpro. Any idea?
Thank you
Ok... but any ideia of how can I count it down? how can I refresh it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice.. Now I found it....
Just one more question.. In your opinion, how is the best way for me to do this count down ? I mean... I could see that this Element will execute an event in every x seconds....but...:
- Must I retrieve de data value from the database, then keep it in a variable (Time type) and then decrement it?
- Create an EJB that represents this clock and call a method that gives-me the value? Is it possible?
If you were me, what would you do?
Sorry for the newbies questions..
You can use "Timer" UI element in a separate view.
Edit: I meant "TimedTrigger" UI element.
Edited by: Aviad Levy on Jan 13, 2010 4:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.