Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED]
Gesendet: Freitag, 12. Dezember 2003 21:09
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: [dbforms] Problem in insert mode from within a child form.On my JSP, I have two (db) forms, the parent (Client) and the child (Client purchases). All my parent fields are read-only, therefore the end-user can only add / modify /delete purchases. All buttons (Insert, Update, Delete) are found in the child form's footer. I am using associated radio buttons to mark items for a given action. I have also added a row of empty text fields in the footer to allow the user to input a new purchase. Both forms are set to redisplayFieldsOnError = true.
My problem is as follows:
When I modify a purchase and there is a validation error (commons-validator), the JSP is redisplayed as I would expect (All input fields are re-populated - error messages are displayed). However, if a validation error occurs when adding a new (insert mode) purchase, the JSP is rendered with empty values for all parent (Client) and child (Purchases) fields.
I haven't been able to pinpoint why the forms are not being repopulated in INSERT Mode. Any suggestions on where I should start looking?
Title: Problem in insert mode from within a child form.
Yes,
all output is generated in DbBaseHandler.getFormFieldValue. Looking
at the code shows that the old from value is in fact only in update mode gotten
from the form.
Could you have a
look?
Regards and many
thanks,
Henner
- [dbforms] Problem in insert mode from within a child... Grunikiewicz . Philip
- Henner Kollmann
