Grid can be customized much like a cell; you provide a <t:parameter> with the name "propertyheader" (that is, the property name with suffix "header") and you can put whatever you want into the header at that point. Tapestry will render the <TH> element, your parameter renders everything inside.
On Jan 9, 2008 12:00 AM, Peter Stavrinides <[EMAIL PROTECTED]> wrote: > I didn't seem to get any response, let me try rephrase this question, > how do you customize the grid component, particularly the header... I > want to add an icon or two, I noticed in the docs there is a GridColumns > component as well, an example would really help me out. > > Thanks, > Peter > > > Peter Stavrinides wrote: > > Hi > > > > I have a simple grid component and I wish to override the grids header > > names with different names or even an image in some cases (or a > > combination of text and an image) > > > > Is this possible using a <parameter> option? something like this > > example that I am using for rendering a cell > > > > <t:parameter name="IsDueDiligenceValueCell"> > > <t:if test="fd.IsDueDiligenceValue"> > > <img src="/castle/images/rookicon.gif"/> Due Diligence > > </t:if> </t:parameter> > > > > Thanks, > > Peter > > > > > > > > --------------------------------------------------------------------- > > 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] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]