Hello Martin,
I think you need to provide the bean as well.
--
Best Regards / Viele Grüße
Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de
Martin Torre Castro schrieb:
Hi everyone:
I have a problem with beandisplay. I tried at first the most easy version, and
appeared the information of only some fields. My problem is that the Long
Objects from the methods I use don't appear on the screen neither their labels.
I have some date on Calendar Object and it doesn't work as well.
I googled for some info and used the 'add' parameter for the beandisplay, but
didn't work. I looked a bit more and found two variants which are showing only
the labels :(.
This is my code:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"
t:type="Layout" t:pageTitle="title" xmlns:p="tapestry:parameter">
<body>
<p>${incid.empAlta.idEmp}</p> <!-- These appear on screen -->
<p>${incid.empBaja.idEmp}</p>
<t:beandisplay object="incid" add="idAlta, idBaja, date">
<t:parameter
name="${messages:id-label}">${prop:incid.empAlta.idEmp}</t:parameter>
<t:parameter
name="${messages:id-label}">${prop:incid.empBaja.idEmp}</t:parameter>
<t:parameter
name="${messages:date-label}">${prop:incid.date.time}</t:parameter>
</t:beandisplay>
<t:beandisplay object="incid" add="idAlta, idBaja, date">
<p:idAlta>${prop:incid.empAlta.idEmp}</p:idAlta>
<p:idBaja>${prop:incid.empBaja.idEmp}</p:idBaja>
<p:date>${prop:incid.date.time}</p:date>
</t:beandisplay>
</body>
</html>
I can make some arrangements for the Calendar to convert to String in the
own object and show, by not for the another. Why does none of them work???
Thank you everyone!
_________________________________________________________________
¿Quieres los nuevos emoticonos en 3D? ¡Descárgatelos gratis!
http://www.vivelive.com/emoticonos3d/index2.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org