Hi, 

I stripped ${} from the model parameter and it works, up to the next error.

Now the beaneditform try to read the resType properties (code, label) but
could not convert String to ResType as shown in the following trace : 

java.lang.String cannot be cast to
com.selenarstudio.agenda.domain.model.ResType [at
org.apache.tapestry5.corelib.pages.PropertyEditBlocks.textField]

I've searched a little and found that the beaneditor gets the ResType object
as a string like : com.selenarstudio.agenda.domain.model.ResType@1c820b8

>From the stackTrace
at
org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl$1.read(InternalComponentResourcesImpl.java:516)
        at
org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl$1.read(InternalComponentResourcesImpl.java:496)
        at
org.apache.tapestry5.corelib.base.AbstractTextField._$read_parameter_value(AbstractTextField.java)
        at
org.apache.tapestry5.corelib.base.AbstractTextField.begin(AbstractTextField.java:167)
        at
org.apache.tapestry5.corelib.base.AbstractTextField.beginRender(AbstractTextField.java)
        at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$BeginRenderPhase.invokeComponent(ComponentPageElementImpl.java:206)
        at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.run(ComponentPageElementImpl.java:164)

I forgot to tell that I'm using Tapestry 5.0.1.5

I guess that a coercer is missing but I don't know where.

Could you give me a hint please ?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-use-a-BeanEditForm-with-a-bean-without-knowing-the-bean-class-tp4286211p4290271.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to