carlwenrich wrote:
> The applet works in a normal html page, but if I put it into a Django
> template it generates a null pointer exception.

You're going to have to give us a little more than that.

However, Django templates shouldn't have anything to do with this
problem.

Django runs on the server. It uses a view+template to generate a plain
old HTML response.  The HTML includes whatever code for your applet to
run, and is rendered on the client computer -- it has nothing to do
with Django.

Try looking at the HTML source for the response from Django.  Make sure
that the applet is still referencing all of the correct files.  If you
still think it's Django's fault, save the HTML to a file and serve it
up in the same location as a static page... see if you still have the
problem.

--Ben


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django 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/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to