Re: generics

2008-06-29 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 releas

Re: generics

2008-06-29 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: How to ... nicely wire "strings" through spring.

2008-06-29 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: http://www.nabble.com/How-to-...-nic

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

2008-06-29 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 Strin

How to ... nicely wire "strings" through spring.

2008-06-29 Thread Ned Collyer
Hi, I'm using dependency injection via @SpringBean, and I need access to configurable String value in my Application class. My main context file is using a org.springframework.beans.factory.config.PropertyPlaceholderConfigurer which allows me to use ${} syntax for wiring values from a set of pro

Re: Wikcet Freechart and SVG

2008-06-29 Thread Nino Saturnino Martinez Vazquez Wael
hmm wheres the page where you create the image? please see this : http://www.wicket-library.com/wicket-examples/images/ Manuel Corrales 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,

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

2008-06-29 Thread David Leangen
> Wouldn't this be useless except from the fact of been "pretty" ? Yes, it would indeed be "useless" in that functionally, it contributes nothing. It also takes nothing away. So by definition I guess that's a refactoring. The purpose of this refactoring, just like any other for that matter, is t

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

2008-06-29 Thread Bruno Borges
Wouldn't this be useless except from the fact of been "pretty" ? Bruno Borges blog.brunoborges.com.br +55 21 76727099 "The glory of great men should always be measured by the means they have used to acquire it." - Francois de La Rochefoucauld On Mon, Jun 30, 2008 at 2:12 AM, David Leangen <[EMAI

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

2008-06-29 Thread David Leangen
Currently, when a target is an instance of IListenerInterfaceRequestTarget, the URL gets "mounted" (so to speak) on the root of where the wicket application is located. So, if the servlet context path for the wicket application is set to /home/, then all targets (whether bookmarkable or not), are

Re: New browser window on RedirectRequestTarget(url)

2008-06-29 Thread Igor Vaynberg
so give that link a target attribute eg target="_blank" -igor On Sun, Jun 29, 2008 at 8:34 PM, Karen Schaper <[EMAIL PROTECTED]> wrote: > I can't use a Link. This happens when the user clicks on a menu item from a > context menu I've created. > > It's in the onClick of IYuiMenuAjaxAction. > >

RE: New browser window on RedirectRequestTarget(url)

2008-06-29 Thread Karen Schaper
I can't use a Link. This happens when the user clicks on a menu item from a context menu I've created. It's in the onClick of IYuiMenuAjaxAction. Not sure I'm doing this right. I don't need to forward the request. I just need to open this url in it's own window. > -Original Message

Re: generics

2008-06-29 Thread James Carman
What sort of time frame are we looking at for a release with this new generics paradigm? On Sun, Jun 29, 2008 at 3:54 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On Sun, Jun 29, 2008 at 12:48 PM, Sven Meier <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I've just converted two projects to the new gene

Re: Wikcet Freechart and SVG

2008-06-29 Thread Manuel Corrales
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 the broser and press save as, i can save the svg and is good. Should my html tag

RE: wicket AutoComplete

2008-06-29 Thread Rod Good
Hi Umesh, Which version of IE are you targetting ? If it is IE6 or lower you will need to move to Wicket 1.3.4 or 1.4.x . -Original Message- From: Umesh Paliwal [mailto:[EMAIL PROTECTED] Sent: Friday, 27 June 2008 12:29 PM To: users@wicket.apache.org Subject: wicket AutoComplete HI ,

Re: Firefox 3 Back button and BaseTree

2008-06-29 Thread Matthijs Wensveen
Is there a bugzilla id we could track (spam :) )? Matej Knopp wrote: Firefox caches the wrong version of DOM with the page. Unfortunately the only workaround I know about is to force firefox reloading page on backbutton by sending the no-store header. Look at WebPage#setHeaders. -Matej On Fri,

Re: Client side validation

2008-06-29 Thread Matthijs Wensveen
Yes, of course. But the form is not posted when the client side does not validate. Of course the posted form is validated on the server too. Anyway, the nice thing is that you only have to say something like setClientSideValidation(true) and it just works. It's all very transparent, which is c

Re: redirect page in the constructor

2008-06-29 Thread Martijn Dashorst
ROFLOL On Sun, Jun 29, 2008 at 11:59 PM, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: > System.exit(0); > > Igor Vaynberg wrote: >> >> if you can find another way to abort creation of a class instance in >> java feel free to let us know. >> >> -igor >> >> On Thu, Jun 26, 2008 at 4:29 AM, Eyal Gola

Re: redirect page in the constructor

2008-06-29 Thread Matthijs Wensveen
System.exit(0); Igor Vaynberg wrote: if you can find another way to abort creation of a class instance in java feel free to let us know. -igor On Thu, Jun 26, 2008 at 4:29 AM, Eyal Golan <[EMAIL PROTECTED]> wrote: Igor, That is what we used before. Then I looked on the links above, tried t

Re: Exception for MixedParamUrlCodingStrategy

2008-06-29 Thread Mathias P.W Nilsson
I think this is my problem. I mount items to ItemListPage I get this Exception 23:29:51,694 INFO [GZIPFilter] Gzipping and sending content for https://localhost/hairless-web/items/brand/25/ItemResourceServlet 23:29:51,694 ERROR [RequestCycle] URL fragment has unmatched key/value pair: brand/25

Re: SecureTextField problem

2008-06-29 Thread Sergey Podatelev
Thanks a lot again, Maurice, this time it was just the question of syntax. In fact, is there a description of the .hive file syntax somewhere, or at least a really complex .hive file to look at? On Sun, Jun 29, 2008 at 4:38 PM, Maurice Marrink <[EMAIL PROTECTED]> wrote: > In version 1.3.0 inherit

Re: Exception for MixedParamUrlCodingStrategy

2008-06-29 Thread Mathias P.W Nilsson
Sorry to fast. This changes the URL again -- View this message in context: http://www.nabble.com/Exception-for-MixedParamUrlCodingStrategy-tp18184025p18185210.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: Exception for MixedParamUrlCodingStrategy

2008-06-29 Thread Mathias P.W Nilsson
I read in some Post from Igor that the best way of doing this should be throw new RestartResponseAtInterceptPageException(new ItemListPage( filters ) ); This seams to solve the problem -- View this message in context: http://www.nabble.com/Exception-for-MixedParamUrlCodingStrategy-tp18184025p1

Re: Exception for MixedParamUrlCodingStrategy

2008-06-29 Thread Mathias P.W Nilsson
https://localhost/hairless-web/brand/71/ this is the generated URL. The BrandInterceptor send request to ItemList. Maybe this isn't the way to do this? public BrandInterceptor( PageParameters parameters ){ filters = new LinkedList(); Lon

Re: generics

2008-06-29 Thread Igor Vaynberg
On Sun, Jun 29, 2008 at 12:48 PM, Sven Meier <[EMAIL PROTECTED]> wrote: > Hi, > > I've just converted two projects to the new generics setup and everything > worked out nicely. > I think this is how generics should be applied to Wicket. > > Igor, thanks for your hard work on this. wasnt just me :)

Re: generics

2008-06-29 Thread Sven Meier
Hi, I've just converted two projects to the new generics setup and everything worked out nicely. I think this is how generics should be applied to Wicket. Igor, thanks for your hard work on this. Sven Igor Vaynberg schrieb: development of the 1.4 branch has been quiet lately, this is becaus

Re: gmap2's map problem in FF3 DEVELOPMENT Mode

2008-06-29 Thread Sven Meier
See: http://www.nabble.com/Gmap2-problem-with-Firefox-3.0-td18137475.html Sven smallufo schrieb: My gmap2's application seems have some problem in DEVELOPMENT Mode with FF3. See the two attachments . First is deployment mode , everything works fine . Wicket 1.3.3 / 1.3.4 , Firefox 3 , IE 6 ,

Re: Wikcet Freechart and SVG

2008-06-29 Thread Nino Saturnino Martinez Vazquez Wael
instantiate a wicket image, with the resource.. It will not change the format.. Just set the format to svg.. Manuel Corrales wrote: Thanks, but still dont get it. I did that, but now how can i add this image to a page? The add method on page does not accept this DynamicImageResource. Also, this

Re: Error in test when use Include

2008-06-29 Thread Maurice Marrink
Just checking. Are you providing WicketTester with the correct path to your webapp root? If that is the case can you check if you can load other resources from that path. Maurice On Fri, Jun 27, 2008 at 10:13 AM, Tomasz Prus <[EMAIL PROTECTED]> wrote: > Hi, > > when i included javascript: > > add

Re: AjaxLink in a DataView causing issues when loading multiple instance of the page

2008-06-29 Thread Maurice Marrink
This sounds like your page is living in the default pagemap where there should be a pagemap for each tab/window each with thee own instance of the page. can you confirm IPageSettings.getAutomaticMultiWindowSupport is on? If so you could take a look at WebPage$PageMapChecker and WebPage.onNewBrowser

Re: Exception for MixedParamUrlCodingStrategy

2008-06-29 Thread Erik van Oosten
Hello Mathias, Well, that looks quite alright to me. Could you post the generated URL? Do you have more mounts to the same page class? Regards, Erik. Mathias P.W Nilsson wrote: Hi! I'm using MixedParamUrlCodingStrategy and I must miss something in how this is set up properly I have mou

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

2008-06-29 Thread Eelco Hillenius
I don't think it's Wicket's fault either, but someone could scan Wicket's code for problems like described here: http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java Eelco On Fri, Jun 27, 2008 at 11:58 AM, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]> wrote: > Hi I send this

Exception for MixedParamUrlCodingStrategy

2008-06-29 Thread Mathias P.W Nilsson
Hi! I'm using MixedParamUrlCodingStrategy and I must miss something in how this is set up properly I have mounted the page in init in my application class mount(new MixedParamUrlCodingStrategy("brand", BrandInterceptor.class,new String[]{"id"})); When building up the bookmarkable page link I do

gmap2's map problem in FF3 DEVELOPMENT Mode

2008-06-29 Thread smallufo
My gmap2's application seems have some problem in DEVELOPMENT Mode with FF3. See the two attachments . First is deployment mode , everything works fine . Wicket 1.3.3 / 1.3.4 , Firefox 3 , IE 6 , all works fine. But the second is DEVELOPMENT MODE (A Wicket AJAX DEBUG box right down there). It only

Re: gmap2 now only works for wicket 1.4 ?

2008-06-29 Thread Sven Meier
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, if you're working with wicket 1.3. Sven smallufo schrieb: I checked out the latest gmap2 from svn. And found it is full of error , most are generics errors ,

gmap2 now only works for wicket 1.4 ?

2008-06-29 Thread smallufo
I checked out the latest gmap2 from svn. And found it is full of error , most are generics errors , such as : The type RepeatingView is not generic; it cannot be parameterized with arguments The type WebMarkupContainer is not generic; it cannot be parameterized with arguments Some are missing

Re: Obtaining full URLs behind a proxy

2008-06-29 Thread Matthew Hanlon
Yeah, that's what I'd found. I had looked at the "Wicket Behind a Proxy" wiki page. I'm using mod_proxy and proxypassreverse, but not the preserve host setting. I had originally set much of the host information in settings files, but when I moved from wicket 2.0 to 1.4 some of that code broke due

Re: Wikcet Freechart and SVG

2008-06-29 Thread Manuel Corrales
Thanks, but still dont get it. I did that, but now how can i add this image to a page? The add method on page does not accept this DynamicImageResource. Also, this will render the svg directly to the page? Or will transform it to other format? (the documentation on DynamicImageResource only mention

Re: SecureTextField problem

2008-06-29 Thread Maurice Marrink
In version 1.3.0 inheritance is somewhat limited. It can only follow absolute paths. So unless your ${SecuredTextFieldOne} alias resolves to something like this: PageClass:panel1ID:panel2ID:textfieldID it will not work. This has been fixed in 1.3-SNAPSHOT where you can now use container classes in

Re: Session is not my Session?

2008-06-29 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, it seems that it starts to happen after I popup a page: Are there anything wrong with this: PopupSettings popupSettings = new PopupSettings(); Link link = new Link("print") { @Override public void onClick() { setResponsePage(new TrainingSch

Re: Wikcet Freechart and SVG

2008-06-29 Thread Nino Saturnino Martinez Vazquez Wael
somewhat like this, and then just add the image as an image...: import org.apache.wicket.markup.html.image.resource.DynamicImageResource; public class ImageResource extends DynamicImageResource { // has to save this. or get the image another way! private byte[] image; public ImageR