Did you try overriding #newLink, #newJunctionLink or #newNodeLink? I
don't really know the component, but it looks like you can return any
markup component you like there...

I think your best best is to browse around the code of the component
and it's superclasses and experiment a bit.

Eelco


I have no experience with the component, but it

On 6/17/07, howzat <[EMAIL PROTECTED]> wrote:
>
> Does any body have any ideas re the below from a few weeks ago?
> wicket: 1.2.6
> wicket-extensions: 1.2.6
>
> A couple of questions re TreeTable
>
> Is it possible to configure a TreeTable so its nodes are not links?
> So far, I have only found/tried
>     tree.setLinkType(null)
> without achieving the desired effect.
>
> Is it possible to have rows with different background colours based on the
> value of fields in that row? (eg red if variance to budget is worse than
> -10%, green if variance to budget > +5%  etc...
>
>
>
>
> howzat wrote:
> >
> > Has anybody got any further thoughts on this?
> >
> >
> > howzat wrote:
> >>
> >> wicket: 1.2.6
> >> wicket-extensions: 1.2.6
> >>
> >> A couple of questions re TreeTable
> >>
> >> Is it possible to configure a TreeTable so its nodes are not links?
> >> So far, I have only found/tried
> >>     tree.setLinkType(null)
> >> without achieving the desired effect.
> >>
> >> Is it possible to have rows with different background colours based on
> >> the value of fields in that row? (eg red if variance to budget is worse
> >> than -10%, green if variance to budget > +5%  etc...
> >>
> >> PS Now that I've spent a few more hours looking at wicket, I must say
> >> that it is not always easy to work out the best (or, at least a good) way
> >> to do something (possibly partly down to lack of complete and/or up to
> >> date documentation), but once one works out how to do things, it's quite
> >> satisfying (in an OO and "clever" sort of way) and generally, very neat;
> >> the amount of reuse I have benefited from already just by using markup
> >> inheritance and panels has already covered the time I have put into
> >> learning (some of the) the basics.
> >>
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/TreeTable-with-nodes-that-are-not-links-%2B-rows-with-alternate-background-colours-tf3822476.html#a11162491
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to