[aida] WebForm>>superform:

Janko Mivšek janko.mivsek at eranova.si
Tue Nov 13 11:25:11 CET 2012


Dne 13. 11. 2012 11:19, piše Dirk Verleysen:

> I'll check this out... but hadn't had a problem before and as far as I
> know I have no hierarchy here at the moment.

If you use any widget, you have a form hierarchy. For any popup using a
widget as well.


> 
> But I'll check :).
> 
> Janko Mivšek schreef:
>> Hi Dirk,
>>
>> Dne 13. 11. 2012 10:52, piše Dirk Verleysen:
>>
>>> I've changed the creation of the header so my tabs work again, but I
>>> still have a somewhat unstable version right now.
>>>
>>> Could the WebForm>>superform: method be a reason that my test site seems
>>> to be hanging ?  Any reason why you open the debugger ?
>>
>> Ups, sorry for nonaswering so far.
>>
>> WebForm>>superForm is here to deal with form hierarchy, that is, forms
>> can have also embedded subforms in Aida, but this is not allowed in
>> plain HTML. That's why we need to deal with that hierarchy separately
>> and here why a superform backlink is needed.
>>
>> Some more rules:
>>
>> - if you submit a form, fields in all subforms down in hierarchy are
>>   submitted too.
>> - any subform can be submitted separately
>> - in that case an Ajax submit, not normal one, is used. Normal one is
>>   used only on whole page's form
>> - every widget has its own form and when you add a widget to page,
>>   widget's form become a main page's subform.
>> - so, if you build a hierarchy of widgets, you build a form hierarchy
>>   as well.
>>
>> To help you, can you replicate your case by changing the demo code in
>> WebDemoApp>>viewWidgets and its methods , where such form hierarchy is
>> shown in practice?
>>
>> Best regards
>> Janko
>>
> 
> 
> _______________________________________________
> Aida mailing list
> Aida na aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
> 

-- 
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565


More information about the Aida mailing list