Hi, I've got strange error. Here is example:

Component code:


On page rendering I'm getting error:


org.apache.tapestry5.ioc.internal.util.TapestryException: Failure reading
parameter 'value' of component
shop/Product:productpopupzone.questionform.feedbacksubject: Failure reading
parameter 'product' of component shop/Product:productpopupzone.questionform:
Could not find a coercion from type java.lang.String to type
ru.kupivip.service.shop.model.ProductDesc
. [at classpath:ru/example/components/QuestionForm.tml, line 16]
        at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:
194)
        at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$BeginRenderPhase.render(ComponentPageElementImpl.ja
va:246)
        at
org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:72)
        at
org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:127)


Just can't get idea why it get string in parameter! It seems ${productDesc}
is not converted to the property and is read as literal string.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Failure-reading-parameter-product-of-component-shop-Product-productpopupzone-questionform-Could-not-c-tp5491918p5491918.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