Hi,
I have TableField on a frontend form which displays fine and editting and adding items works as well.
But when I try to delete an item I get the 404 message:
I can't handle sub-URLs of a SubmitPage_Controller object.
This is my field ( which does work in the CMS):
$beschikbaarfield = new TableField("Beschikbaarheid",
'Beschikbaar',array(
'AankomstDatum'=>'Aankomst',
'LangWeekendVrMa'=>'Weekend vr-ma',
'MidWeekMaVr' => 'Midweek ma-vr',
'Week1MaMa' => 'Week ma-ma',
'Week1VrVr' => 'Week vr-vr',
'Week1ZaZa' => 'Week za-za',
'Week2VrVr' => '2 Weken vr-vr'
), // fieldList
array(
'AankomstDatum'=>'TextField',
'LangWeekendVrMa'=>'TextField',
'MidWeekMaVr' => 'TextField',
'Week1MaMa' => 'TextField',
'Week1VrVr' => 'TextField',
'Week1ZaZa' => 'TextField',
'Week2VrVr' => 'TextField'
),
"WoningID",
$this->ID
);
And this is the deletelink in the TableFieldItems:
http://mysite.nl/mypage/PropertyEditForm/field/Beschikbaarheid/item/4/delete
I think I have to add a new Directorrule, but don't know how to build that up.
Any clues?