I am using http://easyframework.com/demo_popup.php without problems.

2011/7/12 Kenneth Lundström <kenneth.t.lundst...@gmail.com>

> Is this impossible? Should I instead try something with a form in a DIV. I
> got some hints from Branko but could just not get it working. Javascript
> sounded a nice way but even their I only got close, not perfect.
>
>
> Kenneth
>
>
>  Hello everybody,
>>
>> I惴 trying to create a page with a list of items. On every row a item is
>> shown and every row has an Edit button. Instead of going to a new page to
>> edit the record I惴 trying to use modal window via AJAX to edit the record.
>>
>> Mmodal plugin gets me quite close to a solution, but the problem is that
>> mmodal is great for one link on the page. I惴 going to need many links to the
>> same form but different attributes. With mmodal I have to create a new
>> different form for every row.
>>
>> So far I have edited the example for mmdaol to look like this:
>> {{a=PluginMModal(title=T('Edit record'),content=form_edit,**
>> close='close',width=40,height=**82)}}
>> {{=a}}
>> {{=a.link(T('Edit record'))}}
>>
>> So instead of a text in content I惴 sending a form that is created in the
>> controller.
>>
>> Ideal would be that in the a.link I could define what record I悲 like to
>> edit.
>>
>> Any ideas how to achieve this?
>>
>>
>> Kenneth
>>
>>
>


-- 



--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]

Reply via email to