Hi,
On Tue, Feb 10, 2009 at 1:30 PM, Sumedh wrote:
> Nope...it's in the template file...it's getting rendered fine when the
> page is loaded first...
Could you upload the template code in some pastebin? Did you make sure
the same template is used in both views? (before submit and on error)
A si
Nope...it's in the template file...it's getting rendered fine when the
page is loaded first...
after form submit, if there is an error, the body tag doesnt have any
onload... :(
I am using only one layout file...
On Feb 10, 4:15 pm, Bernhard Schussek wrote:
> Hi,
>
> On Tue, Feb 10, 2009 at 11
Hi,
On Tue, Feb 10, 2009 at 11:51 AM, Sumedh wrote:
> But can't we make symfony generate the same Body tag it generated on
> the original page? :(
Well, one thing that we don't know is where your body tag is defined.
Is it defined in your layout.php file? Are you using different layouts
for the
But can't we make symfony generate the same Body tag it generated on
the original page? :(
On Feb 10, 2:05 pm, Lupu Alexandru-Emil wrote:
> you might wanna try "document.onDomReady"
>
> On Tue, Feb 10, 2009 at 8:16 AM, Sumedh wrote:
>
> > No...we aren't using anything like jQuery...
>
> > It's
you might wanna try "document.onDomReady"
On Tue, Feb 10, 2009 at 8:16 AM, Sumedh wrote:
>
> No...we aren't using anything like jQuery...
>
> It's a simple html body tag defined in the template...
>
> After the error is handled, the template gets re-executed...but the
> body tag is rendered with
No...we aren't using anything like jQuery...
It's a simple html body tag defined in the template...
After the error is handled, the template gets re-executed...but the
body tag is rendered without the onload attribute it had before form
submit... :(
I didn't find this behavior in the documentat
Do you use any kind of Javascript framework? If yes, those mostly
provide handlers for the document load event (f.i.
$(document).ready(function() {...})) in jQuery. This way, you can
decouple the onload handler from the body tag and just need to link
the Javascript file where the handler definitio