on 07-21-2005 6:00 AM
I used a timed trigger in my application . The problem is the data entered in input fields disappear as soon as the timed trigger action is fired. Is there any way to maintain data persistency is in the input boxes(i have mapped the input fields to a context of type string)?
Regards,
Jayant
Hi,
You can create a viewset.
In that embed 2 views. In one view give teh timed trigger alone and in another give all the other UI elements .
Try this ! This should work!
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What happens if you don't use a TimedTrigger but fire an empty action, do the input field data also disappear?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jaydeep,
Tried that alternative but after the delay data is also deleted. I actually created a node and mapped the attribute in the node to the text field in wdoinit method but that didnt help :(.
Regards,
Jayant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Lets forget about the TimedTrigger for the moment. What is it that you would like to achieve.
I dont think your solution would be solved by placing the TimedTrigger in another View in a ViewSet. It will still have the same effect. So if you can tell us your scenario we would be able to give you a solution.
regards
ravi
hi Ravi,
I would like a label to change dynamically from good morning to good night after every 12 hours on top of the page. Also the rest of the data which the user is keying in should remain the same. So for achieving this functionality i thought i could make use of timed trigger. But the problem is after every delay the page gets refreshed and data in input field disappears.
Regards,
Jayant
Hi Jayant,
The data entered in the input fields are refreshed because atrributes mapped with these input fields are independent attributes(Directly under root context). If you map with attributes inside a node then the values will be preserved.
Hope this helps.
Regards,
Jaydeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bharathwaj,
Thanks for the response. But i wanted to know if how we can access the functionality of view1 from the second embedded view wherein we embed the timed trigger. For eg in the first view i have a link whose action i want to fire after a specified time. How can i fire tht event from the second view wherein i embed the timed trigger.
Regards,
Jayant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.