From: Christian C. <chu...@ya...> - 2004-09-03 05:19:13
|
I have a form with an element-group specified in the following way: <element-group name="dailyRecurrence"> <element name="dailyRecurrence"/> <element name="recurrsEveryXDays"/> <element name="recurrsEveryWeekday"/> <elememt name="numRecurrsEveryXDays"/> <validator type="shared" name="dailyRecurrence"> <error lang="en">Daily recurrence problem.</error> </validator> </element-group> I also have several single "element" elements in the file as well. What I've noticed tracing through the code is that although the element-group seems to load ok from the configuration file only 3 out of the 4 sub elements within the element-group get returned as part of the the formConfiguration's formElementGroups' Map entry for the "dailyRecurrence" element-group. The DefaultFormElementGroup object's formElement list for "dailyRecurrence" contains only 3 DefaultFormElement objects that correspond to the first 3 elements and none exists for "numRecurrsEveryXDays". The code I've been tracing through is on line 530 of FormManager.java and then it goes into ClassPathResourceLoader.java but I haven't been able to get my IDE to trace into that code correctly which is making me tear my hair out. I was wondering if anyone had any suggestions on this problem or if I'm missing something. I'm using the latest version of formproc in cvs and also using the edenlib that comes with it, version 2.0b1. Thanks, Christian |