[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PhillyOnRails] Signout sheet
|
options are the same as link_to_remote, so read the docs at http://
api.rubyonrails.org/classes/ActionView/Helpers/
PrototypeHelper.html#M000412 you will notice a :submit option that is
what I think you are looking for.
Aaron Blohowiak
On May 5, 2006, at 11:48 AM, Randy Schmidt wrote:
Sweet. Thanks.
Here's another question. Do you know of a way to keep the filtered
list when it refreshes? for example, someone starts typing a name, it
filters the list down to one person, then it calls refresh and the
whole list gets displayed even though the person didn't want that...so
if there is a search term, periodically refresh the search
results...does that make sense?
Thanks!
Randy
On 5/5/06, Ron Lusk <ronlusk@gmail.com> wrote:
By the way, this has an interesting effect (same as a refresh meta
tag, I
suppose): sessions don't time out, if the refresh period is
shorter than the
session timeout period. This can cause a problem if your security
policy
dictates session expiration after a few minutes.
On 5/5/06, Ron Lusk <ronlusk@gmail.com> wrote:
>
> periodically_call_remote
>
>
> > Periodically calls the specified url (options[:url]) every
options[:frequency] seconds (default is 10). Usually used to update a
specified div (options[:update]) with the results of the remote
call. The
options for specifying the target with :url and defining callbacks
is the
same as link_to_remote.
>
>
>
>
>
>
>
> On 5/5/06, Randy Schmidt < x@altorg.com> wrote:
>
> >
>
> I am making a web-based signout sheet where the users can use live
> search to filter the list of employees and and set away and come
back
> is all ajaxified. I was wondering how I would periodically
update the
> list of employees. For example, employee 1 has the page open on
their
> screen and employee2 signs out, I want the screen for employee 1 to
> update like every second or so...I just couldn't think of how to
do it
> exactly.
>
> Thanks!
> --
> Randy Schmidt
> x@altorg.com
> 267.334.6833
>
> _______________________________________________
> talk mailing list
> talk@phillyonrails.org
> http://lists.phillyonrails.org/mailman/listinfo/talk
>
--
Ron Lusk
ronlusk@alum.mit.edu
--
Randy Schmidt
x@altorg.com
267.334.6833
_______________________________________________
talk mailing list
talk@phillyonrails.org
http://lists.phillyonrails.org/mailman/listinfo/talk
_______________________________________________
talk mailing list
talk@phillyonrails.org
http://lists.phillyonrails.org/mailman/listinfo/talk
|
|