Hi!

This is strange - I don't get any compilation error in the wicket module,
nor do I see any error in WebPage.java:169 or Loop.java:167:

WebPage:
public final HeaderContainer getHeaderContainer()
{
        return (HeaderContainer)get(HtmlHeaderSectionHandler.HEADER_ID);
}

Loop:
// Get item for iteration
final LoopItem item = (LoopItem)get(Integer.toString(iteration));

Do you have an up-to-date wicket trunk snapshot? What version of jdk do
you use?

Regards,
Bendis

PS: I'm using sun javac 1.5.0_08

Dne pondělí 18 prosinec 2006 14:15 Filippo Diotalevi napsal(a):
> On 12/18/06, Martin Benda <[EMAIL PROTECTED]> wrote:
> > Hi,
> > wicket-examples 2.0 (trunk) module fails to compile using maven and
> > standard javac compiler (however, eclipse compiler doesn't complain):
>
> Hello, the very same error is present in the main wicket module (in
> the trunk), so it is impossible to build it with standard Sun's
> compiler:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /trunk/wicket/src/main/java/wicket/markup/html/WebPage.java:[169,43]
> inconvertible types
> found   : wicket.Component<capture of ?>
> required: wicket.markup.html.internal.HeaderContainer
>
> /trunk/wicket/src/main/java/wicket/markup/html/list/Loop.java:[167,67]
> inconvertible types
> found   : wicket.Component<capture of ?>
> required: wicket.markup.html.list.Loop.LoopItem

Reply via email to