Re: Obtaining full URLs behind a proxy

2008-06-27 Thread Nino Saturnino Martinez Vazquez Wael
true, as you write it's actually the proxy that fuddles it up.. Timo Rantalaiho wrote: On Fri, 27 Jun 2008, Matthew Hanlon wrote: I was having a problem getting the full url of a page or resource after deploying my application behind a proxy. ... However, after deploying behind a

Re: Obtaining full URLs behind a proxy

2008-06-27 Thread Timo Rantalaiho
On Fri, 27 Jun 2008, Matthew Hanlon wrote: > I was having a problem getting the full url of a page or resource after > deploying my application behind a proxy. ... > However, after deploying behind a proxy, I was expecting to get " > http://my.domain.com/MyResourcePage/resouce/xxx"; and instead w

Re: Firefox 3 Back button and BaseTree

2008-06-27 Thread Matej Knopp
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, Jun 27, 2008 at 11:06 PM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > I

Re: Obtaining full URLs behind a proxy

2008-06-27 Thread Nino Saturnino Martinez Vazquez Wael
Resin, havent heard about that in years:) So it's still there.. Are you using mod proxy..? You could try to set proxypreserve host on... but I havent been able to get it to work... But never matter what, your url should be rewritten whats your apache vhost conf? And are you using proxypassreve

Re: Obtaining full URLs behind a proxy

2008-06-27 Thread Matthew Hanlon
Yes, it's running on Resin behind Apache. I think I'm probably missing something in my configurations somewhere. I don't like either of the methods I mentioned below. Still trying to figure out the best solution. On Fri, Jun 27, 2008 at 4:29 PM, Nino Saturnino Martinez Vazquez Wael < [EMAIL PRO

Re: Obtaining full URLs behind a proxy

2008-06-27 Thread Nino Saturnino Martinez Vazquez Wael
Which proxy are it? apache2 httpd? Matthew Hanlon wrote: Hmm. I on further thought, "Referer" is not the proper header to use. Something more like this instead: public String getUrl(MyResource res) { PageParameters params = new PageParameters(); params.put(Constants.MY_RESOURCE

Firefox 3 Back button and BaseTree

2008-06-27 Thread Kaspar Fischer
I derive BaseTree and have run into a problem with Firefox 3 (FF 2 and IE 7 work fine). If I expand an node of the tree, click any link on the page, and hit the Back button, FF 3 returns to the previous page but has -- in contrast to all other mentioned browsers -- the tree closed. Clicking on t

Ferie/holiday

2008-06-27 Thread tormod
I will be out of the office starting 27.06.2008 and will not return until 14.07.2008. Jeg har ferie. Kontakt Ole Toft på [EMAIL PROTECTED] eller 67124464 hvis du trenger hjelp med noe. I'm on holiday. Please contact Ole Toft at [EMAIL PROTECTED] or +4767124464 if you need assistance. Med vennl

Re: Gmap2 problem with Firefox 3.0

2008-06-27 Thread Sven Meier
Hi, so it seems this problem is not gmap2 specific. It's just the way our markup is structured, which seems no longer be supported by firefox 3. The following simple example show the failure: The nested div is no longer strechted to the full size of the containing

Re: problem at startup

2008-06-27 Thread Sergiy Yevtushenko
Timo Rantalaiho wrote: Me too. Probably it worth to report the issue to Sun, because it looks like JVM issue. Or searching in the Bug parade, in the early 1.5.0_x versions there are a lot of bugs that are fixed later. What JVM version are you using? java version "1.6.0_06" Java(TM) SE Runtim

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

2008-06-27 Thread Francisco Diaz Trepat - gmail
Hi I send this mail to the Netbeans user list. And this is what some has responded. I don't think is the case, and I know this is a wicket list, but could some-one developing wicket on netbeans 6.1 is dealing or has dealt with this issue? Thanks, f(t) -- Forwarded message -- From

Re: [ANNOUNCE] Apache Wicket 1.3.4 is released!

2008-06-27 Thread Timo Rantalaiho
On Fri, 27 Jun 2008, Alexei Sokolov wrote: > How do you guys vote on what to fix in the next release? I opened > https://issues.apache.org/jira/browse/WICKET-1545 awhile ago... A good patch containing a fix is a sure way to increase the priority :) Best wishes, Timo -- Timo Rantalaiho

Re: generics

2008-06-27 Thread Timo Rantalaiho
On Fri, 27 Jun 2008, Igor Vaynberg wrote: > since no one complained, should we apply this change over the weekend? > and soon thereafter release m3? I prefer this over M2. Even though: > > user). so far these are link,form,formcomponent Link might be better without the type parameter. It's no bi

Re: problem at startup

2008-06-27 Thread Timo Rantalaiho
On Fri, 27 Jun 2008, Sergiy Yevtushenko wrote: > Me too. Probably it worth to report the issue to Sun, because it looks like > JVM issue. Or searching in the Bug parade, in the early 1.5.0_x versions there are a lot of bugs that are fixed later. What JVM version are you using? Best wishes, Timo

Re: Home page accepting IndexedParamUrlCodingStrategy

2008-06-27 Thread Tauren Mills
Thanks for the help! After messing with it for a while, I was thinking it wasn't possible too. I appreciate the link, as it looks to be a possible solution that I hadn't found while searching on nabble... Tauren On Fri, Jun 27, 2008 at 11:19 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > It

Re: Home page accepting IndexedParamUrlCodingStrategy

2008-06-27 Thread Erik van Oosten
There are 2 problems in this code: 1. mount specifies that the mount point is given without a leading '/' (even though it tolerates it) 2. you can not call mount with "", it will throw an exception (and therefore not with "/" either) Actually, it would be nice if you could do the latter. As

Re: Home page accepting IndexedParamUrlCodingStrategy

2008-06-27 Thread Peter Ertl
pseudo code example: mount("/", ... indexed HomePage.class) mount("/foo", FooPage.class) What should happen with this path: url = /foo -> call HomePage with indexed parameter 'foo' ? -> call page FooPage.class ? not having indexed urls for '/' makes sense for me Am 27.06.2008

Re: Home page accepting IndexedParamUrlCodingStrategy

2008-06-27 Thread Erik van Oosten
It is not possible. Unfortunately. You can write your own IRequestCycleProcessor. See WebApplication#newRequestCycleProcessor(). Get hints at: http://www.nabble.com/How-to-catch-unknown-(not-mounted)-URLs--td14949092.html#a14956131 Regards, Erik. Tauren Mills wrote: Does anyone have s

Re: Home page accepting IndexedParamUrlCodingStrategy

2008-06-27 Thread Tauren Mills
Does anyone have suggestions on how to do this? Or is it just not possible to use IndexedParamUrlCodingStrategy without a mount point (from the root of the site)? Thanks! Tauren On Thu, Jun 26, 2008 at 3:53 PM, Tauren Mills <[EMAIL PROTECTED]> wrote: > Thanks for the suggestion, but I'm unclear

Re: Session is not my Session?

2008-06-27 Thread Nino Saturnino Martinez Vazquez Wael
ok i'll try to clean it and see what happens... Igor Vaynberg wrote: well. it looks like you got the same class loaded in two classloaders. however that happens it has to be an artifact of your environment. -igor On Fri, Jun 27, 2008 at 10:00 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PR

Re: Session is not my Session?

2008-06-27 Thread Igor Vaynberg
well. it looks like you got the same class loaded in two classloaders. however that happens it has to be an artifact of your environment. -igor On Fri, Jun 27, 2008 at 10:00 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Well, with my jetty on my dev machine it shuts down,

Re: Session is not my Session?

2008-06-27 Thread Nino Saturnino Martinez Vazquez Wael
Well, with my jetty on my dev machine it shuts down, since I start/stop jetty alot... But on my production server, it redeploys, sometimes tomcat gets non responsive so I restart tomcat or restart the machine.. I also got the perm gen error but got that fixed by setting up gc on perm gen..

RE: Contextual autoCompleteTextField

2008-06-27 Thread Hoover, William
can you post the code? -Original Message- From: Bertrand DATAS [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2008 11:00 AM To: users@wicket.apache.org Subject: Re: Contextual autoCompleteTextField in fact i have a problem with that because i am using the listview(which you called "yo

Re: Session is not my Session?

2008-06-27 Thread Igor Vaynberg
do you redeploy the app without shutting down the server? -igor On Fri, Jun 27, 2008 at 9:32 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Not deliberately, it happens both in deployment mode and development mode. > Im using the standard jetty start.java, from quickstart i

Re: Session is not my Session?

2008-06-27 Thread Nino Saturnino Martinez Vazquez Wael
Not deliberately, it happens both in deployment mode and development mode. Im using the standard jetty start.java, from quickstart it also happens on tomcat. And wicket 1.3.4 (but also happened on 1.3.3). Im using a whole buch of dependencies.: wicket-spring wicket-spring-annot wicket-auth-rol

Re: [ANNOUNCE] Apache Wicket 1.3.4 is released!

2008-06-27 Thread Alexei Sokolov
How do you guys vote on what to fix in the next release? I opened https://issues.apache.org/jira/browse/WICKET-1545 awhile ago... Alex On Fri, Jun 27, 2008 at 5:53 AM, Martijn Dashorst < [EMAIL PROTECTED]> wrote: > On Fri, Jun 27, 2008 at 2:44 PM, Bernard Niset <[EMAIL PROTECTED]> wrote: > > Co

Re: Obtaining full URLs behind a proxy

2008-06-27 Thread Matthew Hanlon
Hmm. I on further thought, "Referer" is not the proper header to use. Something more like this instead: public String getUrl(MyResource res) { PageParameters params = new PageParameters(); params.put(Constants.MY_RESOURCE, res.getId()); WebRequestCycle cycle = (WebRequest

Re: generics

2008-06-27 Thread Eelco Hillenius
On Fri, Jun 27, 2008 at 8:08 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > since no one complained, should we apply this change over the weekend? > and soon thereafter release m3? I'm in favor of the new branch, so yes. But it would be great to see a few more opinions. Eelco ---

Re: Session is not my Session?

2008-06-27 Thread Igor Vaynberg
are you using reloading class filter/servlet? -igor On Fri, Jun 27, 2008 at 6:26 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > How can this happen, it clearly states that it are a ZeuzSession.class in > the log?: > > > > if (ZeuzSession.class.isInstance(getSe

Re: Session is not my Session?

2008-06-27 Thread Gwyn Evans
Guessing, but could different class loaders be involved? /Gwyn On Fri, Jun 27, 2008 at 2:26 PM, Nino Saturnino Martinez Vazquez Wael < [EMAIL PROTECTED]> wrote: > How can this happen, it clearly states that it are a ZeuzSession.class in > the log?: > > > > if (ZeuzSession.class.isIn

RE: generics

2008-06-27 Thread Stefan Lindner
I still prefer the M2 way of generics but if this can become the common sense about Generics for the 1.4 release apply this change. The sooner the better. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: generics

2008-06-27 Thread Igor Vaynberg
since no one complained, should we apply this change over the weekend? and soon thereafter release m3? -igor On Mon, Jun 23, 2008 at 10:12 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > development of the 1.4 branch has been quiet lately, this is because > the core team has been busy working on a

Re: Contextual autoCompleteTextField

2008-06-27 Thread Bertrand DATAS
in fact i have a problem with that because i am using the listview(which you called "yourView") during her contruction that is to say the populmate item. so java told me that object may not be initialized. This is because my AutoCompleteTextField is generated like the others. so i can use this code

Obtaining full URLs behind a proxy

2008-06-27 Thread Matthew Hanlon
I was having a problem getting the full url of a page or resource after deploying my application behind a proxy. I was previously doing the following: public String getUrl(MyResource res) { PageParameters params = new PageParameters(); params.put(Constants.MY_RESOURCE, res.getId()); WebRequestCyc

Session is not my Session?

2008-06-27 Thread Nino Saturnino Martinez Vazquez Wael
How can this happen, it clearly states that it are a ZeuzSession.class in the log?: if (ZeuzSession.class.isInstance(getSession())) { } else { log .error("Got an non zeuzSession on authorized page, should not be poss

Re: I18n of required form component message

2008-06-27 Thread Michael Sparer
Just take a look at the Application.properties (or Application_it.properties if I interpreted the origin of your name correct ;-)) file in the package org.apache.wicket, and you'll se it's e.g. ${input} and ${label} regards Michael Daniele Dellafiore wrote: > > Hi all. > > I want to have contr

I18n of required form component message

2008-06-27 Thread Daniele Dellafiore
Hi all. I want to have control over the validation error message that raises up when a RequiredTextField is not valorized. I have found, looking in the code, that "Required" is the resource key for the message but I cannot figure out what is the field name parameter, I expect to have something lik

Re: [ANNOUNCE] Apache Wicket 1.3.4 is released!

2008-06-27 Thread Martijn Dashorst
On Fri, Jun 27, 2008 at 2:44 PM, Bernard Niset <[EMAIL PROTECTED]> wrote: > Could you please update the page Building from svn > (http://wicket.apache.org/building-from-svn.html) with this information? > It's not wiki otherwise I'd be pleased to do it myself. Done. >> I beg to differ: adding Java

Re: [ANNOUNCE] Apache Wicket 1.3.4 is released!

2008-06-27 Thread Bernard Niset
Martijn Dashorst a écrit : On Fri, Jun 27, 2008 at 10:47 AM, Bernard Niset <[EMAIL PROTECTED]> wrote: Hi Martijn, Thanks for the release. I don't find how to build the javadoc. Apparently, mvn package doesn't do that anymore. Not by default: it took too long and too much processing fo

Re: London-based jWeekend Apache Wicket course, July 12 & 13th

2008-06-27 Thread jWeekend
As we may have mentioned (or maybe forgot to) at our most recent London Wicket Event, on our set of "welcome" slides (called "Wicket Select And SelectOption" at ), it says there is an extra 20% discount to celebrate the anniversary of Al & I creating and

Re: Language selector component available anywhere?

2008-06-27 Thread Nino Saturnino Martinez Vazquez Wael
No but, you could do it the simple way: add(new StatelessLink("locale_da") { @Override public void onClick() { getSession().setLocale(new Locale("da")); } }); You can do it the same in a drop down... But true it would be nice to hav

Re: Client side validation

2008-06-27 Thread Johan Compagner
Fallback? That should always be done fallback or not, clientside is jus a quicker feedback to the user, the real validation should always be done after that on the serverside On 6/26/08, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: > I know ASP.Net has this too, and falls back to the server when c

Language selector component available anywhere?

2008-06-27 Thread Meetesh Karia
Hi all, I was just wondering if there's a language selector component (ie, flags, language names in a dropdown, etc) out there that someone's built. A google search didn't yield any results. Thanks, Meetesh

Re: wicket AutoComplete

2008-06-27 Thread Michael Sparer
If it's this bug: http://www.nabble.com/Strange-behaviour-with-autocomplete-to16489045.html#a16489045 I'd suggest to apply the provided fix, that worked for me regards, Michael Umesh Paliwal wrote: > > HI , > > > > I am trying to use the AutoComplete Text field from wicket 1.3.3. > > Th

Re: [ANNOUNCE] Apache Wicket 1.3.4 is released!

2008-06-27 Thread Martijn Dashorst
On Fri, Jun 27, 2008 at 10:47 AM, Bernard Niset <[EMAIL PROTECTED]> wrote: > Hi Martijn, > Thanks for the release. > I don't find how to build the javadoc. Apparently, mvn package doesn't do > that anymore. Not by default: it took too long and too much processing for the default build. We have ena

Re: Client side validation

2008-06-27 Thread Matthijs Wensveen
I know ASP.Net has this too, and falls back to the server when client side validation is not possible (or is hacked by a smarter than average user). Something could be done. I think would be worth the time when you have it (time, that is). I'd start with a separate project, so that people can t

Re: How to add nodes to a tree using Ajax

2008-06-27 Thread geke
try this code: fileTree = new LinkTree(); TreeNode existingTreeNode = ...; DefaultMutableTreeNode newTreeNode = new DefaultMutableTreeNode(object); DefaultTreeModel model = (DefaultTreeModel)fileTree.getModelObject(); model.insertNodeInto(newTreeNode, treeNode, 0); fileTree.updateTree(target);

Re: [ANNOUNCE] Apache Wicket 1.3.4 is released!

2008-06-27 Thread Bernard Niset
Hi Martijn, Thanks for the release. I don't find how to build the javadoc. Apparently, mvn package doesn't do that anymore. BTW, it's a pity you don't provide the javadoc by default in the distribution. Kind Regards, Bernard. Martijn Dashorst a écrit : The Apache Wicket team is proud to annou

Re: Gmap2 problem with Firefox 3.0

2008-06-27 Thread Martin Funk
Ryan Sonnek wrote: On 6/26/08, Martin Funk <[EMAIL PROTECTED]> wrote: Sven Meier wrote: Hi, I'm investigation the issue: It seems that Google's css is being screwed up in FF3. When I let Wicket strip all wicket tags *or* assign pixel width (instead of 100%) to the element holding the

Re: New browser window on RedirectRequestTarget(url)

2008-06-27 Thread Martin Grigorov
On Thu, 2008-06-26 at 23:02 -0400, Karen Schaper wrote: > Hello Again, > > I'm hoping there is a simple solution for this. I can't seem to find the > right place to look. > > Basically this line of code, I'd like to open a new browser window to > display it in. > >getRequestCycl

Error in test when use Include

2008-06-27 Thread Tomasz Prus
Hi, when i included javascript: add(new Include("analytics", "js/analytics_" + getLocale().getLanguage() + ".js")); i have these javascript files in folder src/main/webapp/js and i copied it also to src/test/webapp/js it works in application but test for this page throws error: 4547 [main] ERR

Re: Example of wicketstuff-minis' Veil

2008-06-27 Thread Nino Saturnino Martinez Vazquez Wael
hmm the version are still 1.3.0-snap.. http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/ Igor Vaynberg wrote: should be fixed, noticed i fixed the version, it is now 1.3-snap instead of 1.3.0-snap -igor On Wed, Jun 11, 2008 at 11:53 AM, nitinkc <[EMAIL PROTECTED]> wro

Re: DataTable-like component for open-ended data sets

2008-06-27 Thread Jan Stette
OK, I'll try that. Thanks! Jan 2008/6/24 Igor Vaynberg <[EMAIL PROTECTED]>: > simply return Integer.MAX_SIZE from dataprovider.size(), and subclass > the dataprovider and hide the gotoend link. > > -igor > > On Tue, Jun 24, 2008 at 2:29 AM, Jan Stette <[EMAIL PROTECTED]> wrote: > > The applicat