Hi Markus!

I'm still working in some details for this functionality in my
'available times':

- I need to reload the "select" object to show the new option
registered.

- I would like to improve the structure of the code and files where
possible in order to be easy to implement. Currently has a module with
a widget and a view called "popup.html" as the base.

For each field I wish to implement the "Add" link, I put this widget
on my configuration model.

For example, I wanted to put the link "add" next to the "Product"
combobox  So, I informed the widget on this field, and furthermore I
had to declare two methods in the Product controller just call generic
methods that are within my module (create_popup and validate_popup). I
also created a View for the Product popup, that shows the form and
insert a jquery script. The view page extends the page "popup.html"
which is the page that contains some properties for the jquery popup
appears properly.

On Oct 14, 7:20 am, Markus Schmitz <mschm...@soft-impact.com> wrote:
> Hi Renato,
>
> after this long and painfull journey could you post in a single
> comprehensive way, what you need to do to get the Add-Button working?
> I am sure, several of us need something quite similar.
> Maybe Massimo could even turn this into an howto on the FAQ?
>
> Regards
>
> Markus
--~--~---------~--~----~------------~-------~--~----~
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