Anthony, I did a similar thing on my first try but with the link created at 
the controller, like so:

Controller:

def func():
    ...
        ...
        modal = PluginMModal(title='Hello World',content='give this a 
try!',close="close",width=30,height=30)
        form = TABLE(... lots of TR( ... lots of TD(modal.link(variable)))
        return dict(form=form,modal=modal)
 
View:
{{=form}}
{{=modal}}

But the above didn't work! 

After you confirmed that it should work, I revisited it again a while ago 
and found the cause. The "modal = PluginMModal()" is INSIDE a FOR LOOP! By 
putting in a fix id for PluginMModal it fixed itself.

We often want to be always in the loop but not in this case.

:) Thank you!



Reply via email to