Hey guys,
Got a simple question with Rails (Facebooker) for FBML To keep it simple, let's
assume it's a student registration system.
In my student page (displaying their photo, name, grade etc), I have an 'edit'
button. Clicking that button, will display a FB-dialog to edit their details.
My aim is simple. I want the user to be able to edit the details, click 'Save'
(fb dialog button or submit_tag), and display the validation message in a
placeholder ('Saved' OR 'Email must not be empty').
Currently, i have been able to achieve that. Except, the problem is, after save
and close the dialog, my whole page is not yet being refreshed. So, when i
click the 'edit' button again, all the original data still there (even though,
it has been updated in database). It will only show the updated data once i
refresh the whole page.
Any tips on how to refresh the fb dialog after clicking the submit button? Or
worst case, refresh the whole page.
I also post in StackOverflow here:
http://stackoverflow.com/questions/1719666/how-to-refresh-the-dialog-box-in-facebook-after-submit-rails-facebooker-fbml
Thanks in advance.
-h
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
or Rails Oceania" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---