Oh sorry, here is the exception:

org.apache.tapestry5.internal.services.RenderQueueException
Render queue error in BeginRender[Index:loop]: Failure writing parameter
'value' of component Index:loop: Could not find a coercion from type
java.lang.String to type
com.skycomm.cth.services.reachability.ping.ReachabilitySummary.

org.apache.tapestry5.ioc.util.UnknownValueException
Could not find a coercion from type java.lang.String to type
com.skycomm.cth.services.reachability.ping.ReachabilitySummary.

Thanks..



On Wed, Aug 24, 2011 at 3:30 PM, Muhammad Gelbana <[email protected]>wrote:

> Hi all,
>
> I know this is a trivial matter but I've been trying to solve it for
> sometime now and I just can't figure out what am I doing wrong !!
> I have an Index.java class with this property:
>
> @Property
>     @Inject
>     private ReachabilityService reachabilityService;
>     @Property
>     private int reachabilityIndex;
>     @Property
>     private ReachabilitySummary reachabilitySummary;
>
> And a in it's .tml:
> <table>
>         <tr>
>             <t:loop source="${reachabilityService.reachabilityReportIpk}"
> value="reachabilitySummary" index="reachabilityIndex">
>                 <td>${reachabilityIndex} -
> ${reachabilitySummary.isEpUp}</td>
>             </t:loop>
>         </tr>
>     </table>
>
> The "reachabilityService.reachabilityReportIpk" method retruns a mock list
> that I create manually so it should not be a problem.
> The issue is that It keeps trying to convert the "reachabilitySummary" into
> a string or something !!!! I prefixed it with  "prop" although it's the
> default prefix, but no use !
>
> What am I doing wrong here ?
>
>
> --
> *Regards,*
> *Muhammad Gelbana
> Java Developer*
>
>


-- 
*Regards,*
*Muhammad Gelbana
Java Developer*

Reply via email to