This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Invalid argument looking up property:  RSS feed

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="" />
<form-property name="entidadBeneficiaria" type="" />

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!