try
productId = product1.get("productId").toString();
what you're calling points to this...
http://www.opentaps.org/javadocs/version-0.9.4/framework/api/org/ofbiz/entity/GenericEntity.html#get(java.lang.String,%20java.lang.String,%20java.util.Locale)
--- Richard Fleming <[EMAIL PROTECTED]> wrote:
> Hi all -
>
> When doing this:
>
> String productId = request.getParameter("idValue");
> genericValue product1 = null;
> Map inputId = UtilMisc.toMap("idValue", productId);
>
> product1 = delegator.findByPrimaryKey("GoodIdentifications",
> inputId);
>
> productId = product1.get("productId");
>
> I get an compiler error complaining that product1.get("productId") is
> an object not a string. What am I doing wrong?
>
> Thanks in advance
> Rick
>
>
>
>
>
>
>
>
>
>
>