how to build lastest 1.3.x jar

2009-03-07 Thread NHSoft.YHW
I can not found where to get lastest 1.3.x jar file, so I build from source, but there always has error. check out lastest code from http://svn.apache.org/repos/asf/wicket/branches/wicket-1.3.x;, then build with mvn installl, but build failure because some test case run error. so I build with

Re: how to build lastest 1.3.x jar

2009-03-07 Thread Dave Schoorl
On the wicket site they mention a SNAPSHOT repository at repositories repository idorg.wicketstuff/id nameWicket Stuff Repository/name urlhttp://wicketstuff.org/maven/repository/url /repository /repositories When you look with your webbrowser, you can see that at this

Re: openstreetmap in openlayers

2009-03-07 Thread morbo
I have to correct myself a little bit. The setCenter method does work! I had a problem with the coordinates, which were not in the right format. So, sorry for that. morbo wrote: Hi Nino, yes, I would love to contribute to this project. But I'm warning you, I am not a very experienced

bug? RequestUtils.toAbsolutePath using AJAX is not constructing a valid path

2009-03-07 Thread Antoine van Wel
Hey hey, trying to construct a URL like this: RequestUtils.toAbsolutePath(urlFor(MyPage.class, null).toString()); this works fine in general, but when executed using AJAX calls, it produces http:/mypagemountpath instead of the expected http://my.host.name/mypagemountpath Am I missing

Re: Uppercasing inputs

2009-03-07 Thread taha siddiqi
Sorry for a late response!! In this part of the world interest works 5-6 hours a day if you are fortunate and yesterday i was not... Man, It is my pleasure to be part of a project which made me most comfortable with j2ee ( I have worked from perl, php, python, asp to .NET, struts, spring MVC ).

tinymce question: how to switch default language?

2009-03-07 Thread rolandpeng
There are many languages supported by tinymce. The default lanuage of my tinymce is zh. -- TinyMCESettings settings = new TinyMCESettings( TinyMCESettings.Theme.advanced); Language language = settings.getLanguage(); System.out.println(language.name()); == result: zh -- I can't find setLanguage()

Re: Wizard and onSubmit of nested form

2009-03-07 Thread rmattler
Show us your code and I'll see if I can help. Dave Schoorl wrote: Hi Robert, thanks for your quick reply. I am not sure if I understand what you mean. How is form validation helping with the trigger of onSubmit() on the correct form? But I gave it a try and the problem remains: the

Re: Modal window not appearing in IE

2009-03-07 Thread NHSoft.YHW
We had a similar problem about modelWindow, Firefox/Opera/Google browser all worked fine, but IE did not show modelwindow, by wicket debug, I found that the server has send ajax modelwindow CDATA, the detail debug information is in attachment.

Re: tinymce question: how to switch default language?

2009-03-07 Thread Pointbreak
The default language is based on the locale of the session. Which is normally what you want (because it is influenced by the browser preferences, and the same as what wicket is using). You can override it by passing a language as second argument in the TinyMCESettings constructor. On Sat, 07 Mar

Re: Wizard and onSubmit of nested form

2009-03-07 Thread Dave Schoorl
I created the following Jira issue for this: https://issues.apache.org/jira/browse/WICKET-2150 Dave Schoorl wrote: Thanks. But I've dug a little deeper and it turns out that the panel switching is done in the onSubmit() of the Wizard's NextButton. The Form's onSubmit() is executed after

Re: How (not) to: IModel and Collections (and generics)

2009-03-07 Thread Johannes Schneider
On Wed, 2009-03-04 at 09:14 -0800, Igor Vaynberg wrote: components that deal with collections in wicket always reuse the same instance of collection is one was provided where it makes sense. Yes, and therefore a setter is not necessary. setobject is still called on the model, but is called

Re: How (not) to: IModel and Collections (and generics)

2009-03-07 Thread Igor Vaynberg
On Sat, Mar 7, 2009 at 10:15 AM, Johannes Schneider maili...@cedarsoft.com wrote: setobject is still called on the model, but is called with the same instance of collection. this is necessary so that if you have a model that translates a collection of one type to a collection of another

Re: Creating a brandable or white label type of application

2009-03-07 Thread Igor Vaynberg
if you are just starting to think about building this you might want to consider using brix, or another cms that works well with wicket. in case of brix: each client would get their own jcr workspaces that you can fill in with a template. they are then free to edit their own workspace creating

Re: How (not) to: IModel and Collections (and generics)

2009-03-07 Thread Johannes Schneider
i think misuse is a pretty bold word considering you are talking to people who designed and built imodel, dont you think? :) Well, I think you are right. Sorry for that. I just mean, that it has a bad smell here... if we do what you suggest then we would end up with: interface imodel {

warn user a field has changed

2009-03-07 Thread Kurt Heston
I haven't been able to make this work since my upgrade from 1.2.x to 1.3.5: http://javathoughts.capesugarbird.com/2007/11/warning-on-page-exit-for-wicket-12x.html It was pretty slick. I was able to warn the user that she/he had changed a field without saving when trying to navigate away. Is

Re: How (not) to: IModel and Collections (and generics)

2009-03-07 Thread Igor Vaynberg
you are right, the components that just read a collection do just that, read it. they simply ignore the setter method in imodel. no big deal, just because you are given an interface doesnt mean you have to use all the methods in it. thus abstractreadonlymodel. however, a lot of components

Re: warn user a field has changed

2009-03-07 Thread Igor Vaynberg
do you know why it doesnt work? -igor On Sat, Mar 7, 2009 at 12:26 PM, Kurt Heston khes...@hestonsystems.com wrote: I haven't been able to make this work since my upgrade from 1.2.x to 1.3.5: http://javathoughts.capesugarbird.com/2007/11/warning-on-page-exit-for-wicket-12x.html It was

Re: warn user a field has changed

2009-03-07 Thread Kurt Heston
Not yet. Still trying to figure it out. Just wanted to make sure I wasn't overlooking something in the manual that works just as as well or better. Igor Vaynberg wrote: do you know why it doesnt work? -igor On Sat, Mar 7, 2009 at 12:26 PM, Kurt Heston khes...@hestonsystems.com wrote:

Re: Wicket - Session Management

2009-03-07 Thread Jeremy Thomerson
Basically, the normal Wicket facility for transferring state client side is through PageParameters. Of course, if you're building links to another app, you'll basically need to build these links your self since App1 doesn't know how to build links for App2 since App2 pages aren't mounted in App1.

Re: Have a feature, want to contribute

2009-03-07 Thread Jeremy Thomerson
Marat, It doesn't look like you received any response. I'd be happy to look at it. Could you file it as a patch on JIRA? Thanks, Jeremy Thomerson http://www.wickettraining.com On Thu, Dec 18, 2008 at 1:52 PM, Marat Radchenko slonopotamusor...@gmail.com wrote: Wicket pages/components

model for entity with checkgroup (user roles relation)

2009-03-07 Thread Francisco Diaz Trepat - gmail
Hi all, it probably that this has been answered in the list, but I can't figure out how to construct the query for gmail (I've been on the list for some time now). I have the following feature I don't know how to resolve. I am using wicket 1.4rc2 with activeobjects (orm). I have User and Role

Re: tinymce question: how to switch default language?

2009-03-07 Thread rolandpeng
Got it.I missed the part of constructor. The way to set my lanuage works. -- TinyMCESettings settings=new TinyMCESettings(TinyMCESettings.Theme.advanced,Language.tw); -- thank you! pointbreak+wicketstuff wrote: The default language is based on the locale of the session. Which is normally

Passing a PageParameters to a RedirectRequestTarget

2009-03-07 Thread Warren Bell
Is there a way of passing a PageParameters to a RedirectRequestTarget without pulling apart PageParameters and adding them to the url? Thanks, Warren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Passing a PageParameters to a RedirectRequestTarget

2009-03-07 Thread Igor Vaynberg
redirect request target takes a url, so just build one that includes pageparameters using urlfor(page.class, pageparams) -igor On Sat, Mar 7, 2009 at 6:02 PM, Warren Bell warrenbe...@gmail.com wrote: Is there a way of passing a PageParameters to a RedirectRequestTarget without pulling apart

Re: warn user a field has changed

2009-03-07 Thread Kurt Heston
The problem appears to be related to the code I used to replace the old onAttach code. It was: protected void onAttach() { super.onAttach(); if (firstTimeThru) { final WebMarkupContainer c = this.getBodyContainer().getBodyContainer();