Tuesday, March 29, 2011

Re: how to create message box in Django?

Yes, this is really a client-side related issue.

To try and answer your question what would be involved on the django
side of things:

Basically you want django to deal with any submission from one of
these fields as either a from or modelform so you can run clean() and
validate the input.

Beyond that the 'Message Box' html / scripts can be served dynamically
if need be in the django template system.

If you wanted to be really fancy in how you serve up the html+js form
code you could write/extend forms in some way. In which case looking
at the widgets source at:
http://code.djangoproject.com/browser/django/trunk/django/forms

Is your best bet.

cheers

sam_w

On Wed, Mar 30, 2011 at 2:20 AM, Shawn Milochik <shawn@milochik.com> wrote:
> Yeah, this isn't a Django question. But this is what we use:
>
> http://jqueryui.com/demos/dialog/
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment