[symfony-users] Re: Saving request? (ajax)

2009-03-18 Thread Liran Tal
h, I thought it was a member of the class. Anyway, Any ideas regarding those soft links in the sandbox? I'm pretty sure it's not something that I've changed myself so I'm guessing it's a bug in the sf_sandbox package. Thanks, Liran. > On Wed, Mar 18, 2009 at 9:06

[symfony-users] Re: Saving request? (ajax)

2009-03-18 Thread Liran Tal
tBody(); ?> > > > To debug that problem you are having with Ajax updating the correct div > > post the entire form_remote_tag function snippet for me to see... > > > Gareth > > > On Wed, Mar 18, 2009 at 4:07 PM, Liran Tal wrote: > > >> Hey Gareth, > >

[symfony-users] Re: Saving request? (ajax)

2009-03-18 Thread Liran Tal
But you do not even need to do this. Just do: > > > $this->results = $talkback_obj; > > > Then in your view you can access the object directly: > > > getAuthor(); ?> > > getBody(); ?> > > > To debug that problem you are having with Ajax updating t

[symfony-users] Re: Saving request? (ajax)

2009-03-18 Thread Liran Tal
it is: ... Author: Talkback: Thanks. > Gareth > > On Wed, Mar 18, 2009 at 4:07 PM, Liran Tal wrote: > > > Hey Ga

[symfony-users] Re: Saving request? (ajax)

2009-03-18 Thread Liran Tal
I've also just noticed that while I use the ajax form submit method of form_remote_tag() then the output of the url (success page) isn't being placed in the div id part but rather it seems like it's just redirecting to that success page output... On Mar 18, 4:07 pm, Liran Ta

[symfony-users] Re: Saving request? (ajax)

2009-03-18 Thread Liran Tal
ny error if I don't use the $results variable on the view page so I'm clueless). I mentioned I'm using 1.2? Thanks. > Gareth > > On Tue, Mar 17, 2009 at 7:51 PM, Liran Tal wrote: > > > On Mar 17, 4:22 pm, Gareth McCumskey wrote: > > > $talkback_obj =

[symfony-users] Re: Saving request? (ajax)

2009-03-17 Thread Liran Tal
g line of code $isAjax = $this->getRequest()->isXmlHttpRequest(); It seems to me that it's possible to use $request->isXmlHttpRequest() instead of $this? it makes sense that $this->getRequest() actually referes to the $request object in the function. > On Tue,

[symfony-users] Saving request? (ajax)

2009-03-17 Thread Liran Tal
Hey, In my template for showSuccess.php I've added the ability to submit a form via Ajax as follows: 'talkback_list', 'url' => 'talkback/addNewTalkbackAjax', )) ?>

[symfony-users] Re: Adding a file upload control

2009-02-22 Thread Liran Tal
Sorry for the double post, it seems that it took some time for the message to get updated and I haven't noticed I submitted it before. This issue is no longer an issue, thanks. On Feb 22, 11:23 am, Liran Tal wrote: > Hey, > > I'm using Symfony 1.2, I am trying to add an u

[symfony-users] Adding a file upload control

2009-02-22 Thread Liran Tal
Hey, I'm using Symfony 1.2, I am trying to add an upload control to my module and after making the necessary steps as I was reading on the net I am receiving the following error "Unexpected extra form field named" for each of forms' fields (the fields mentioned in the schema) for example: Unexpec

[symfony-users] Adding a file upload control

2009-02-22 Thread Liran Tal
Hey, I'm using Symfony 1.2, I am trying to add an upload control to my module and after making the necessary steps as I was reading on the net I am receiving the following error "Unexpected extra form field named" for each of forms' fields (the fields mentioned in the schema) for example: Unexpec