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

Reply via email to