[gen] Added some layouts for Ref fields in Ref.wLayouts and Ref.wdLayouts; added a new, simpler way of defining auto-references (=Ref fields that refer to the class containing the field), via method appy.gen.autoref; stop catching exceptions raised by Actions (so a partial action can't be committed anymore).

This commit is contained in:
Gaetan Delannay 2012-08-21 19:57:23 +02:00
parent 61b0ed2fce
commit 812bda7452
4 changed files with 51 additions and 31 deletions

View file

@ -17,8 +17,7 @@ tfw = {"edit":"f","cell":"f","view":"f"} # Layout for Translation fields
<!Group!>
<!Translation!>
<!Page!>
Page.pages.klass = Page
setattr(Page, Page.pages.back.attribute, Page.pages.back)
autoref(Page, Page.pages)
<!Tool!>
<!wrappers!>