wicket-examples compilation failure

2006-12-18 Thread Martin Benda
Hi, wicket-examples 2.0 (trunk) module fails to compile using maven and standard javac compiler (however, eclipse compiler doesn't complain): [INFO] [ERROR] BUILD FAILURE [INFO]

Re: wicket-examples compilation failure

2006-12-18 Thread Johan Compagner
thx fix it. strange that compilers are that different. should be a setting then somewhere in eclipse. johan 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

Re: wicket-examples compilation failure

2006-12-18 Thread Erik van Oosten
Yes, the Eclipse and Sun compiler differ quite annoyingly in how they treat casts that have a generic component. Unfortunately this is not a setting. There are more differences. For example JRockit behaves weird around warnings for deprecated methods. Regards, Erik. Johan Compagner

Re: Java EE 5 support for wicket pages

2006-12-18 Thread Filippo Diotalevi
On 12/18/06, Maurice Marrink [EMAIL PROTECTED] wrote: Hey nice work, Just the other day i had put something together myself, and now i find more people have the need for ejb. I just wonder how is it that your ejb's are available in the initialcontext when your web.xml has the wrong version. I

Re: Java EE 5 support for wicket pages

2006-12-18 Thread Maurice Marrink
My wicet application also houses a webservice which previously used the entitymanager to get things done. its web.xml required the persistence-context-ref. however after building the wicket app (not sure if that had anything to do with it) it mysteriously stopped working. so now the webservice

AW: wicket-examples compilation failure

2006-12-18 Thread Stefan Lindner
Maybe you should use the newest compiler form sun (1.0.0_10) They fixed a problem that sounds like yours. I just compiled the wicket core with java 81.5.0_10 with out errors. Stefan Lindner Von: Filippo Diotalevi [mailto:[EMAIL PROTECTED] Gesendet: Mo

AW: wicket-examples compilation failure

2006-12-18 Thread Stefan Lindner
Agh! Two typos! I mean Java 1.5.0_10. Von: Stefan Lindner [mailto:[EMAIL PROTECTED] Gesendet: Mo 18.12.2006 14:39 An: wicket-dev@incubator.apache.org; wicket-dev@incubator.apache.org Betreff: AW: wicket-examples compilation failure Maybe you should use the

Re: wicket-examples compilation failure

2006-12-18 Thread Martin Benda
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

Re: wicket-examples compilation failure

2006-12-18 Thread Filippo Diotalevi
On 12/18/06, Stefan Lindner [EMAIL PROTECTED] wrote: Agh! Two typos! I mean Java 1.5.0_10. Yes... I had 1.5.0_06, and it didn't work; now I'm using the latest release (1.5.0_10-b3) and it's building correctly. Thanks everybody -- filippo

Dinamically change header title

2006-12-18 Thread Paolo Di Tommaso
How to change an page header title? Is it possible to make something like this: wicket:head title wicket:id=title my dinamic title /title /wicket:head But how to map then in code? Or does exist another API method? Thank you, Paolo

Re: Dinamically change header title

2006-12-18 Thread Igor Vaynberg
add(new Label(title, hello)); -igor On 12/18/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: How to change an page header title? Is it possible to make something like this: wicket:head title wicket:id=title my dinamic title /title /wicket:head But how to map then in code? Or does exist

Re: Dinamically change header title

2006-12-18 Thread Erik van Oosten
Hi Paolo, Just add(new Label(title, new title value)); Regards, Erik. Paolo Di Tommaso schreef: How to change an page header title? Is it possible to make something like this: wicket:head title wicket:id=title my dinamic title /title /wicket:head But how to map then in code? Or does

Re: Dinamically change header title

2006-12-18 Thread Nick Heudecker
Also, this message should be sent to user list instead of the developer list. Thanks. On 12/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote: add(new Label(title, hello)); -igor On 12/18/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: How to change an page header title? Is it possible to