How do we get a string from a FieldValue now that a hashtable is no longer used?

I used to use the following but it no longer works:


com/koyuru/dbi/fk.java [44:1] inconvertible types found : org.dbforms.config.FieldValue required: java.lang.String String kanji = (String) fieldValues.get("kanji");

Treating a toString() won't work since it's in FieldValues already

What about adding

 public String getString(String name)
   {
      return (String) ht.get(name);
   }
to FieldValues?

so I can use String kanji = fieldValues.getString("kanji");


wait wait wait


I will try this

String kanji = (String) (fieldValues.get("kanji").getFieldValueAsObject());
--
Shawn


Happily using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to