at some points it is not clear how and if the databinding works

example(not precise since it was from somebody from the lab friday):

for(s:String in list){

   submit action {return showString(s)}{output(s)} 

}

in this example the output(s) worked fine however the showString(s) didn’t

making a template of the following fixed it:

submit action {return showString(s)}{output(s)}

other strange databinding this works:

group(committee.name) {

    row { labelcolumns("Name"){ input(committee.name) }}

    row { labelcolumns("Programme"){ input(committee.educations) }}

    row {labelcolumns("Member"){ input(committee.members) }}

    row { emptycolumns { submit saveCommittee(committee) { saveLink() } } }

}

however the following doesn’t bind :

group(committee.name) {

    inputEducationCommittee(committee)

    row { emptycolumns { submit saveCommittee(committee) { saveLink() } } }

}

Submitted by chris melman on 2 April 2012 at 13:16

Log in to post comments