formFields.getField(fieldName) Paulo
----- Original Message ----- From: "li chen" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, June 25, 2007 8:36 PM Subject: [iText-questions] strange value returned byformFields.get(fieldName) >i tried to print out the formField and its value like this > > Iterator nameIterator = formFieldNames.iterator(); > while (nameIterator.hasNext()) { > String fieldName = (String) nameIterator.next(); > Object value = formFields.get(fieldName); > System.out.println("name is "+fieldName+" value "+ value.toString()); > } > > i was expecting some numbers or a string, but it came out like this > name is MCD[0].RoHSpage2[0].RoHSExemptionCheckbox[0].RoHSEx7a[0] value > [EMAIL PROTECTED] > > name is MCD[0].RoHSpage2[0].RoHSgroup[0].SupplierAcceptance[0] value > [EMAIL PROTECTED] > > name is > MCD[0].JIGPage3[0].JIGBsubform[0].SectionA[0].LineItem[0].SubPartNameSf[0].MaterialSf[4].MaterialWeight[0] > > value [EMAIL PROTECTED] > > anybody got an idea why this is happening? i'm looking for the value for > the formfield. > Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
