Hi I've got a couple of interesting problems with integrating symphony and
facebook.com currently, and wondered if anyone had any ideas about how to
circumvent these.

The first on I'm certain is related to POST validation.

BTW im running symfony 1.0.4 (will role forward to 1.0.5 shortly)

The way FB interacts with symfony is as follows, the user requests the page
from FB which is turn adds some POST variable (User Id and a couple of
others), FB then forwards this request onto the server, and relays the page
back to the user. At first this seems great except that FB includes POST
calls with every page request, this in turn triggers symfonys validators,
which normally fail (as at least one field is typically required). Is there
any way I can easily control the validator and make sure that it does not
fire unless any data is sent?

My initial thought was to put a group on ever field in the form, and
therefore detect if the user had enetered any data, however I don't seem to
be able to get the group function to perform at all (not even the way it
works mentioned in the TRAC documentation bug).

Does anyone have any thoughts about this, and how easy would it be to
overcome?

Thanks,
Mat




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to