• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Invalid argument looking up property:

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Guys,

i have a question about an error.

I have a form like this:
<form-bean name="EntidadEditarDynaForm" type="com.pragma.web.PragmaDynaValidatorForm">
<form-property name="id" type="java.lang.Long" />
<form-property name="descripcion" type="java.lang.String" />
<form-property name="localizacion" type="com.fontar.data.impl.domain.dto.LocalizacionDTO" />
<form-property name="entidadBeneficiaria" type="com.fontar.data.impl.domain.dto.EntidadBeneficiariaDTO" />
</form-bean>

I fill my fields of the localizacionDTO with property="localizacion.ciudad" and it works.
Now my Problem:

In my EntidadBeneficiariaDTO I have a LocalizacionDTO, same goes for the Beans, there are all getters and setters.

Now, when i try to set property="entidadBeneficiaria.localizacion.ciudad"
I get the following error:

Invalid argument looking up property: "entidadBeneficiaria.localizacion.ciudad" of bean: "org.apache.struts.taglib.html.BEAN"

I red in this forum that the first item has to be not null, so i tried to initialiate the property with an empty EntidadBeneficiariaDTO, but the effect is the same.
Anybody knows a clue?

Thanks, Thomas
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic