it is just what the exception says:
class de.hsofttec.tapestry.components.grid.ZebraGrid overrides final method


tapestry core compoennts are being rewritten to
disallow extending (quote: for client code to be less dependant, and
framework easier to maintain)..

for zebra effect.. may I suggest :
http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefixCycle

<t:grid ... rowClass="cycle:h-even,h-odd">...



Davor Hrg

On Fri, Mar 21, 2008 at 12:52 PM, Sven Homburg <[EMAIL PROTECTED]> wrote:
> hi there,
>
>  i realized the zebra effect before release 5.0.11
>  with a ZebraGrid class extends from Grid component.
>
>  public class ZebraGrid extends Grid
>  {
>     private boolean _even = true;
>
>     /**
>      * return the row class to enable the zebra look.
>      *
>      * @return the row class
>      */
>     String getRowClass()
>     {
>         String cssStyle = "h-even";
>
>         if (_even)
>         {
>             _even = false;
>             cssStyle = "h-odd";
>         }
>         else
>             _even = true;
>
>         return cssStyle;
>     }
>  }
>
>  but since release .5.0.11 (@Property) my compoment throw an exception like
>  this
>  "class de.hsofttec.tapestry.components.grid.ZebraGrid overrides final method
>   . "
>
>  any idea ?
>
>  --
>  with regards
>  Sven Homburg
>  http://tapestry5-components.googlecode.com
>

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

Reply via email to