aspose file tools*
The moose likes Struts and the fly likes Invalid argument looking up property: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Invalid argument looking up property:" Watch "Invalid argument looking up property:" New topic
Author

Invalid argument looking up property:

Thomas Toth
Greenhorn

Joined: Nov 16, 2006
Posts: 1
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
 
 
subject: Invalid argument looking up property:
 
Similar Threads
html:Checkbox
Problem in injecting interface
Spring and Filtering
Problem in using multiaction controller in spring
DynaValidatorForm - very strange problem