• Post Reply Bookmark Topic Watch Topic
  • New Topic

Invalid argument looking up property:

Thomas Toth
Posts: 1
  • Mark post as helpful
  • send pies
  • 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" />

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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!