Sorry Sophie. I found some bugs and I fixed them on web2pyslices.com. Changes: - The new step 2 was included. - The step 5 (now 6) was fixed.
I tested all steps and worked properly. :-) Please, try again. On 21 out, 18:59, Sophie <[email protected]> wrote: > I try this, but it doesnt work. The error is "NameError: name > 'OPTIONS_WITH_ADD_LINK' is not defined" > But in the widgetAddLink.py I add > db.Product.Category.widget=OPTIONS_WITH_ADD_LINK(T=T, r=request, > c="Category") > why cant it recognize the function? > > Sophie > > On Oct 21, 10:47 am, Renato-ES-Brazil <[email protected]> > wrote: > > > I think you want something > > like:http://groups.google.com/group/web2py/browse_thread/thread/4d68f54f17... > > > On 21 out, 13:17, Sophie <[email protected]> wrote: > > > > hi all, i want to have this in my web. I have a product this product > > > have a category, so i want to insert my product, but the category > > > doesnt exist. So i want a link to create the category, but i want to > > > see this page in a pop-up window, and when i exit it refresh the > > > product page so i can see the modification i did before. How can i do > > > this? and now i am doing this with the SQLFORM, i think i have to > > > change my controller to see this link next to the combo of product > > > category, but i dont know how to do this either. Please some help. Im > > > new in this so its very complicated for me. > > > > Sophie > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

