I have a menu Panel with Links. The links aren't rendering correctly in 1.1 b4. Here is the code:

MyPanel extends Panel
{
    ....

    public MarkupContainer add(final Component component)
    {
        // we don't want any of our links to be auto enabled because we use CSS ...
        if(component instanceof Link)
            ((Link) component).setAutoEnable(false);

        return super.add(component);
    }
}

This code renders the Links appropriately with 1.1 b3. Please help! Thanks.


Reply via email to