Re: [Wicket-user] VOTE on wicket:component

2007-02-15 Thread Juergen Donnerstag
wicket:container is available for 2.x. Juergen On 2/14/07, RĂ¼diger Schulz [EMAIL PROTECTED] wrote: Jonathan Locke schrieb: [X] Delete this unimportant and generally unsupported feature [ ] Keep wicket:component, but define its limits, document it on the wiki as fully supported and

Re: [Wicket-user] Form submitted normally and via AJAX? (Wicket 1.2.5)

2007-02-15 Thread Charlie Dobbie
Hi Igor, The processing of the submitted data is handled in the same way, but the following page navigation must be different. If in a standard request, I'll need to setResponsePage() to the next page, but an AJAX request will just want to ModalWindow.close(). Error handling is also going to

Re: [Wicket-user] AutoCompleteTextField and special characters -solution

2007-02-15 Thread Nino Wael
A really low guess would be that the web container does not handle the url encoding but it still manages to work some places because of some browser encoding. We also saw the problem you had, if user pressed the back button of the browser(IE6 only). Later we discovered that IE 6 does not

Re: [Wicket-user] Webby is cool

2007-02-15 Thread Chris M
Oops, sorry. I am the author of webby and webby4db. As my daytime job is not related too much to wicket and webby, I am not too actively reading this mailing list either. Thanks for the positive feedback btw. Please have a look at my latest blog post (http://r8fe.net/wordpress/?p=13) to see

Re: [Wicket-user] AutoCompleteTextField and special characters - solution

2007-02-15 Thread Matej Knopp
My guess would be that AjaxCompleteTextField doesn't use POST to send the entered string to server, it uses get instead. Which means that the string is part of URL. -Matej Flemming Boller wrote: Hi I just wanted to share a little trick with you guys who might also be struggling with

Re: [Wicket-user] Testing Wicket with JMeter

2007-02-15 Thread Nino Wael
Hi Frank Hows it going along? Could you define some time?:) Thanks.. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Bille Sent: 14. februar 2007 12:29 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Testing Wicket

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread ChuckDeal
Yeah, I've been using the long session support that Nathan has been working on in DataBinder. I had been having real problems using ModalWindows and Ajax events on the page because the Session was tied to a specific thread (physical page) and in some cases (like ModalWindow that uses a Page)

Re: [Wicket-user] AutoCompleteTextField and special characters - solution

2007-02-15 Thread Flemming Boller
You are right Matej. Also the in javascript I can see that the url encoding only takes place when NOT using MSIE.. I have no idea why, but I will try and see if I can somehow change the javascript so autocomplete worx wihout changing tomcat server.xml. /Flemming On 2/15/07, Matej Knopp

Re: [Wicket-user] Testing Wicket with JMeter

2007-02-15 Thread Nino Wael
Hmm as someone earlier stated. I too seem to have problems with the pages where wicket appends something like : wicket:interface=:18:: to the url. Now this is strange since we have had this working earlier. Im running wicket 1.2.4, fixing it the the cookie manager does not help. Any tips on

Re: [Wicket-user] Testing Wicket with JMeter

2007-02-15 Thread Nino Wael
Ahh found the problem!!! I didnt close my browser between Jmeter recordings. So wicket of course incremented the interface:xx: each time, because it was the same session. When a new user the comes and asks for the same page it of course aren't there... hmm I really guess we should write a

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread ChuckDeal
Johan Compagner wrote: post the problems here, i will try to fix them asap. johan Wicket 1.3 (revision 507915) 08:24:05,419 ERROR Objects:1053 - Error serializing object class com.csc.aims.specchange.wicket.SpecChangePage [object=[Page class =

Re: [Wicket-user] Testing Wicket with JMeter

2007-02-15 Thread Frank Bille
Sorry. Some time means today or tomorrow. (hopefully) Frank On 2/15/07, Nino Wael [EMAIL PROTECTED] wrote: Hi Frank Hows it going along? Could you define some time?:) Thanks.. -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Frank

[Wicket-user] [datetime] DateConverter

2007-02-15 Thread ChuckDeal
I was trying to use the datetime.DateTextField and it was giving me a little grief when I was trying to use DateTime objects with it. It was my understanding that that datetime project was to be built around the joda package. Here is a patch the removes the java.util.Date stuff in an attempt to

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread ChuckDeal
I suppose it is worth noting that upon Eelco's suggestion, I now have the following lines in my Application.init() //Objects.setObjectStreamFactory(new WicketObjectStreamFactory()); // custom serialization Objects.setObjectStreamFactory(null); // jdk

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread Johan Compagner
ahh I guess that is a proxy class that by itself is not serializeable but we need to handle those i guess specially . will check it out johan On 2/15/07, ChuckDeal [EMAIL PROTECTED] wrote: I suppose it is worth noting that upon Eelco's suggestion, I now have the following lines in my

[Wicket-user] New Facebox private message

2007-02-15 Thread Facebox
Hello Sazib, * faesha has sent you a new private message. /go/admin/notifications/action=forwardm=1id=n4364497 faesha wrote: would u care to chat?br / br / Regards, Have fun on Facebox! The Facebox Team You received

Re: [Wicket-user] Adding more roles to wicket-auth-roles

2007-02-15 Thread Matt Welch
From my perspective, what would be most useful would be some documentation beyond the auth-roles example regarding implementing custom authentication and authorization schemes. Now that I have some experience, perhaps I'll take a stab at that myself, however I'm still completely new to Wicket,

[Wicket-user] Your Facebox password

2007-02-15 Thread Facebox
Hello Sazib, You just asked to send you the password of your Facebox account. Here are your details: Nickname: Sazib Password: dummypass Have fun on Facebox! The Facebox Team Keep this password safe and don't

[Wicket-user] Your Facebox password

2007-02-15 Thread Facebox
Hello Sazib, You just asked to send you the password of your Facebox account. Here are your details: Nickname: Sazib Password: dummypass Have fun on Facebox! The Facebox Team Keep this password safe and don't

[Wicket-user] Ajax Component Display Question

2007-02-15 Thread spencer.c
I have a form on my page, and I would like to display a usage hint to the user when they enter the field, and remove it when they exit the field. This isn't validating behavior, just some rich interaction. As best I can tell, the correct thing to do would be: i) Create two

Re: [Wicket-user] Form submitted normally and via AJAX? (Wicket 1.2.5)

2007-02-15 Thread Igor Vaynberg
yes there is a better way. you should handle it inside the button's onsubmit not inside the form's onsubmit. that way: add(new Button() { onsubmit() { setresponsepage(..) isvisible(){...}}); add(new AjaxSubmitButton(onsubmit(target) { window.close(target); } onerror(){...} isvisible() {..} }

Re: [Wicket-user] Ajax Component Display Question

2007-02-15 Thread Igor Vaynberg
i think the best thing to do is to use javascript for this rather then an ajax trip back to the server. i have done this exact thing in the past with mootools and it worked out very nicely. check out mootools and their tooltips class. what i did was copy and paste and rename that class, change

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread Nathan Hamblen
ChuckDeal wrote: I, as I'm sure Nathan would, welcome new ideas or approaches to that problem. Yep. But I don't think we can get around serializing the Hibernate session; even if it's stored directly in the Web session we have to assume that it could be serialized. And we found that keeping

Re: [Wicket-user] second level cache - why not to use ehcache

2007-02-15 Thread Andrew Klochkov
Johan Compagner wrote: and i am completely not suprised that ehcache was not performing better. How could it do that?? Where should the gain come from? The current impl really grows directly with the hardware you have. ehcache need to be tweaked exactly what your system can handle. What do

Re: [Wicket-user] second level cache - why not to use ehcache

2007-02-15 Thread Matej Knopp
I've already replaced that implementation. I can paste here one from my local history. Beware, this might not be the right version and I don't know ehcache very well, I'm pretty sure there are ways to do this better. Of course i've played with the cache configuration, this is probably not

Re: [Wicket-user] Form submitted normally and via AJAX? (Wicket 1.2.5)

2007-02-15 Thread Nathan Hamblen
You don't need to use the same object to factor out that code. Instead of passing the same form object between pages, you could have a base form class that adds the components you want, with a subclass for the modal window. Sometimes it's handy to have methods like protected Component

[Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-15 Thread Manu
Hallo, I have this web-flow sequences (two branches to the same leaf): [web-flow 1] WebPage1 WebPage2 [+Applet] WebPage3 [web-flow 2] WebPage1B [+Applet] WebPage2 [+Applet] WebPage3 The Applet is the same in all cases: is an Applet that digitally signs (windows keystore for certs) and

Re: [Wicket-user] Table with varrying number of columns

2007-02-15 Thread Ingo Adler
Igor Vaynberg wrote: http://wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=Awicket.examples.repeater.DataTablePage http://wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=Awicket.examples.repeater.DataTablePage -igor Thanks for the link. But it does not work right

Re: [Wicket-user] Table with varrying number of columns

2007-02-15 Thread Eelco Hillenius
The link got screwed up. It should be: http://wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=:wicket.examples.repeater.DataTablePage Eelco On 2/15/07, Ingo Adler [EMAIL PROTECTED] wrote: Igor Vaynberg wrote:

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread Eelco Hillenius
BTW, wicket serialization is still the default (Eelco had thought that JDK was the default as of revision 507700) I just found that out as well. And commited the change so that it is not the default anymore. Committers: please do not make this the default mechanism until we have had a vote

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread Eelco Hillenius
And thanks Wicket guys for looking in to this; I know that what we're doing is a little out there, but as Chuck said there are some pretty compelling uses for it, mostly in the class of ajax operations you want to perform tentatively, and commit later. Down the line I don't think this

Re: [Wicket-user] Adding more roles to wicket-auth-roles

2007-02-15 Thread Eelco Hillenius
On 2/15/07, Matt Welch [EMAIL PROTECTED] wrote: From my perspective, what would be most useful would be some documentation beyond the auth-roles example regarding implementing custom authentication and authorization schemes. Now that I have some experience, perhaps I'll take a stab at that

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread Eelco Hillenius
On 2/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: why is it dangerous? i hope that if you disconnect the session it doesnt hold a ref to sessionfactory anymore. session itself is pretty light - just a cache of loaded entities, it is the session factory that is a pretty heavy object you dont

[Wicket-user] FeedbackPanels in ListView

2007-02-15 Thread Aaron Hiniker
I am trying to create FeedbackPanel within each ListView component. The problem is how the visibility is handled... from what I understand, the order of events occurs like this: updateFeedback is called on my FeedbackPanel ListView re-creates all of my components, thus ignoring the visiblity

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread Igor Vaynberg
but those cached entities are the key :) because hib has to guarantee instance identity within the session scope - that cache is what makes the long-session pattern possible :) -igor On 2/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 2/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: why

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-15 Thread Igor Vaynberg
you shouldnt be calling setresponsepage inside constructors try RestartResponseException -igor On 2/15/07, Manu [EMAIL PROTECTED] wrote: Hallo, I have this web-flow sequences (two branches to the same leaf): [web-flow 1] WebPage1 WebPage2 [+Applet] WebPage3 [web-flow 2] WebPage1B

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread Eelco Hillenius
On 2/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: but those cached entities are the key :) because hib has to guarantee instance identity within the session scope - that cache is what makes the long-session pattern possible :) Sure, sure, it's all sane. However, you are probably the last

Re: [Wicket-user] Testing Wicket with JMeter

2007-02-15 Thread Frank Bille
A have created a very very basic page for Wicket and JMeter and attached the old test application I found. You are welcome to extend the page :) http://cwiki.apache.org/confluence/display/WICKET/Wicket+and+JMeter Frank On 2/15/07, Frank Bille [EMAIL PROTECTED] wrote: Sorry. Some time means

[Wicket-user] WAP interfaces?

2007-02-15 Thread Jesse Barnum
Could I use Wicket to build a WAP site, or is it exclusively for HTML? --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

[Wicket-user] Relative URL-s on the page stop working after HTTP POST

2007-02-15 Thread beboris
After 2 months of working with Wicket we almost felt like profies but now that we have to [loosely] integrate some pieces written by others we've got into one of those Wicket gotchas again... So, there is a simple home page with a simple javascript created by others, which we host inside our

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread Johan Compagner
thats just stupid IT IS IN SVN ONLY!! so now it will never be finished, never be tested i will stop working on it for now then johan On 2/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote: BTW, wicket serialization is still the default (Eelco had thought that JDK was the default as of

Re: [Wicket-user] second level cache - why not to use ehcache

2007-02-15 Thread Johan Compagner
and wicket caching does exactly that (if we started caching byte[] now instead of the pages that isn't very usefull at the moment) What it does, it tries to cache as much as possible as long as the jvm can handle No default predefined size that is different for every kind of system you deploy

Re: [Wicket-user] second level cache - why not to use ehcache

2007-02-15 Thread Johan Compagner
Where is the serialization part? I just see that you cache the page instance and nothing more. Thats a bit wrong. Because the SessionPageKey stores a version number But the page instance increments that version number everytime. So you can't assume that getPage() will return the one with the

Re: [Wicket-user] WAP interfaces?

2007-02-15 Thread Igor Vaynberg
i dont see why not. wicket's core is not tied to xml not html - it is basically a glorified templating engine. you might have to build your own components for ones that are different between html and wap. -igor On 2/15/07, Jesse Barnum [EMAIL PROTECTED] wrote: Could I use Wicket to build a

Re: [Wicket-user] Relative URL-s on the page stop working after HTTP POST

2007-02-15 Thread Igor Vaynberg
what happens if there is an error? how does wicket redirect back to that page? how is that back url generated? -igor On 2/15/07, beboris [EMAIL PROTECTED] wrote: After 2 months of working with Wicket we almost felt like profies but now that we have to [loosely] integrate some pieces

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread Eelco Hillenius
On 2/15/07, Johan Compagner [EMAIL PROTECTED] wrote: thats just stupid IT IS IN SVN ONLY!! And automatically snapshots. so now it will never be finished, never be tested We provide snapshots for people to use. We don't provide, say, stable builds or something similar. In fact we haven't

Re: [Wicket-user] custom serialization problem

2007-02-15 Thread Eelco Hillenius
snapshots or work directly from CVS. SVN of course - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through

[Wicket-user] Version1 and Page expired despite setVersioned(false) call in a WebPage constructor

2007-02-15 Thread beboris
We have a central WebPage, which is not supposed to be versioned. So, we call setVersioned(false) in all constructors for that WebPage, and Wicket, indeed, has only one version for that page, version number 1. However, it looks like somehow there is a logic inside the framework, which is not

[Wicket-user] Help wanted for testing custom serialization (Wicket 1.3)

2007-02-15 Thread Eelco Hillenius
Hi all, We're (Johan mostly) are experimenting with custom serialization to see whether we could speed things up a bit (which doesn't mean what we have now is bad btw). For anyone working on 1.3: we could use your help testing that feature. The only thing you need to do is turn it on on your

Re: [Wicket-user] Version1 and Page expired despite setVersioned(false) call in a WebPage constructor

2007-02-15 Thread Igor Vaynberg
best thing to do is to replicate it in a quickstart -igor On 2/15/07, beboris [EMAIL PROTECTED] wrote: We have a central WebPage, which is not supposed to be versioned. So, we call setVersioned(false) in all constructors for that WebPage, and Wicket, indeed, has only one version for that

Re: [Wicket-user] Relative URL-s on the page stop working after HTTP POST

2007-02-15 Thread beboris
Nothing happens. We stay on the same HomePage and display an error. Unfortunately, Wicket changes URL of the page though, so relative links stop working... (see a code snippet below, please) -bob HomePage extends WebPage ... LoginForm form = new Form() { ... @Override public void onSubmit()

Re: [Wicket-user] Relative URL-s on the page stop working after HTTP POST

2007-02-15 Thread Igor Vaynberg
mount the page using querystringcodingstrategy that way the link will be /index.html?wicket:pagemap... -igor On 2/15/07, beboris [EMAIL PROTECTED] wrote: Nothing happens. We stay on the same HomePage and display an error. Unfortunately, Wicket changes URL of the page though, so relative

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-15 Thread Carfield Yim
On 2/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you shouldnt be calling setresponsepage inside constructors try RestartResponseException -igor Other than setresponsepage(), there are also methods like getMarkupId() , which are not work properly in constructor. May be we can add flag for

Re: [Wicket-user] multiple rendering at same time

2007-02-15 Thread Eelco Hillenius
On 2/14/07, Scott Lusebrink [EMAIL PROTECTED] wrote: Would a WebResource not lock the rest of the application? Not if it is defined as a shared resource. If it is component bound - like Images use resources - it is. Ajax is not a possibility due to security requirements. This page is already

[Wicket-user] is there a way to read and then modify attributes of tags that do not have a wicket tag?

2007-02-15 Thread wouvlfe
i think i need some kind of html parser that will allow for replacement of certain parts of the html markup the goal is something like: 1) find all tags that have have a reference to some external resource attribute like img or link (even ones without a wicket tag) examples: foo1/bar/val link

[Wicket-user] [wicket 2.0] Roles#hasAnyRole( Roles roles ) question

2007-02-15 Thread Edward Yakop
Hi, I have the following code code Roles r = new Roles(); boolean hasAny = r.hasAnyRole( null ); /code Shouldn't this returned [true] as r doesn't have any roles? If [true] should be the correct value The following changes is needed. code public boolean hasAnyRole(Roles roles) { if