Re: How to ... nicely wire strings through spring.

2008-06-30 Thread Igor Vaynberg
create an applicationpropreties bean and set its values via the ${} syntax. then inject that into wicket components. -igor On Sun, Jun 29, 2008 at 11:01 PM, Ned Collyer [EMAIL PROTECTED] wrote: Hi, I'm using dependency injection via @SpringBean, and I need access to configurable String

Re: How to ... nicely wire strings through spring.

2008-06-30 Thread Ned Collyer
Just implemented that inbetween refreshes of here. Thanks Igor. igor.vaynberg wrote: create an applicationpropreties bean and set its values via the ${} syntax. then inject that into wicket components. -igor -- View this message in context:

Re: generics

2008-06-30 Thread Martijn Dashorst
I'm guessing somewhere this week or so. We need to flush out the unit test failures and get some preliminary feedback. Also we need to have time available to actually build the release. My time is limited because we're in the final stages before publishing and I have to read our book twice or so.

Re: generics

2008-06-30 Thread Igor Vaynberg
unit tests are fixed... -igor On Sun, Jun 29, 2008 at 11:16 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: I'm guessing somewhere this week or so. We need to flush out the unit test failures and get some preliminary feedback. Also we need to have time available to actually build the release.

Re: Gmap2 problem with Firefox 3.0

2008-06-30 Thread Murat Yücel
I am not able to see the examples in IE 7 either. Could you confirm this? There also seems to be a problem with using png images as a marker. Found this fix which seems to solve the problem. http://homepage.ntlworld.com/bobosola/pnghowto.htm /Murat 2008/6/27 Sven Meier [EMAIL PROTECTED]: Hi,

New to Wicket: Confused with versions, wicket-extensions etc.

2008-06-30 Thread jdj
Hello, I'm new to Wicket. I'm using Wicket 1.3.3. I'm looking for a date picker component for Wicket, and I noticed that there is one in the http://wicket.sourceforge.net/wicket-extensions/ wicket-extensions package. However, the information on that website seems to be out of date, it's about

Re: gmap2 now only works for wicket 1.4 ?

2008-06-30 Thread smallufo
eh Sorry... I cannot find gmap2's wicket-1.3.x branch. Can you tell me where can I check it out ? Thanks a lot. 2008/6/30 Sven Meier [EMAIL PROTECTED]: gmap2 trunk depends on wicket trunk, i.e. 1.4. We have to adjust it to the latest generics changes. Please use the wicket-1.3.x branch,

Converters and Validators

2008-06-30 Thread Ayodeji Aladejebi
Hi, I want to know if this is the right thing to do if a value required conversion Textfield dateField = new TextField(date, Date.class); dateField.add(new DateBeforeAnotherDateValidator()); class DateBeforeAnotherDateValidator{ protected void onValidate(IValidatable validatable) {

Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread Charlie Dobbie
There's a Datepicker component in the wicket-datetime package. If using Maven: dependency groupIdorg.apache.wicket/groupId artifactIdwicket-datetime/artifactId version1.3.4/version /dependency 2008/6/30 jdj [EMAIL PROTECTED]: Hello, I'm new to Wicket. I'm using

Re: generics

2008-06-30 Thread Johan Compagner
i looked through the code and it is fine by me. Lets test this then in a Build and see what people think of this. On Mon, Jun 30, 2008 at 8:54 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: unit tests are fixed... -igor On Sun, Jun 29, 2008 at 11:16 PM, Martijn Dashorst [EMAIL PROTECTED]

Re: Wicket Presentation

2008-06-30 Thread Nino Saturnino Martinez Vazquez Wael
It's really great to see the different angles we pitch these presentations with.. After the summer I'll hold some presentations too, i'll drop the slides here as well or should we do it on the wiki? egolan74 wrote: http://www.nabble.com/file/p18191471/Wicket_Introduction.ppt

Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread Nino Saturnino Martinez Vazquez Wael
did you see: IMPORTANT NOTICE Wicket 1.2 is no longer supported. For supported versions go to Apache Wicket http://wicket.apache.org. Please look at the apache web site...:) Sourceforge is sort of deprecated and only contains information on wicket 1.2 jdj wrote: Hello, I'm new to

Re: Wicket Presentation

2008-06-30 Thread Martijn Dashorst
Put them up on slideshare please. Martijn On Mon, Jun 30, 2008 at 12:42 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: It's really great to see the different angles we pitch these presentations with.. After the summer I'll hold some presentations too, i'll drop the slides

Re: Junit Wicket tests in Wasp/Swarm environment

2008-06-30 Thread Andrea Jahn
Hi, I was using Wicket 1.3.3 and tester.destroy() worked fine. But I had to change to Wicket 1.3.4 (because of WICKET-1558) and now I get the following Exception when tester.destroy() is called: java.lang.NullPointerException at

Adding custom resource properties files

2008-06-30 Thread Lorenzo Bolzani
Hi, we have two pages sharing the same set of user messages so we would like to be able to share the same file. The two pages are different and cannot subclass a same parent. We cannot extract a common component because we have two different views on the same data. Maybe we could define an empty

Re: Exception for MixedParamUrlCodingStrategy

2008-06-30 Thread Erik van Oosten
I've no idea how this could work, or why it doesn't now. Could you not just include different panels on one page, instead of forwarding to different pages? Regards, Erik. Mathias P.W Nilsson schreef: https://localhost/hairless-web/brand/71/ this is the generated URL. The

Re: Wicket Presentation

2008-06-30 Thread Martijn Dashorst
On Mon, Jun 30, 2008 at 12:57 PM, Erik van Oosten [EMAIL PROTECTED] wrote: On slideshare, don't forget to allow download of the original file (powerpoint or otherwise). Mwah... Only if you want to. There is no obligation to do so. Martijn -- Become a Wicket expert, learn from the best:

Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread jdj
Yes, I did see that. And I went to the Apache Wicket website, found something about Wicket extensions, and discovered that the date picker component is no longer included. And so I asked my question: Is there a date picker component available in the current version of Wicket or Wicket

Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread jdj
Thanks - where can I find more information about that datetime component? Charlie Dobbie wrote: There's a Datepicker component in the wicket-datetime package. If using Maven: dependency groupIdorg.apache.wicket/groupId artifactIdwicket-datetime/artifactId

Re: Junit Wicket tests in Wasp/Swarm environment

2008-06-30 Thread Maurice Marrink
Apparently the junit tests in wicket 1.3.4 trigger a call to destroy twice. Since i am setting several fields to null this causes the second destroy to fail. As a quick fix i have put some nullchecks in the code. A new snapshot should be available shortly (see

Re: Wikcet Freechart and SVG

2008-06-30 Thread Federico Fanton
On Sun, 29 Jun 2008 21:03:29 -0300 Manuel Corrales [EMAIL PROTECTED] wrote: Hey, great!! But still having issues, sorry to bother you again. Now i added the svg to the page, but the browser do not display it. The image is there, because when i right click the broken image that is displayed by

Re: New to Wicket: Confused with versions, wicket-extensions etc.

2008-06-30 Thread Martijn Dashorst
On Mon, Jun 30, 2008 at 2:57 PM, Maurice Marrink [EMAIL PROTECTED] wrote: Is there a date picker component available in the current version of Wicket or Wicket Extenstions? If so, where can I find it? If not, then where can I find a date picker for Wicket? Extensions still has a datepicker

Re: New to Wicket: Confused with versions, wicket-extensions etc.

2008-06-30 Thread Maurice Marrink
On Mon, Jun 30, 2008 at 3:02 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: On Mon, Jun 30, 2008 at 2:57 PM, Maurice Marrink [EMAIL PROTECTED] wrote: Is there a date picker component available in the current version of Wicket or Wicket Extenstions? If so, where can I find it? If not, then where

Re: New to Wicket: Confused with versions, wicket-extensions, looking for date picker

2008-06-30 Thread Frank Bille
This question is asked twice. See[0] for the other thread: [0]: http://www.nabble.com/New-to-Wicket%3A-Confused-with-versions%2C-wicket-extensions-etc.-tp18190491p18190491.html On Mon, Jun 30, 2008 at 10:00 AM, jdj [EMAIL PROTECTED] wrote: Hello, I'm new to Wicket. I'm using Wicket 1.3.3.

Re: Wikcet Freechart and SVG

2008-06-30 Thread Manuel Corrales
Yes, i know, but i have tried with firefox and opera. Also to implement the object solution i have to write the image to the disc first and then dynamically set the data attribute on the object tag. Nino: what do you mean by where is the page? If i can see a non SVG image with exactly the same

Swarm/Acegi and logging out

2008-06-30 Thread David R Robison
I am using Swarm with Acegi integration. Authentication and authorization work fine, but I am having trouble logging out. I use a link to a Logout class that implements the following code to log the user out. public class LoggedOutPage extends SecureWebPage { private static final long

Re: Swarm/Acegi and logging out

2008-06-30 Thread Maurice Marrink
You have to realize that both swarm and acegi keep a copy of the logged in user. So you have to logoff at 2 places. You could use a logoff page but imo it would be better to do the logging off in the link itself. Something like: Link logoff = new Link(logoff) {

Re: [PROPOSAL] Use path in URL when target is instance of BookmarkablePageRequestTarget

2008-06-30 Thread Peter Ertl
+1 -- sounds reasonable, doesn't break anything (hopefully :-), easier path-based security on apache front end proxy, Good work, David :-) Am 30.06.2008 um 07:33 schrieb David Leangen: Wouldn't this be useless except from the fact of been pretty ? Yes, it would indeed be useless

Re: [nbusers] WebApp Src/Html/css Updating == Redeploying / Refreshing Way

2008-06-30 Thread Francisco Diaz Trepat - gmail
Thanks Elco we are looking at the article right now. f(t) PS: We have your early edition, it was great, it is great. Thank you. On Sun, Jun 29, 2008 at 3:50 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: I don't think it's Wicket's fault either, but someone could scan Wicket's code for

Re: Swarm/Acegi and logging out

2008-06-30 Thread David R Robison
Thanks for the quick reply. In the code, do I need to keep around my original LoginContext and return it with getLogoffContext() call or does it not matter what Login Context I send to logoff? If so, is the current LogonContext saved somewhere in wicket already? Thanks, David Maurice Marrink

Re: Swarm/Acegi and logging out

2008-06-30 Thread Maurice Marrink
You do not need to return the same instance but you do need to return an instance of the same class. Swarm does not keep your original logincontext anywhere, rather it keeps some sort of hash around. logging off with a new instance of the same class will produce the same hash. For that purpose

Re: Wikcet Freechart and SVG

2008-06-30 Thread Nino Saturnino Martinez Vazquez Wael
Manuel Corrales wrote: Yes, i know, but i have tried with firefox and opera. Also to implement the object solution i have to write the image to the disc first and then dynamically set the data attribute on the object tag. Nino: what do you mean by where is the page? If i can see a non SVG

Re: Virtual Desktop (Mocha UI, or?)

2008-06-30 Thread Nino Saturnino Martinez Vazquez Wael
I looked into it sometime ago, but there were not a community interest. I think it's very possible:) And id be happy to answer questions helping implement it. Jan Mikkelsen wrote: Hi I am interested in building an application based on Wicket and Mocha UI (which depends on Mootools). Would

Re: Adding custom resource properties files

2008-06-30 Thread Scott Swank
The ComponentStringResourceLoader uses an Iterator named something like (no code in front of me) ResourceNameIterator. This iterator is used to find resources and markup. You can't just set it on the Application.getResourceSettings (though I should create a jira patch for that...), so you have

Re: redirect page in the constructor

2008-06-30 Thread Igor Vaynberg
does it work? -igor On Mon, Jun 30, 2008 at 2:28 AM, Eyal Golan [EMAIL PROTECTED] wrote: OK. That is what I did. So, if a instantiate a page and then put it as a parameter in the exception, I am fine? ... TicketTreeQueuePage ticketTreeQueuePage = new TicketTreeQueuePage(pageParameters);

Re: Validation .properties File Location

2008-06-30 Thread Igor Vaynberg
validators do not yet support their own bundles. i believe this is scheduled for 1.5 -igor On Mon, Jun 30, 2008 at 6:30 AM, Hoover, William [EMAIL PROTECTED] wrote: Does custom validation .properties default to the class package of the validator (similar to how .java and .properties work with

Re: Problem test RadioChoice

2008-06-30 Thread Fabien D.
Hi, Have you try : YourRadioChoice.add(new AjaxFormComponentUpdatingBehavior(onchange) { private static final long serialVersionUID = 1L; protected void onUpdate(AjaxRequestTarget target) { .. target.addComponent(Component);

Re: Adding custom resource properties files

2008-06-30 Thread Igor Vaynberg
why not put these common messages into yourapplication.properties ? -igor On Mon, Jun 30, 2008 at 3:49 AM, Lorenzo Bolzani [EMAIL PROTECTED] wrote: Hi, we have two pages sharing the same set of user messages so we would like to be able to share the same file. The two pages are different and

Re: Problem test RadioChoice

2008-06-30 Thread Igor Vaynberg
i dont think the tester supports onselectionchanged callbacks. file an RFE -igor On Mon, Jun 30, 2008 at 6:43 AM, Murat Yücel [EMAIL PROTECTED] wrote: Hi All I have some problem testing a RadioChoice which is overrides the methods: wantOnSelectionChangedNotifications and onSelectionChanged.

modal CloseButtonCallback returning old value

2008-06-30 Thread taygolf
hey guys. I have a problem that is stumping me. I have 2 textfields one called type and one called subtype. THey both have modal windows that are opened to show the list of values that can be selected for them. Of course I have it setup where the user can not select a subtype before they select a

Re: Wikcet Freechart and SVG

2008-06-30 Thread Manuel Corrales
Here is the page code: (this is all prototype code, just messing around with graphics on wicket) JFreeChart chart = ChartFactory.createPieChart(Resumen de gastos, dataSet, true, true, false); PiePlot plot = (PiePlot) chart.getPlot();

Re: Wikcet Freechart and SVG

2008-06-30 Thread Nino Saturnino Martinez Vazquez Wael
hmm whats JFreeChart image? I usually do this, in my domain classes : JFreeChart chart = ChartFactory .createTimeSeriesChart( Messages.getString(ReportWeightChart.5, locale), Messages.getString(ReportWeightChart.6, locale),

Wicket Iolite, maven guru wanted

2008-06-30 Thread Nino Saturnino Martinez Vazquez Wael
Hi Could some maven guru please take a look at wicket iolite..? The problem are that it is a multi module project, so in order to get it working I had to map everything as resources in the archetype.xml , this it not good because the java package mojo does not look on these files meaning

Re: redirect page in the constructor

2008-06-30 Thread Igor Vaynberg
On Mon, Jun 30, 2008 at 11:59 AM, Bruno Borges [EMAIL PROTECTED] wrote: I have an idea that sounds crazy, but imho, is better then throwing an exception (stack trace is a little bit expensive to the VM). right, because we dont care about performance :) /** * Immediately aborts any further

Re: redirect page in the constructor

2008-06-30 Thread Bruno Borges
I know that Igor. In fact, I wasn't thinking really about performance here. I suggested the annotation because sounds more objective than throwing an exception. Exceptions are for errors or invalidations. Redirection is a flow control. No error in that. But, anyway... it was an idea... Ideas are

Re: redirect page in the constructor

2008-06-30 Thread Eyal Golan
Igor, Yes it does work On Mon, Jun 30, 2008 at 6:23 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: does it work? -igor On Mon, Jun 30, 2008 at 2:28 AM, Eyal Golan [EMAIL PROTECTED] wrote: OK. That is what I did. So, if a instantiate a page and then put it as a parameter in the exception,

Re: [PROPOSAL] Use path in URL when target is instance of BookmarkablePageRequestTarget

2008-06-30 Thread Eelco Hillenius
If you think this is a reasonable proposal, I will create an issue and submit my patch. A good patch attached to an issue is always the best way to convince others :-) Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Slightly-OT: lower tier validation

2008-06-30 Thread Ryan
Eelco, This is perfect and a great idea. Thanks for sharing. If this isn't posted somewhere on the wiki I think it would be a great entry. Thanks again!, Ryan On Mon, Jun 30, 2008 at 11:08:59AM -0700, Eelco Hillenius exclaimed: Does anyone have any pointers, suggestions, or opinions? Perhaps

Re: Wikcet Freechart and SVG

2008-06-30 Thread Manuel Corrales
I am going to try your code as soon as i can, but i still don't understand where are you generating the svg image on this code. On Mon, Jun 30, 2008 at 1:59 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: hmm whats JFreeChart image? I usually do this, in my domain classes

Re: redirect page in the constructor

2008-06-30 Thread Igor Vaynberg
exceptions are for exceptional circumstances. i think redirecting to a different page from a constructor of another page is pretty exceptional...otherwise you wouldnt be in the constructor of the wrong page :) -igor On Mon, Jun 30, 2008 at 12:14 PM, Bruno Borges [EMAIL PROTECTED] wrote: I know

Re: A question about cookie value loading

2008-06-30 Thread nate roe
I'm now using Wicket 1.3.3 but I'm still seeing this behavior, where when my ListView is visited (from Form.loadPersistentFormComponentValues(),) my listView's children is null when it is visited in FormComponent.visitFormComponentsPostOrderHelper(). It is difficult to understand why the ListView

Wizard and CheckGroup

2008-06-30 Thread David Leangen
Hello. I'm using a CheckGroup in a Wizard. Let's say the CheckGroup is in step 2 of my Wizard: [1] - [2] - [3] Going through the Wizard, during step 2, I check all the checkboxes, then I go to step 3. If I back up to step 2, everything remains checked. However, if I back up again to step

Re: Converters and Validators

2008-06-30 Thread Timo Rantalaiho
On Mon, 30 Jun 2008, Ayodeji Aladejebi wrote: Are converters invoked before validators. can I do this raw input conversion - converted input, if conversion succeeds validation - modelObject update, if validation succeeds Best wishes, Timo -- Timo Rantalaiho Reaktor

Re: Wikcet Freechart and SVG

2008-06-30 Thread Nino Saturnino Martinez Vazquez Wael
Ahh okay, then you need to create a panel or something(maybe do it like image itself just copy the source and make it attachable to embed) that contains the embed... Manuel Corrales wrote: Sorry for my stupidity :( Ive tried your code, and as said before, the svg is being generated ok, but