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 <caliari.ren...@gmail.com>
wrote:
> I think you want something 
> like:http://groups.google.com/group/web2py/browse_thread/thread/4d68f54f17...
>
> On 21 out, 13:17, Sophie <kfarron...@gmail.com> 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 web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to