This doesn't create the appropriate name of the <input type="text"> property though. The setter of amount or name is never called.
I have tried several variations of what the <nested:text> name should be - nothing works. Other bill properties are set, but this nested ones aren't.
The generated html source doesn't look right:
It should be something like name="bill.part.name" or "bill.parts.name"
By omitting the name completely, I get a source html like this:
this should work - the hierarchy looks correct (not sure about the form thing, but I assume it's something standard)
But still, the setters are never called. The other setters of Bill object are called, but never the ones of BillPart object.