Re: [Wicket-user] NPE on session expire

2007-02-08 Thread Johan Compagner
Why does getPage() return null? Because it does this: if (page == null && pageClass != null && !requestCycle.getRedirect()) { page = newPage(pageClass, requestCycle); } return page; and the page == null.. but the pageClass shouldn't be null and it shouldn't be

Re: [Wicket-user] Google indexing

2007-02-08 Thread Johan Compagner
So to explain a bit more: it is not really a Bookmarkable Page but a Bookmarkable Page URL that does the job. And an url can only be generated if the Page has a default or PageParameter constructor. johan On 2/8/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: See http://cwiki.apache.org/WICKET

Re: [Wicket-user] RadioChoice-page reload

2007-02-07 Thread Johan Compagner
you can use the onselectionchange of the radio choice. or add a behaviour that makes the onclick that does a callback and then set a response page johan On 2/7/07, tbt <[EMAIL PROTECTED]> wrote: Hi!, I'm a newbie to wicket and i'd like to know, how to load a new page once the user

Re: [Wicket-user] Problem: BookmarkablePageLink does not fireonSubmit...

2007-02-07 Thread Johan Compagner
so to make it clear when you click on the link (that popups up the popup) you also want to submit the form? That is not possible because its a normal link. That doesn't a submit. For this you have to make that link somekind of submit button. But popup a window when you submit the form must be han

Re: [Wicket-user] WicketTester and DropDownChoice.onSelectionChanged()

2007-02-07 Thread Johan Compagner
something like this: setupRequestAndResponse(); getServletRequest().setRequestToComponent(DDC); processRequestCycle(); johan On 2/7/07, Dmitry Kandalov <[EMAIL PROTECTED]> wrote: Hi, I have a code like this formTester.select( PATH_TO_DDC, 2 ); formTeste

Re: [Wicket-user] URL based session tracking

2007-02-06 Thread Johan Compagner
do you really want static! resources to be encoded? i guess for some static resources (not really static but dynamic bases on session data) it is needed. But normally static != dynamic != session But we could make some property where the target says what it wants to do.. For a load balancer it

Re: [Wicket-user] property expression language

2007-02-05 Thread Johan Compagner
On 2/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: i believe (not sure) method invocation a.foo() yes thats also supported seet the PropertyResolverTest for pretty much all the things that are supported johan - Using T

Re: [Wicket-user] URLConnection to jar / Too many open files

2007-02-05 Thread Johan Compagner
then that fix is really hidden or internal because i can't find anything what to call then in java 6 johan On 2/5/07, Tom Desmet <[EMAIL PROTECTED]> wrote: I think this issue is fixed in mustang ... http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6349735 --

Re: [Wicket-user] [wicket 1.2.4] JIRA issue? Ampersand char problem in "wicket.markup.html.link.ExternalLink.java"

2007-02-04 Thread Johan Compagner
this has to be fixed different later on. Because this is horrible. Everywhere we have those special url encoding char replacing of urls. That should go into one place (at moment of constructing and rendering the url) johan On 2/2/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Fixed, see http:

Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-03 Thread Johan Compagner
that shouldn't be needed. But lets first see when AlMaw syncs both version where we exactly stand now. johan On 2/2/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: you should probably specify the filterpath param as well, even if it is empty or a / -igor On 2/2/07, Aaron Hiniker < [EMAIL

Re: [Wicket-user] Pro Wicket and RestartResponseAtInterceptPage question

2007-02-02 Thread Johan Compagner
yes thats on my todo list johan On 2/2/07, karthik Guru <[EMAIL PROTECTED]> wrote: It has to do with this problem - http://www.nabble.com/a-problem-with-continueToOriginalDestination-tf1427448.html#a3849601 Wicket doesn't remember the actual post url in this case. I added a bug and rfe

Re: [Wicket-user] ui framework choice

2007-02-02 Thread Johan Compagner
I was able to test some ajax functionality by firing events with WicketTester, but something related to forms not. The problematic form thing I just tested with Wicket Bench then. If anyone is interested I can cook up a quickstart representing the WicketTester-with-ajaxified-form problem. ple

Re: [Wicket-user] [Upload] Upload and Ajax

2007-02-02 Thread Johan Compagner
questTarget( EmptyRequestTarget.getInstance()); Sorry if the first time I gave an incomplete response to the problem. Paolo On 2/1/07, Henning Bredel <[EMAIL PROTECTED]> wrote: > > Johan Compagner schrieb: > > i have no idea about a workaround. I just know that everytime that > >

Re: [Wicket-user] Fighting "Too many open files" problem related to wicket resource files

2007-02-01 Thread Johan Compagner
rl connection so they all would use the same. johan On 2/2/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Would it be possible and useful to cache the URL connection? Does it have a time out and/ or does it use an exclusive lock? Eelco On 2/1/07, Johan Compagner <[EMAIL PROTECTED]>

Re: [Wicket-user] Fighting "Too many open files" problem related to wicket resource files

2007-02-01 Thread Johan Compagner
() so you can't clear it. johan On 2/2/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Yeah, but that would be always one fd for a jar, no matter how many files in it that have to be read, right? Eelco On 2/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > yes the modificati

Re: [Wicket-user] Fighting "Too many open files" problem related to wicket resource files

2007-02-01 Thread Johan Compagner
here normal files are involved? Eelco On 2/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > one per resource will i think not really change. > > > johan > > > On 2/1/07, beboris <[EMAIL PROTECTED] > wrote: > > > > We will, when we are on production. Now t

Re: [Wicket-user] ui framework choice

2007-02-01 Thread Johan Compagner
Matej! Even you!? I can't believe that! you are making fun of me! johan On 2/1/07, Matej Knopp <[EMAIL PROTECTED]> wrote: Heh, models take a while to grok. I guess most people have the same problem at the beginning (I was no exception :)) -Matej Scott Swank wrote: > Read it? I have it pri

Re: [Wicket-user] Pro Wicket and RestartResponseAtInterceptPage question

2007-02-01 Thread Johan Compagner
but somehow it really tries to convert a null value to a primitive int And we don't support that. You could try to debug what it tries to populate. johan On 2/1/07, Robert ... <[EMAIL PROTECTED]> wrote: I don't think it's a convertor problem, because if the user is already logged in, the Conf

Re: [Wicket-user] [Upload] Upload and Ajax

2007-02-01 Thread Johan Compagner
i have no idea about a workaround. I just know that everytime that question picks up everytime the answer is no doesn't work And i don't think it is a w3c standard.. Those guys don't really make the standards nowadays i think. johan On 2/1/07, Henning Bredel <[EMAIL PROTECTE

Re: [Wicket-user] [Upload] Upload and Ajax

2007-02-01 Thread Johan Compagner
Henning Bredel schrieb: > Hi, > > is there a way, to handle an upload with ajax? not as far as i know. johan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-inte

Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-01 Thread Johan Compagner
AlMaw: i guess this kind of behavior will change anyway with your stuff? On 1/31/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote: I have a webapp that is bound to root "/" context, and I am mounting a bookmarkable page to "/script/execute" via: mountBookmarkablePage( "/script/execute", S

Re: [Wicket-user] Using own localizer

2007-02-01 Thread Johan Compagner
if you can get a nice test where i can see those hotspots (but then in 1.3or 2.0) then i will look at it to optimize that. johan On 2/1/07, Juha Alatalo <[EMAIL PROTECTED]> wrote: Hi, is there some way of using own Localizer in WebApplication? I found out that in version 1.1 there was setLoc

Re: [Wicket-user] Fighting "Too many open files" problem related to wicket resource files

2007-02-01 Thread Johan Compagner
ackport it, please, tell me where it is in SVN. We'll "hack" it in oursleves for now... Bob Johan Compagner wrote: > > can't you run in deployment mode instead of development mode? > then that shouldn't happen. > > I can see if we can backport it. > &g

Re: [Wicket-user] Fighting "Too many open files" problem related to wicket resource files

2007-02-01 Thread Johan Compagner
can't you run in deployment mode instead of development mode? then that shouldn't happen. I can see if we can backport it. johan On 2/1/07, beboris <[EMAIL PROTECTED]> wrote: We have found a pretty weird situation with "too many open files" error on our alpha-testing site. Further analysis

Re: [Wicket-user] HTTP session expiration and Wicket pages

2007-01-31 Thread Johan Compagner
1.3 has the disk store that saves pages to disk. so if you keep session id in a cookie and reuse it upon login the pages can be retrieved from disk and thus you have "unlimited" storage. you can wrap that store in your own and save all session attributes into it not just the pages, that way the s

Re: [Wicket-user] [wicket-1.x, wicket-2.0] ServletWebRequest#getRelativeURL()

2007-01-31 Thread Johan Compagner
so to get this correctly you just changed the line: String url = httpServletRequest.getServletPath(); to String url = getServletPath(); how can that help? because this is getServletPath() on ServletWebRequest return httpServletRequest.getServletPath(); so thats exactly the same code joha

Re: [Wicket-user] Is there anyone can compare echo2 and wicket 2?

2007-01-30 Thread Johan Compagner
Echo2 (or GWT) are really meant for building Swing like desktop application in the browser So not really for (dynamic) websites. So it is just a matter what you want to build. johan On 1/30/07, nilo.de.roock <[EMAIL PROTECTED]> wrote: Although it looks very cool it seems to me that Echo2 si

Re: [Wicket-user] Problem restarting application in Tomcat

2007-01-30 Thread Johan Compagner
ahh you already checked in the same thing i guess :) On 1/30/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: looks like the npe was hiding the real exception, i just checked in a change that should fix that. update from svn wicket-1.2.x branch and deploy that, then look for the exception in the lo

Re: [Wicket-user] Problem restarting application in Tomcat

2007-01-30 Thread Johan Compagner
i dont think that null pointer is fixed for 1.2.x at least i didn't do that check. Maybe we should? johan On 1/30/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: try the code from the latest 1.2.x branch -igor On 1/29/07, Luis Pablo Gallo <[EMAIL PROTECTED] > wrote: > > I tried in both modes

Re: [Wicket-user] [wicket-2.0] WicketServlet deprecation and WicketFilter

2007-01-30 Thread Johan Compagner
We will remove the warnings about the deprication when we will release 1.3 /2.0 for now we want to point people as much as possible to the wicket filter. The wicket servlet will still be there. So you just want a factory method in wicket servlet where you can make the wicket filter? can you add

Re: [Wicket-user] ui framework choice

2007-01-29 Thread Johan Compagner
whooohooo! On 1/29/07, Scott Swank <[EMAIL PROTECTED]> wrote: One week (of two) into the JSF vs. Wicket comparison here at Vegas.comthings are going nicely -- team Wicket is finished while team JSF is trying to get Ajax functionality working. There were four people working on each implementat

Re: [Wicket-user] Best practice for seperating .java and .html ?

2007-01-29 Thread Johan Compagner
source dir as a source dir in eclipse? -igor On 1/29/07, Johan Compagner < [EMAIL PROTECTED]> wrote: > > ohh? > How does your refactoring tool know that? > That you rename a package for some java classes and that he also have to > rename > some resource directory som

Re: [Wicket-user] Application layout question: File uploads

2007-01-29 Thread Johan Compagner
use a wicket shared resource for that that will get the right image from somewhere depending on a parameter you give it johan On 1/29/07, behlma <[EMAIL PROTECTED]> wrote: Just one more question guys. I store the images now in a separate folder somewhere on the filesystem, non-accessible fr

Re: [Wicket-user] Best practice for seperating .java and .html ?

2007-01-29 Thread Johan Compagner
ohh? How does your refactoring tool know that? That you rename a package for some java classes and that he also have to rename some resource directory somewhere also to that same thing? johan On 1/29/07, nilo.de.roock <[EMAIL PROTECTED]> wrote: I leave that to my refactoring tool. So it's no

Re: [Wicket-user] how to abort the xmlhttprequest

2007-01-28 Thread Johan Compagner
ur idea for now. --- Johan Compagner <[EMAIL PROTECTED]> wrote: > just fire off a new thread or runnable (using a > threadpool) > and then "connect" that thread to a session so that > you can poll for it > when it is finished. > Then you also can say, this

Re: [Wicket-user] cd app site is down

2007-01-28 Thread Johan Compagner
can we easily also build the examples automatic and host them on wicket stuff server? johan On 1/28/07, nilo.de.roock <[EMAIL PROTECTED]> wrote: don't know who maintains the site but it is down... http://www.wicket-library.com/wicket-contrib-examples/ javax.servlet.ServletException: Servle

Re: [Wicket-user] Redirecting a page after a given time interval

2007-01-26 Thread Johan Compagner
you just want to refresh the page that is now in the browser a next page after 1 minute? use meta refresh tag. And generate the src so that it has a (bookmarkable)ulr to that page.. johan On 1/25/07, tbt <[EMAIL PROTECTED]> wrote: Hi! I'd like to know how to redirect a page automatically

Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2007-01-25 Thread Johan Compagner
yes thats already fixed for a few days now! whiner! johan On 1/24/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: ajax requests shouldnt create versions anyways! did you fix that in 2.0yet? -igor On 1/24/07, Johan Compagner < [EMAIL PROTECTED]> wrote: > Ahh so you are using p

Re: [Wicket-user] Tracking session expire exception

2007-01-24 Thread Johan Compagner
, we have to set the target value to something else than the pagemap name which is null. It is hard to explain the why of that, but that is the problem I got. Sorry for being unclear. Marc On 1/24/07, Johan Compagner < [EMAIL PROTECTED]> wrote: > > > On 1/24/07, Marc-Andre Houle <

Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2007-01-24 Thread Johan Compagner
re how well I've explained this. If there was a way to get wicket to simply use bookmarkable URLs when it does the form submission, I'd be happy to fall back on wicket. Also, FYI, we are using a lot of the Wicket ajax behavior for updating state which does NOT need to be in the URL. -Jas

Re: [Wicket-user] Tracking session expire exception

2007-01-24 Thread Johan Compagner
On 1/24/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: Ok, I got news about the first page expired problem. Problems with page map that I said before and in the JIRA issue are still there, but the page expire is gone. Here is why : In the pop up, I created a bookmarkable page link like this :

Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2007-01-24 Thread Johan Compagner
to clear up this ambiguity. Johan Compagner wrote: > > set the max to 0 then the change list of the version manager will really > not > ntain anything > > this is the test: (after the new one is added to the list) > > // If stack is overfull, remove oldest entry &

Re: [Wicket-user] No Page found for component

2007-01-24 Thread Johan Compagner
i see that you are in an init (constructor call) of your page: myapp.gui.wizards.EditDetailsWizardStep.(EditDetailsWizardStep.java :109) So why does validator run on that? Thats a new component and those don't have yet (in 1.3) a parent page johan On 1/24/07, Tim Squires <[EMAIL PROTECTED]

Re: [Wicket-user] how to abort the xmlhttprequest

2007-01-24 Thread Johan Compagner
just fire off a new thread or runnable (using a threadpool) and then "connect" that thread to a session so that you can poll for it when it is finished. Then you also can say, this takes to long and set a boolean so that the worker thread does do a terminate as soon as possible johan On 1/24/0

Re: [Wicket-user] how to abort the xmlhttprequest

2007-01-24 Thread Johan Compagner
and how to really abort the thing on the serverside. On 1/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: no it is not supported right now, but it can be built. open up a new feature request in our jira and we will look into it. also outline how you would like the api to look, how are you going

Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2007-01-23 Thread Johan Compagner
set the max to 0 then the change list of the version manager will really not contain anything this is the test: (after the new one is added to the list) // If stack is overfull, remove oldest entry if (getVersions() > maxVersions) { expireOldestVersion(); }

Re: [Wicket-user] spring integration question

2007-01-23 Thread Johan Compagner
child of the page so how does that suppose to work? johan On 1/23/07, Frank Bille <[EMAIL PROTECTED]> wrote: Now it works here as well. :) Good job On 1/23/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > yes and i rechecked it in. > Because the file you checked in

Re: [Wicket-user] spring integration question

2007-01-23 Thread Johan Compagner
johan On 1/23/07, Frank Bille <[EMAIL PROTECTED]> wrote: On 1/23/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > it is strange isn't it > now you fixed it so it works on the server Hmm.. and it works on my machine as

Re: [Wicket-user] VOTE: IModel and 'model object' name change

2007-01-23 Thread Johan Compagner
We already have a getValue on formcomponent that is the input value from the request or the model object as a string (just the latest value) So then that also has to be renamed. (and relearned) I think getModelObject() is just what it says. (besides the getModel() call we also have!) else it shou

Re: [Wicket-user] Exception on WebResponse Outputstream

2007-01-23 Thread Johan Compagner
you can't just write to something in the constructor (thats in the event/request phase) make a RequestTarget that outputs that what you want and set that request target as the response request target on the request cycle RequestCycle.get().setRequestTarget(new IRequestTarget() { void respond(R

Re: [Wicket-user] spring integration question

2007-01-22 Thread Johan Compagner
h(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) On 1/22/07, Frank Bille <[EMAIL PROTECTED]> wrote: Hehe ok. I guess "I'll fix it tonight" is to late for you, huh? ;o) Frank On 1/22/07, Jo

Re: [Wicket-user] Tracking session expire exception

2007-01-22 Thread Johan Compagner
same page, in each one of them, click on page 2, > and see the page map being the same :) > > Marc > > P.S. : I included only the source directory since it would be too big to > include everything! Just change the src directory of a quickstart project. > > On 1

Re: [Wicket-user] spring integration question

2007-01-22 Thread Johan Compagner
I already fixed it The surefire plugin now uses a bit older version: 2.1.3 And suddenly everything is cleaned up (see bamboo) now really only one thing is failing. johan On 1/22/07, Frank Bille <[EMAIL PROTECTED]> wrote: On 1/22/07, Johan Compagner <[EMAIL PROTECTED]> wr

Re: [Wicket-user] spring integration question

2007-01-22 Thread Johan Compagner
yes: http://jira.atlassian.com/browse/BAM-732 they say it is a maven error??? johan On 1/22/07, Frank Bille <[EMAIL PROTECTED]> wrote: On 1/22/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > http://wicketstuff.org/bamboo/browse/WICKET2X-WICKET/latest > Ok, that

Re: [Wicket-user] [wicket 1.2.4] is it possible to use attributeapender on RadioChoice?

2007-01-22 Thread Johan Compagner
use RadioGroup and append it on all the Radio's instead of the group. johan On 1/22/07, Nino Wael <[EMAIL PROTECTED]> wrote: Hi I want to append something on my RadioChoice's onclick method. If I just add the attributeappender then the base markup container gets appended: Problem is

Re: [Wicket-user] spring integration question

2007-01-22 Thread Johan Compagner
see: http://wicketstuff.org/bamboo/start.action and then: http://wicketstuff.org/bamboo/browse/WICKET2X-WICKET/latest don't look at the 85 errors. as far as i can see it is only one. But thats a Bamboo bug. johan On 1/22/07, Frank Bille <[EMAIL PROTECTED]> wrote: On 1/2

Re: [Wicket-user] spring integration question

2007-01-22 Thread Johan Compagner
i already fixed this by not using a file at all but just directly the inputstream All test are running fine now on my windows machine. Can somebody with a mac or linux look why there are still one or two test failing? It has to do something with encoding i guess. johan On 1/16/07, Frank Bille

Re: [Wicket-user] DataView modelChanged

2007-01-21 Thread Johan Compagner
once the size() is requested and then iterator() is requested (so that are 2 calls to the dataprovider) And if you know the set is not that large you can do it in one sql call instead of 2. (and not all db's are supporting start and limit in sql anyway so you need to query them) johan On 1/18/0

Re: [Wicket-user] Abort Ajax Operation

2007-01-21 Thread Johan Compagner
and how do they that then? Do you program in your code something like: while(dosomemorestuff) { // do something more } and then by another request you set that boolean that it needs to be stopped? this does not really work currently because we lock the session, so that nobody have to worry abo

Re: [Wicket-user] Multiple sessions from one client

2007-01-20 Thread Johan Compagner
But then in wicket we should have support for that, that you can say: no url encoding for this page at all in this request. So that the login page will be completely sessionless when it comes back in and after that you will have 2 jsessionid's in the 2 browsers yes. But Wicket should be able to a

Re: [Wicket-user] Customizing StringValidator

2007-01-19 Thread Johan Compagner
So you are using the Range StringValidator? /** * Gets a String range validator to check if a string length is between min * and max. * * If that is not the case then an error message will be generated with the * key "StringValidator.range" and the messages keys that can be us

Re: [Wicket-user] Race Conditions and Detachable Models

2007-01-19 Thread Johan Compagner
And the locking on session should or can be removed i guess. Because it is not really used anymore.. Because the lock for the component hierarchy is done on the pagemap level when the page is get from the session. But i can't completely see what happens if we really remove it But if we move Sessi

Re: [Wicket-user] creating a mountBookmarkablePage with PageMap

2007-01-18 Thread Johan Compagner
if you change that. Then do that on more places: BookmarkablePageLink (set the page map also needs the pagemap itself) And that is also stupid. The pagemap shouldn't be created when creating the link, only when clicking on it. and the urlFor methods? johan On 1/18/07, Igor Vaynberg <[EMAIL P

Re: [Wicket-user] Reloading Jars

2007-01-17 Thread Johan Compagner
and this should be fixed in 1.3 and 2.0 johan On 1/17/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: Don't deploy with DEVELOPMENT mode. Martijn On 1/17/07, suranjay <[EMAIL PROTECTED]> wrote: > > Our webapp running on Resin-pro 3.0.21 uses Wicket 1.2.4. > Our server often gets saturated w

Re: [Wicket-user] Adding multiple behaviors fails

2007-01-16 Thread Johan Compagner
add an attributemodifer that sets some javascript for the same attrs, then it overrides the callback completely. you cant not think in javascript without a good abstraction from it. -igor On 1/16/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > Yes the idea i mentioned above > Don&

Re: [Wicket-user] ApacheCon Europe 2007

2007-01-16 Thread Johan Compagner
+1 On 1/16/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: lets rewrite it in wicket -igor On 1/16/07, Martijn Dashorst <[EMAIL PROTECTED] > wrote: > > s/Martijn/Alexandru/ and we have exactly the same dialog. > > Martijn > > On 1/16/07, Alexandru Popescu <[EMAIL PROTECTED]> > wrote: > > On

Re: [Wicket-user] Adding multiple behaviors fails

2007-01-16 Thread Johan Compagner
gt; > you can say, lets just append them, but what if the first behavior's > script > > > includes return statements for all paths? then the second script is > never > > > called. > > > > > > we either need a more powerful js-generator that can

Re: [Wicket-user] Tracking session expire exception

2007-01-16 Thread Johan Compagner
Now, the output look like this : I access the index page first time : index Page map is :null correct. I access the index page from another tab : index Page map is :null index Page map is :wicket-0 correct. First is rendered in default pagemap. Then we detect a new window and do a bookmark

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-16 Thread Johan Compagner
8859-1. Regards Nino -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Johan Compagner *Sent:* 15. januar 2007 13:24 *To:* wicket-user@lists.sourceforge.net *Subject:* Re: [Wicket-user] skandinavian characters encoding lost... by default wicke

Re: [Wicket-user] Adding multiple behaviors fails

2007-01-15 Thread Johan Compagner
yes this is how it works now Maybe we could somehow merge it on the server side when we see 2 behavior attached to the same event only generate for one but also call the other.. johan On 1/15/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: Hi, In my current application I added 2 AjaxFormComp

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Johan Compagner
by default wicket does everything in UTF-8 What is your page encoding when you see your webpage? (page info in FF) If you use tomcat you need some other configuration (use utf 8 encoding in request params) but thats only for GET request not post. johan On 1/15/07, Nino Wael <[EMAIL PROTECTED]>

Re: [Wicket-user] Wicket Exceptions

2007-01-15 Thread Johan Compagner
inally doesnt swallow it. Juergen On 1/15/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > do you have a quickstart? > can you see what version do you use? (390 is not a code line in the code i > am now looking at) > > But looking at the cod

Re: [Wicket-user] DropDownChoice inconsistent value returned

2007-01-15 Thread Johan Compagner
To many people come from the Swing world, with its Cell renderers :( that has to be of course: Not to many people haven't used Swing, with its Cell renderers :( (where it is based on) johan - Take Surveys. Earn Cash. In

Re: [Wicket-user] DropDownChoice inconsistent value returned

2007-01-15 Thread Johan Compagner
to quickly do it right in your example: you should do it in reverse. so this: for(;i public class DateDropDownChoice extends DropDownChoice implements Serializable { // values to go into the hidden value attribute in the HTML option tag // AND to go into the model/database final sta

Re: [Wicket-user] Wicket Exceptions

2007-01-15 Thread Johan Compagner
do you have a quickstart? can you see what version do you use? (390 is not a code line in the code i am now looking at) But looking at the code around that line: try { this.xmlReader = new XmlReader( new BufferedInputStream(resource.getInputStream(), 4000), e

Re: [Wicket-user] API break for 1.3 and 2.0: Session constructor

2007-01-14 Thread Johan Compagner
Yeah that doesn't look to difficult ;) On 1/14/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: On 1/14/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > * Method WebApplication#newSession is made final and will be removed > in the near future. Instead, use WebApplication#newSession. So don'

Re: [Wicket-user] error deleting cookie when calling deletWicketCookie

2007-01-12 Thread Johan Compagner
thats really old... those cookies are not used anymore thats now done based on the window name. johan On 1/12/07, Nino Wael <[EMAIL PROTECTED]> wrote: This is running wicket 1.2 btw, I'll try to remember version numbers in the original mails from now on. Regards Nino

Re: [Wicket-user] mountBookmarkablePage causing Exception

2007-01-12 Thread Johan Compagner
thats a weird error because looking at the stacktrace you go through WicketServlet.doGet() and this is done there: // First, set the webapplication for this thread Application.set(webApplication); So i have no idea how that then can suddenly be null again. Please set a breakpoint

Re: [Wicket-user] Problems making a form reset button

2007-01-10 Thread Johan Compagner
ate logic, then you have to > implement that. What are you going to do with int, long, double, > float? make it 0? make it -1? > > Defaulting to false is very context dependent, and shouldn't be > implemented as such. > > Martijn > > On 1/9/07, Johan Compagner <[EMA

Re: [Wicket-user] java.lang.IllegalStateException: Attempt to set model object on null model of component

2007-01-10 Thread Johan Compagner
on of your components doesn't have a model where the data that comes from the browser can be stored into. so you use something like this: TextField field = new TextField("textfield") instead of this: TextField field = new TextField("textfield", new Model()) that constructor without the model

Re: [Wicket-user] Expiring Pages

2007-01-09 Thread Johan Compagner
igor and his hacks.. On 1/9/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: really you need to figure out how to configure this in your container, but in case you hit a brick wall in your basepage add an ajax timer behavior that pings every 20 mins or so, make it stop after 3 hours. the fact that

Re: [Wicket-user] confusing AjaxFallbackLink API

2007-01-09 Thread Johan Compagner
So you make your AjaxFallbackLink that does this: class MyAjaxFallbackLink() { protected void onClick(AjaxTarget target) { if (target == null) { onFallbackClick(); } else { onAjaxClick(target); } } protected void onFallbackClick(); protected void onAjaxClick(AjaxTa

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-09 Thread Johan Compagner
yes or see whats different with the code i posted and patch your tester. On 1/6/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > but it can be that it is purely 1.3 > So I need to wait for version 1.3 you mean? - Take Survey

Re: [Wicket-user] Pagination not working

2007-01-09 Thread Johan Compagner
are you returning the right thing in the IDataProvider.iterator(offset,length) method? Because the second time the offset shouldnt be 0 but 3 johan On 1/9/07, snkr subedi <[EMAIL PROTECTED]> wrote: Hi, i am new to this mailling list as well as Wicket so sorry if the question is not worth the

Re: [Wicket-user] Problems making a form reset button

2007-01-09 Thread Johan Compagner
icket.Component;( Component.java:2042) > at > wicket.markup.html.form.FormComponent.updateModel()V(FormComponent.java :840) > at > nl.amsterdam.rbrb.web.form.FormPanel$5.component(Lwicket.Component ;)Ljava.lang.Object;(FormPanel.java:214) > <--- the line with formComponent.updateModel(); > &

Re: [Wicket-user] Problems making a form reset button

2007-01-09 Thread Johan Compagner
form.FormPanel$5.component(Lwicket.Component ;)Ljava.lang.Object;(FormPanel.java:214) <--- the line with formComponent.updateModel(); Regards, Erik. Johan Compagner wrote: > why do you want to call updateFormComponentModels? > You also want to clear all model data? So the models already d

Re: [Wicket-user] Stateless wicket [was] Re: Wicket2 and Wicket 1.2.x

2007-01-09 Thread Johan Compagner
Problems there and rellay want to thank you for your time > spent on > > things like that, > > > > Regards > > > > > > > > > > > > Von: [EMAIL PROTECTED] > > [mailto: [EMAIL PROTECTED] Im > > Auftrag

Re: [Wicket-user] Problems making a form reset button

2007-01-09 Thread Johan Compagner
why do you want to call updateFormComponentModels? You also want to clear all model data? So the models already did get some data from a previous request? (i take the reset button has setDefaultFormProcessing(false) ?) but why not do this: form.visitChildren(FormComponent.class, new Component.IV

Re: [Wicket-user] IChoiceRenderer error , somthing about generic

2007-01-08 Thread Johan Compagner
if i look at this: new DropDownChoice (form, "columnId", columnMangerService.selectAllColumnInfo(), new ColumnRender()); then it seems to me that columnId is a id (integer) So it doesn't hold a ColumnInfo object but the id of that object. Then your choice renderer is wrong. If this is

Re: [Wicket-user] Wicket2 and Wicket 1.2.x

2007-01-08 Thread Johan Compagner
But what has this to do with 2.0? 1.3 also has the exact same stateless support as 2.0 so also the same problems And yes the Indexed one is the thing that i still need to fix. Will look it as soon as i can. Als that url encoding stuff is also bothering me. We do it now all over the place and in a

Re: [Wicket-user] question about ajax update ListView

2007-01-08 Thread Johan Compagner
you just can't use a multipart form. You have to post the data so you need to use a submit, but ajax can't submit multipart johan On 1/8/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote: I allow user add some row in the form, so I nested a ListView in the form with a addrow button. when user cli

Re: [Wicket-user] ListView

2007-01-05 Thread Johan Compagner
try: *new* CheckGroup("sectorCheckGroup", new Model()); the check group doesn't have a model where it can store the values in. johan On 1/5/07, Lost Still Lost <[EMAIL PROTECTED]> wrote: Hello I'm Yuri. I was trying to make use of a ListView instance to get checkboxes for strings that I hav

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-05 Thread Johan Compagner
<[EMAIL PROTECTED]> wrote: On 12/28/06, Carfield Yim <[EMAIL PROTECTED]> wrote: > On 12/27/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > which version of wicket is that? > > That should be fixed. > > Wicket 1.2.3, may be I should upgrade to 1.2.4 >

Re: [Wicket-user] Letting users download flat file

2007-01-04 Thread Johan Compagner
TECTED] *On Behalf Of *Johan Compagner *Sent:* Thursday, January 04, 2007 3:59 AM *To:* wicket-user@lists.sourceforge.net *Subject:* Re: [Wicket-user] Letting users download flat file you can use the ResourceStreamRequestTarget for that now and use setFileName() for setting the filename. joh

Re: [Wicket-user] PageExpired

2007-01-04 Thread Johan Compagner
can users also go forward again? Because those pages will be gone then it is a stack. I would just monitor which pages goes out of the stack at what time. in 1.3 with the new SecondLevelCache this wouldn't happen at all. All pages can be found again. johan On 1/4/07, Nino Wael <[EMAIL PROTECTE

Re: [Wicket-user] Letting users download flat file

2007-01-04 Thread Johan Compagner
you can use the ResourceStreamRequestTarget for that now and use setFileName() for setting the filename. johan On 1/4/07, Frank Silbermann <[EMAIL PROTECTED]> wrote: I am trying to make a button responde by downloading text to the user which is saved as a .txt file. Igor suggested I look at

Re: [Wicket-user] Naviagtion TreeAjax Component

2007-01-02 Thread Johan Compagner
We already have hybrid urls. They are used for the stateless forms and links. So i think if we have an option on the tree where you could say generate stateless links then those links would be hybrid urls. But they are bookmarkable links like you normally have because those are pointing to the re

Re: [Wicket-user] Current Wicket-Examples 2.0 and slf4j

2007-01-02 Thread Johan Compagner
but that is stupid for examples We should provide a default impl for our examles Examples should run out of the box. johan On 1/2/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: You probably have to select a SLF4J implementation yourself. You can find implementations on http://www.slf4j.org/.

Re: [Wicket-user] What is the meaning of versioned?

2007-01-02 Thread Johan Compagner
if versioning is enabled for a component then any changes to it (visibility flag or model changes) are recorded and the page version where the component is a child of is incremented. Then when the page is rendered or better said urls pointing to that page is rendered get that version number of the

Re: [Wicket-user] Possibility of creating a dynamic picture through Wicket ?

2007-01-01 Thread Johan Compagner
just run the examples yourself then. johan On 1/1/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: Thanks for the answers. I still don't manage to access the wicket library but I'll try from somewhere else tomorrow. :) Do you have any feedback in terms of time of generation and server side cost

<    1   2   3   4   5   6   7   8   9   10   >