Hello,

I've had a search around and yet to find a potential solution to this.
Beginning to think it may be impossible currently!

The problem:

I'm using a variation of a Grid (specifically, Tapestry5 jQuery's DataTable
which springboards off AbstractTable and DataTables.net for client-side).

I'm trying to find a way to adorn cell values with markup/style on the fly -
I've written a BeanModel and GridDataSource. The BeanModel utilizes a
PropertyConduit and so the value is exposed to me there. Looking at the
source the only ability to affect MarkupWriter.writeRaw was via a Translator
render method but only the translator's toClient is called by the
AbstractTable.

Obviously one could just go <p:blahCell> <t:outputraw value="blahText" />
</p:blahCell> but I will always have style information that needs rendering
so doing this for every single table with varying column names could become
incredibly cumbersome.

Any guru out there with knowledge of how this might be achieved? It seems to
me that this could be a genuinely desirable thing when it comes to table
rendering from an existing data source that can also provide style
information (i.e.: the value in this cell is special, colour it green and
bold it).

Kind regards,
Peter



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Dynamically-Writing-Raw-to-Grid-Cells-tp5716164.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