Re: Render dynamic form based on meta data

2013-07-01 Thread François Schiettecatte
Avishay

I am a little confused, the form looks fine to me, are you trying to send the 
content to django for validation when the user clicks the 'Validate' button? 
You can do that using a REST call to django, or POST the form to django, either 
way you are going to have to write some backend code to deal with the input.

François

On Jul 1, 2013, at 3:51 AM, Avishay Balderman  wrote:

> Hi
> I am OK with the javascript side (see the attachment) - I am able to take 
> meta data and render a form.
> My challange is how to use it inside django app.
> Thanks
> 
> On Sunday, June 30, 2013 5:10:12 PM UTC+3, François Schiettecatte wrote:
> Avishay 
> 
> Take a look at http://jquery.com/ , lots of stuff there. 
> 
> The other discussions that have been going on about REST would also be useful 
> to you. 
> 
> Cheers 
> 
> François 
> 
> On Jun 30, 2013, at 4:54 AM, Avishay Balderman  wrote: 
> 
> > Hi  François 
> > Since I am a django "newbe", can you please elaborate or even point me to 
> > refrences in the web that shows the concept of what I am looking for? 
> > Thanks 
> > 
> > Avishay 
> > 
> > On Saturday, June 29, 2013 3:58:32 PM UTC+3, François Schiettecatte wrote: 
> > Django can handle some of that for you but not all, you will need to use 
> > javascript to handle the dynamics on the page itself., I use jquery, and 
> > use django to take the ajax calls and return data. 
> > 
> > If you don't have that much data you could just add it to the HTML page in 
> > javascript structures, would be easier to deal with than making ajax calls. 
> > 
> > Cheers 
> > 
> > François 
> > 
> > On Jun 29, 2013, at 5:28 AM, Avishay Balderman  wrote: 
> > 
> > > Hi 
> > > I need to implement a django app that has the following capabilities: 
> > > 1) When the main page loads it needs to dynamically (Ajax) populate a 
> > > combo () with a list of "form types" 
> > > 2) When the user select an item from the "form types" combo, the app 
> > > should issue Ajax call and fetch meta data. This meta data will bu used 
> > > in order to render a form. 
> > > 
> > > Can you please advice? 
> > > 
> > > Thanks 
> > > 
> > > Avishay 
> > > 
> > > 
> > > -- 
> > > You received this message because you are subscribed to the Google Groups 
> > > "Django users" group. 
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email to django-users...@googlegroups.com. 
> > > To post to this group, send email to django...@googlegroups.com. 
> > > Visit this group at http://groups.google.com/group/django-users. 
> > > For more options, visit https://groups.google.com/groups/opt_out. 
> > >   
> > >   
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google Groups 
> > "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to django-users...@googlegroups.com. 
> > To post to this group, send email to django...@googlegroups.com. 
> > Visit this group at http://groups.google.com/group/django-users. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> >   
> >   
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Render dynamic form based on meta data

2013-07-01 Thread Avishay Balderman
Hi
I am OK with the javascript side (see the attachment) - I am able to take 
meta data and render a form.
My challange is how to use it inside django app.
Thanks

On Sunday, June 30, 2013 5:10:12 PM UTC+3, François Schiettecatte wrote:
>
> Avishay 
>
> Take a look at http://jquery.com/ , lots of stuff there. 
>
> The other discussions that have been going on about REST would also be 
> useful to you. 
>
> Cheers 
>
> François 
>
> On Jun 30, 2013, at 4:54 AM, Avishay Balderman 
>  
> wrote: 
>
> > Hi  François 
> > Since I am a django "newbe", can you please elaborate or even point me 
> to refrences in the web that shows the concept of what I am looking for? 
> > Thanks 
> > 
> > Avishay 
> > 
> > On Saturday, June 29, 2013 3:58:32 PM UTC+3, François Schiettecatte 
> wrote: 
> > Django can handle some of that for you but not all, you will need to use 
> javascript to handle the dynamics on the page itself., I use jquery, and 
> use django to take the ajax calls and return data. 
> > 
> > If you don't have that much data you could just add it to the HTML page 
> in javascript structures, would be easier to deal with than making ajax 
> calls. 
> > 
> > Cheers 
> > 
> > François 
> > 
> > On Jun 29, 2013, at 5:28 AM, Avishay Balderman  
> wrote: 
> > 
> > > Hi 
> > > I need to implement a django app that has the following capabilities: 
> > > 1) When the main page loads it needs to dynamically (Ajax) populate a 
> combo () with a list of "form types" 
> > > 2) When the user select an item from the "form types" combo, the app 
> should issue Ajax call and fetch meta data. This meta data will bu used in 
> order to render a form. 
> > > 
> > > Can you please advice? 
> > > 
> > > Thanks 
> > > 
> > > Avishay 
> > > 
> > > 
> > > -- 
> > > You received this message because you are subscribed to the Google 
> Groups "Django users" group. 
> > > To unsubscribe from this group and stop receiving emails from it, send 
> an email to django-users...@googlegroups.com. 
> > > To post to this group, send email to django...@googlegroups.com. 
> > > Visit this group at http://groups.google.com/group/django-users. 
> > > For more options, visit https://groups.google.com/groups/opt_out. 
> > >   
> > >   
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to django-users...@googlegroups.com . 
> > To post to this group, send email to 
> > django...@googlegroups.com. 
>
> > Visit this group at http://groups.google.com/group/django-users. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> >   
> >   
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


<<< text/html; charset=US-ASCII; name=driver.html: Unrecognized >>>


Re: Render dynamic form based on meta data

2013-06-30 Thread François Schiettecatte
Avishay

Take a look at http://jquery.com/ , lots of stuff there. 

The other discussions that have been going on about REST would also be useful 
to you.

Cheers

François

On Jun 30, 2013, at 4:54 AM, Avishay Balderman  wrote:

> Hi  François 
> Since I am a django "newbe", can you please elaborate or even point me to 
> refrences in the web that shows the concept of what I am looking for?
> Thanks
> 
> Avishay
> 
> On Saturday, June 29, 2013 3:58:32 PM UTC+3, François Schiettecatte wrote:
> Django can handle some of that for you but not all, you will need to use 
> javascript to handle the dynamics on the page itself., I use jquery, and use 
> django to take the ajax calls and return data. 
> 
> If you don't have that much data you could just add it to the HTML page in 
> javascript structures, would be easier to deal with than making ajax calls. 
> 
> Cheers 
> 
> François 
> 
> On Jun 29, 2013, at 5:28 AM, Avishay Balderman  wrote: 
> 
> > Hi 
> > I need to implement a django app that has the following capabilities: 
> > 1) When the main page loads it needs to dynamically (Ajax) populate a combo 
> > () with a list of "form types" 
> > 2) When the user select an item from the "form types" combo, the app should 
> > issue Ajax call and fetch meta data. This meta data will bu used in order 
> > to render a form. 
> > 
> > Can you please advice? 
> > 
> > Thanks 
> > 
> > Avishay 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google Groups 
> > "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to django-users...@googlegroups.com. 
> > To post to this group, send email to django...@googlegroups.com. 
> > Visit this group at http://groups.google.com/group/django-users. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> >   
> >   
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Render dynamic form based on meta data

2013-06-30 Thread Avishay Balderman
Hi  François 
Since I am a django "newbe", can you please elaborate or even point me to 
refrences in the web that shows the concept of what I am looking for?
Thanks

Avishay

On Saturday, June 29, 2013 3:58:32 PM UTC+3, François Schiettecatte wrote:
>
> Django can handle some of that for you but not all, you will need to use 
> javascript to handle the dynamics on the page itself., I use jquery, and 
> use django to take the ajax calls and return data. 
>
> If you don't have that much data you could just add it to the HTML page in 
> javascript structures, would be easier to deal with than making ajax calls. 
>
> Cheers 
>
> François 
>
> On Jun 29, 2013, at 5:28 AM, Avishay Balderman 
>  
> wrote: 
>
> > Hi 
> > I need to implement a django app that has the following capabilities: 
> > 1) When the main page loads it needs to dynamically (Ajax) populate a 
> combo () with a list of "form types" 
> > 2) When the user select an item from the "form types" combo, the app 
> should issue Ajax call and fetch meta data. This meta data will bu used in 
> order to render a form. 
> > 
> > Can you please advice? 
> > 
> > Thanks 
> > 
> > Avishay 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to django-users...@googlegroups.com . 
> > To post to this group, send email to 
> > django...@googlegroups.com. 
>
> > Visit this group at http://groups.google.com/group/django-users. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> >   
> >   
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Render dynamic form based on meta data

2013-06-29 Thread François Schiettecatte
Django can handle some of that for you but not all, you will need to use 
javascript to handle the dynamics on the page itself., I use jquery, and use 
django to take the ajax calls and return data.

If you don't have that much data you could just add it to the HTML page in 
javascript structures, would be easier to deal with than making ajax calls.

Cheers

François

On Jun 29, 2013, at 5:28 AM, Avishay Balderman  wrote:

> Hi
> I need to implement a django app that has the following capabilities:
> 1) When the main page loads it needs to dynamically (Ajax) populate a combo 
> () with a list of "form types"
> 2) When the user select an item from the "form types" combo, the app should 
> issue Ajax call and fetch meta data. This meta data will bu used in order to 
> render a form.
> 
> Can you please advice?
> 
> Thanks
> 
> Avishay
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Render dynamic form based on meta data

2013-06-29 Thread Avishay Balderman
Hi
I need to implement a django app that has the following capabilities:
1) When the main page loads it needs to dynamically (Ajax) populate a combo 
() with a list of "form types"
2) When the user select an item from the "form types" combo, the app should 
issue Ajax call and fetch meta data. This meta data will bu used in order 
to render a form.

Can you please advice?

Thanks

Avishay

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.