Hi,

Please call loadSettings() on your columns when creating them. That will
look at the blocks in the provided component and adjust renderers if needed,

-mb

----- Original Message ----- 
From: "Michael Engelhart" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Friday, June 03, 2005 10:30 PM
Subject: render block for contrib:table


Hi -

I'm running into LazyLoadExceptions using contrib:table so I had to
create my own TableModel to allow my code to reattach the data in the
model to hibernate.
Anyway, when I was using the columns/source method of contib:table, I
had a block like this:

<span jwcid="[EMAIL PROTECTED]">
    <a jwcid="@DirectLink"listener="ognl:listeners.goProductPage"
parameters="ognl:{components.table.tableRow.id}"><span jwcid="@Insert"
value="ognl:components.table.tableRow.name">Product Name</span></a>
</span>

which worked fine.

Now that I'm using the tableModel method instead, how do I get the
same functionality to generate one of the column values as a
DirectLink.

Thanks

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to