Re: refreshing automatically..?
Re: refreshing automatically..?
- Subject: Re: refreshing automatically..?
- From: James Cicenia <email@hidden>
- Date: Tue, 20 Jul 2010 16:57:31 -0500
I just put in the NSTimestamp for the cache key... don't know if this is correct but seemed to work.
- j-
On Jul 20, 2010, at 4:47 PM, Theodore Petrosky wrote:
> I have the table wrapped in an AjaxUpdateContainer and I am reading the docs now...
>
> frequency the frequency (in seconds) of a periodic update
> action the action to call when this updateContainer refreshes
>
> it looks like the action is called after the update...
>
> It looks like I need to continue reading the docs....
>
> I also see the AjaxPing..
>
> frequency the frequency of refresh (in millis), defaults to 3000
> targetContainerID the ID of the update container to refresh when a change is detected
> cacheKey some hash value that represents the state of the target container
>
> I just have to figure out this cacheKey....
>
> Ted
>
>
> --- On Tue, 7/20/10, Chuck Hill <email@hidden> wrote:
>
>> From: Chuck Hill <email@hidden>
>> Subject: Re: refreshing automatically..?
>> To: "Theodore Petrosky" <email@hidden>
>> Cc: "WebObjects Apple" <email@hidden>
>> Date: Tuesday, July 20, 2010, 5:29 PM
>> Wrap it in an AjaxUpdateContainer and
>> use the frequency binding:
>> * @binding frequency the frequency (in seconds) of a
>> periodic update
>>
>> Then, on the server, you will need some of Mark's code to
>> ensure that you have fresh data in the app to show the
>> user.
>>
>>
>> Chuck
>>
>> On Jul 20, 2010, at 2:23 PM, Theodore Petrosky wrote:
>>
>>> I want to refresh the User View....
>>>
>>> if the user sits on the list view.. and someone adds a
>> job, I would like to update the display... (ok so it only
>> happens every 3 minutes [or 5 for that matter])
>>>
>>> easy to do when talking directly with the backend with
>> notifications....
>>>
>>> Ted
>>>
>>> --- On Tue, 7/20/10, Mark Ritchie <email@hidden>
>> wrote:
>>>
>>>> From: Mark Ritchie <email@hidden>
>>>> Subject: Re: refreshing automatically..?
>>>> To: "Theodore Petrosky" <email@hidden>
>>>> Cc: "WebObjects Apple" <email@hidden>
>>>> Date: Tuesday, July 20, 2010, 4:08 PM
>>>> On 20/Jul/2010, at 12:24 PM, Farrukh
>>>> Ijaz wrote:
>>>>> Look for AjaxPing component. It is really
>> worth and
>>>> save a lot of time.
>>>>
>>>> Hey Throdore!
>>>> Are you talking about refreshing stale data in the
>> WOA or
>>>> in a users browser?
>>>> While related, they are somewhat different
>> problems.
>>>> M.
>>>>
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be
>> ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>> --
>> Chuck Hill
>> Senior Consultant / VP Development
>>
>> Practical WebObjects - for developers who want to increase
>> their overall knowledge of WebObjects or who are trying to
>> solve specific problems.
>> http://www.global-village.net/products/practical_webobjects
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden