From: Eliot S. <eli...@Ri...> - 2004-09-03 08:26:01
|
Hi=20Christian, =20 Looks=20like=20you've=20got=20a=20spelling=20error,=20"elemeMt": =20 =20=20=20=20=20=20=20=20<elememt=20name=3D"numRecurrsEveryXDays"/> =20 Kind=20regards, Eliot -----Original=20Message----- From:=20f...@li...=20[mailto:formproc-= dev...@li...]=20On=20Behalf=20Of=20Christian=20Ca= banero Sent:=2003=20September=202004=2006:20 To:=20f...@li... Subject:=20[FormProc-developer]=20Problem=20(potential=20bug?)=20with=20Fo= rmManager#loadForm(Configuration) I=20have=20a=20form=20with=20an=20element-group=20specified=20in=20the=20f= ollowing=20way: =20 =20=20=20=20<element-group=20name=3D"dailyRecurrence"> =20=20=20=20=20=20=20=20<element=20name=3D"dailyRecurrence"/> =20=20=20=20=20=20=20=20<element=20name=3D"recurrsEveryXDays"/> =20=20=20=20=20=20=20=20<element=20name=3D"recurrsEveryWeekday"/> =20=20=20=20=20=20=20=20<elememt=20name=3D"numRecurrsEveryXDays"/> =20=20=20=20=20=20=20=20<validator=20type=3D"shared"=20name=3D"dailyRecurr= ence"> =20=20=20=20=20=20=20=20=20=20=20=20<error=20lang=3D"en">Daily=20recurrenc= e=20problem.</error> =20=20=20=20=20=20=20=20</validator> =20=20=20=20</element-group> =20 I=20also=20have=20several=20single=20"element"=20elements=20in=20the=20fil= e=20as=20well.=20=20What=20I've=20noticed=20tracing=20through=20the=20code= =20is=20that=20although=20the=20element-group=20seems=20to=20load=20ok=20f= rom=20the=20configuration=20file=20only=203=20out=20of=20the=204=20sub=20e= lements=20within=20the=20element-group=20get=20returned=20as=20part=20of=20= the=20the=20formConfiguration's=20formElementGroups'=20Map=20entry=20for=20= the=20"dailyRecurrence"=20element-group.=20=20The=20DefaultFormElementGrou= p=20object's=20formElement=20list=20for=20"dailyRecurrence"=20contains=20o= nly=203=20DefaultFormElement=20objects=20that=20correspond=20to=20the=20fi= rst=203=20elements=20and=20none=20exists=20for=20"numRecurrsEveryXDays".=20= =20The=20code=20I've=20been=20tracing=20through=20is=20on=20line=20530=20o= f=20FormManager.java=20and=20then=20it=20goes=20into=20ClassPathResourceLo= ader.java=20but=20I=20haven't=20been=20able=20to=20get=20my=20IDE=20to=20t= race=20into=20that=20code=20correctly=20which=20is=20making=20me=20tear=20= my=20hair=20out. =20 I=20was=20wondering=20if=20anyone=20had=20any=20suggestions=20on=20this=20= problem=20or=20if=20I'm=20missing=20something.=20=20I'm=20using=20the=20la= test=20version=20of=20formproc=20in=20cvs=20and=20also=20using=20the=20ede= nlib=20that=20comes=20with=20it,=20version=202.0b1. =20 Thanks, Christian ________________________________________________________________________ This=20email=20has=20been=20scanned=20for=20all=20viruses=20by=20the=20Mes= sageLabs=20service. ________________________________________________________________________ This=20email=20has=20been=20scanned=20for=20all=20viruses=20by=20the=20Mes= sageLabs=20service.=20 ________________________________________________________________________ |