cannot add component to Border

2011-01-25 Thread Christian Grobmeier
Hi, I could create a page which is rendered with in a border. But when I am following the Navomatic-example I failed when I added a component to the border itself. In my NavBorder.html:  wicket:border        wicket:link          a href=Page1.htmlPage1/abr/          a href=Page2.htmlPage2/abr/    

Re: cannot add component to Border

2011-01-25 Thread Christian Grobmeier
thanks it worked! On Tue, Jan 25, 2011 at 2:46 PM, Martin Grigorov mgrigo...@apache.org wrote: I guess this is Wicket 1.5 Check the migration page. There is an entry for Border.addToBody() On Tue, Jan 25, 2011 at 2:39 PM, Christian Grobmeier grobme...@gmail.comwrote: Hi, I could create

Best practice on i18n

2011-01-29 Thread Christian Grobmeier
Hello, I have read and understand about i18n but I am curious about best practices. Is it really a good option to have several language files per component? F.e. my form component needs i18n, so does my page which holds the form alone. Wicket does of course not search in the i18n files for the

Re: 1.5.x javadoc

2011-01-29 Thread Christian Grobmeier
I uploaded a 1.5 javadoc for my own use here: http://projects.grobmeier.de/javadoc/wicket-core/1.5-snapshot/ Its from a 2 day old trunk version - guess this will not change much until 1.5 is released On Fri, Jan 28, 2011 at 5:43 PM, Zhubin Salehi zhubin.sal...@route1.com wrote: No 1.5.x!

User configuration files

2011-01-29 Thread Christian Grobmeier
Hello I tried to figure out how one can load own configuration files into wicket, for example with configuration on smtp host or something like that. It seems there is no standard way- is this correct? My solution is below, but it feels rather overcomplicated to me. I have overridden the init

Re: User configuration files

2011-01-29 Thread Christian Grobmeier
, 2011 at 11:17 AM, Christian Grobmeier grobme...@gmail.com wrote: Hello I tried to figure out how one can load own configuration files into wicket, for example with configuration on smtp host or something like that. It seems there is no standard way- is this correct? My solution is below

Re: User configuration files

2011-01-29 Thread Christian Grobmeier
On Sat, Jan 29, 2011 at 6:27 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: that actually looks pretty simple to me... On first glance yes. But bringing the application parameters into another component or api will become complicated. WIth this code I can only extend my Application with a new

Re: User configuration files

2011-01-30 Thread Christian Grobmeier
. It feels a bit weird to use i18n for my configuration :-) But good to know :-) Cheers + thanks for the conversation, I have learned much of it. Christian -igor On Sat, Jan 29, 2011 at 11:02 AM, Christian Grobmeier grobme...@gmail.com wrote: On Sat, Jan 29, 2011 at 6:27 PM, Igor Vaynberg

Strange behaviour of BookmarkablePageLink

2011-02-14 Thread Christian Grobmeier
Hello I have two forms in my app. One is behaving correct, one not. So I assume I did something bad, but I cannot find my failure - maybe one of you guys had a similar problem in the past. I am using 1.5 trunk version. In my apps init method i mounted some pages/packages: mountPackage(app,

Re: Strange behaviour of BookmarkablePageLink

2011-02-14 Thread Christian Grobmeier
to the same mount point is not possible. Thanks for your pointer! One of these days :-) Cheers Christian Regards,  Robson Paniago 2011/2/14 Christian Grobmeier grobme...@gmail.com Hello I have two forms in my app. One is behaving correct, one not. So I assume I did something bad, but I

Re: Strange behaviour of BookmarkablePageLink

2011-02-14 Thread Christian Grobmeier
, Christian . On Mon, Feb 14, 2011 at 4:02 PM, Christian Grobmeier grobme...@gmail.com wrote: Hi Robson, I noticed that there are two pages mounted in the same URL: both HomePage and TestPage are mounted on /app. I'm not sure if this is the cause of the problem, but you can try changing the mount

Re: Strange behaviour of BookmarkablePageLink

2011-02-14 Thread Christian Grobmeier
) and setResponse(class). I switched to the instance version: this.setResponsePage(new TestPage()); and it worked. I will now debug into the method to see why this difference was so huge. Cheers Christian On Mon, Feb 14, 2011 at 6:02 PM, Christian Grobmeier grobme...@gmail.com wrote: Hello again, it still

Dropdown + Model

2011-02-17 Thread Christian Grobmeier
Hi folks, coming from the struts world, i need to get used to Wicket models. I am still unsure if I use them correct, so i would like to ask about the correctness of my code and hopefully learn more about models. super(id, new CompoundPropertyModelValueMap(new ValueMap())); ListSelectOption

Re: 1.5RC1 url mounting/encoding

2011-02-18 Thread Christian Grobmeier
Hi, Using Wicket 1.5RC1, how do I mount a Page to root that is other than the home page? E.g.: www.myapp.com -IndexPage.class can you try this? mountPackage(/, IndexPage.class); Not sure about - try mountPage if you don't want to mount the package Christian www.myapp.com/${username}

Re: preferred php framework by wicketeers...

2011-03-08 Thread Christian Grobmeier
Sadly reality is that PHP is more widely adopted. Apache comes almost by default with PHP. So I was wondering, does anything come close to Wicket, to ease the pain.. Or to have a stronger case for Wicket in discussions. Do you know Zeta Components which entered the apache incubator for a

Could not resolve class: my.domain.favicon.ico

2011-04-13 Thread Christian Grobmeier
Hello all, I am a bit curious about the exceptions below... if anybody has an idea whats going on, please let me know. Page shows up, just in the logfile is the exception. CSS shows up, favicon doesn't. I am using Wicket from trunk Thanks, Christian Similar stacktrace for:

Re: Could not resolve class: my.domain.favicon.ico

2011-04-13 Thread Christian Grobmeier
can you paste your MyApp#init() ? Sure: @Override public void init() { super.init(); getComponentInstantiationListeners().add( new SpringComponentInjector(this)); mountPackage(/, HomePage.class); mountPackage(/feedback, FeedbackPage.class);

Re: Could not resolve class: my.domain.favicon.ico

2011-04-13 Thread Christian Grobmeier
is gone. But then I am puzzled about mountPackage It seems I should restructure my app... is there a recommended way? On Wed, Apr 13, 2011 at 11:07 AM, Christian Grobmeier grobme...@gmail.comwrote: can you paste your MyApp#init() ? Sure:  @Override    public void init

Re: Could not resolve class: my.domain.favicon.ico

2011-04-13 Thread Christian Grobmeier
... On Wed, Apr 13, 2011 at 11:19 AM, Christian Grobmeier grobme...@gmail.comwrote: do you really need mountPackage() ? I guess you actually need #mountPage() I find mountPackage(/, HomePage.class); as the culprit if I use only mountPage it leads to the situation of some components

Re: Wicket Sessions, serialization and Cayenne

2011-04-15 Thread Christian Grobmeier
Hi, i have solved it like this: http://www.grobmeier.de/using-apache-cayenne-with-apache-wicket-05022011.html Cheers Christian On Fri, Apr 15, 2011 at 8:20 PM, YK linux_2...@yahoo.fr wrote: the datacontext was lost I think this is the root cause of your problems. A cayenne dataContext is