Re: [Wicket-user] Problem with empty markupId

2006-08-09 Thread Pierre-Yves Saumont
Thank you Frank and Igor, this is where wicket differs from a lot of other frameworks and sometimes its hard to wrap your mind around it: the components are persistent across requests, they keep their state. Yes, it is somewhat hard ! In fact, I started from an example I found that used a

[Wicket-user] Performance/Scalability tips

2006-08-09 Thread Sebastjan Trepca
Hi all!We're starting a new project that will be quite big (1-2 million users) so now I'm choosing a web framework to use. It seems that Wicket is a very good framework but what worries me is the performance and scalability. I installed wicket-examples on my machine and stress-tested them a bit,

Re: [Wicket-user] Coding Authentification, Databinding and Role-related application behaviour

2006-08-09 Thread Gwyn Evans
Any chance you'd have time to add a V2.0 update to that effect here - http://www.wicket-wiki.org.uk/wiki/index.php/Spring :-) /Gwyn On 09/08/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i have recently deprecated springannotwebapp so this no longer should be a problem. now to get spring

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Gwyn Evans
There's this on the subject that Martijn posted a little while ago, http://www.nabble.com/Re%3A-Wicket-in-large-scale-production-scenarios--p5374359.html but maybe someone on the list might have more comments. The main technical issues are to ensure that you use detatched models to try be

Re: [Wicket-user] Coding Authentification, Databinding and Role-related application behaviour

2006-08-09 Thread Mats Norén
On 8/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i have recently deprecated springannotwebapp so this no longer should be a problem. now to get spring injection going you do this: class myapplication extends webapplication { init() { addComponentInstantiationListener(new

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Johan Compagner
I also stress tested the examples quite a lot. Which part did you test that you get an out of memory? And how much memory did you give your server?Memory usage can be cut down in several ways:1 use for heavy hit pages stateless pages (in 1.2 just use bookmarkable links and no forms on it), in 2.0

Re: [Wicket-user] Problem with Javascript function calls in AJAX loaded document with IE6

2006-08-09 Thread Matej Knopp
The problem here probably is that outerHTML in explrer doesn't execute the javascript located in the replacement string. Current svn version should fix this (as well as header contribution), so please try it and let us know whether it does work. -Matej Pierre-Yves Saumont wrote: Hello, I

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Sebastjan Trepca
I used the default resin3pro configuration. I tested it like this:ab2 -n 1000 -c 100 http://localhost:8080/wicket-examples-1.2/repeater?wicket:bookmarkablePage=:wicket.examples.repeater.DataGridPage It died after eating 100MB of memory and serving 600-800 requests*100 threads. The problem is also

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Korbinian Bachl
Hi Johan, 1 use for heavy hit pages stateless pages (in 1.2 just use bookmarkable links and no forms on it), in 2.0 you have much more choices for working stateless. question: is this done by using the mount functions in the init() of the application file ? Regards Von: [EMAIL

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Korbinian Bachl
He Sebastjan, where did you read about the detached models ? Regards Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Sebastjan TrepcaGesendet: Mittwoch, 9. August 2006 10:17An: wicket-user@lists.sourceforge.netBetreff: [Wicket-user]

Re: [Wicket-user] Unknown Exception -- Wicket 1.2.1

2006-08-09 Thread Jeremy Levy
I'm not doing anything like this programatically, do you mean a user is doing this via his browser? My guess is that someone is messing with the back button.. I have a form that had 3 panels, when a user completes the first it replaces the panel with the next. On 8/8/06, Eelco Hillenius [EMAIL

Re: [Wicket-user] Unknown Exception -- Wicket 1.2.1

2006-08-09 Thread Johan Compagner
that shouldn't matterWhat eelco says is that somebody is messing with the urls and tries to alter them and then sends them to the browser.johanOn 8/9/06, Jeremy Levy [EMAIL PROTECTED] wrote: I'm not doing anything like this programatically, do you mean a user is doing this via his browser? My

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Gwyn Evans
On 09/08/06, Korbinian Bachl [EMAIL PROTECTED] wrote: where did you read about the detached models ? Here's a good place to start - http://www.wicket-wiki.org.uk/wiki/index.php/Models#Detachable_Models. Then check the entries for the specific classes (e.g. AbstractDetachableModel) mentioned

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Johan Compagner
no mounting is just making a url nicely bookmarkable. It has nothing to do if the page that is rendered by it is stateless.johanOn 8/9/06, Korbinian Bachl [EMAIL PROTECTED] wrote: Hi Johan, 1 use for heavy hit pages stateless pages (in 1.2 just use bookmarkable links and no forms on it),

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Gwyn Evans
As Johan said, no. Take a look at the Javadocs for BookmarkablePageLink WebPage (links below) /Gwyn http://wicket.sourceforge.net/apidocs/wicket/markup/html/link/BookmarkablePageLink.html http://wicket.sourceforge.net/apidocs/wicket/markup/html/link/BookmarkablePageLink.html On 09/08/06,

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Johan Compagner
What is ab2 for a thing?It looks like you are 1000 times getting that same bookmarkable page for 100 threads?That page is because of the source code viewer link not stateless so you a creating pages that will go into the sessions. Now is the question does ab2 work with cookies or not? If not then

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Matej Knopp
Well.. ab2 is an apache benchmarking tool. But I'm under the impression that it's intended to measure the performance of static pages. It doesn't use cookies, does it? If I recall correctly there should be a possibility to specify a cookie value there, so you might be able to reduce the number

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Gwyn Evans
http://httpd.apache.org/docs/2.2/programs/ab.html I think you're correct with the params, but I've no idea about the cookies. I think that basic lesson is that the benchmark that was done is only of use if the OP intended to be serving the Wicket-Examples app out at that rate - otherwise a more

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Sebastjan Trepca
Well.. ab2 is an apache benchmarking tool. But I'm under the impression that it's intended to measure the performance of static pages. Yep, it's mostly used for creating traffic. Just a basic test of performance. The description of AB is: ab is a tool for benchmarking your Apache Hypertext

Re: [Wicket-user] Discussing Wicket

2006-08-09 Thread Frank Silbermann
Igor Vaynberg [EMAIL PROTECTED] 7/29/06: we do evangelize the OO wherever we can, but it mostly falls on deaf ears. have you ever seen a struts app? in most struts apps the notion of a class is used mostly as a namespace to group some functions together. its hard to explain something when

Re: [Wicket-user] Discussing Wicket

2006-08-09 Thread Frank Silbermann
You don't _need_ to know / use OO to program in Java or C++, but at least they _allow_ you to use OO in your programs. With all the reading I've done on JSF, I still don't have a clue as to the waysomeone who _wanted_ to use OO in structuring the presentation layer could do so. From:

Re: [Wicket-user] Buttons not responding in IE

2006-08-09 Thread Igor Vaynberg
is the button inside a form?-IgorOn 8/9/06, wicket21 [EMAIL PROTECTED] wrote:I 've tried it, but it doesn't work. To be more precise here is the code : --This code does NOT work with IE:Page1.html :...td align=rightinput type=submit wicket:id=proceedButton class=mybuttonfree/ /td...Page1.java

Re: [Wicket-user] Coding Authentification, Databinding and Role-related application behaviour

2006-08-09 Thread Igor Vaynberg
it will be in both 1.2.2 and 2.0its in svn right now...still working on support for portlets but webapps are ready to go.-IgorOn 8/9/06, Mats Norén [EMAIL PROTECTED] wrote:On 8/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i have recently deprecated springannotwebapp so this no longer should be a

[Wicket-user] problem with PopupCloseLink - wicket 1.2.1

2006-08-09 Thread Dipu
Hi All, I have migrated my application from the earlier version of wicket to the version 1.2.1. I am having bit of a problem with the popup pages and pop up close links. If i open a popup page and close it by clicking on the PopupCloseLink. The next attemptto open the pop up page loads

Re: [Wicket-user] Coding Authentification, Databinding and Role-related application behaviour

2006-08-09 Thread Igor Vaynberg
updated-IgorOn 8/9/06, Gwyn Evans [EMAIL PROTECTED] wrote: Any chance you'd have time to add a V2.0 update to that effect here- http://www.wicket-wiki.org.uk/wiki/index.php/Spring :-)/Gwyn On 09/08/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i have recently deprecated springannotwebapp so this no

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Juergen Donnerstag
It sure seems that sessions are used heavily, but i knew that anyway, from documentation. I don't think that sessions are used heavily compared to other web-apps. The difference is that Wicket does most of the Sessions tasks for you and it is consistent whereas with Struts etc you end up doing

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Igor Vaynberg
the advantage that wicket provides in session handling is that it evicts objects from it for you. what you had to put into a session in lets say a struts app to be accessed across requests you now put into a Page and pass references from page instance to page instance if it is needed across pages.

Re: [Wicket-user] no activity in wicket user list?

2006-08-09 Thread Frank Bille
On 8/9/06, Jaime De La Jara [EMAIL PROTECTED] wrote: Hi, just wondering what has happened to the mailing list?, the last post is from July 25 and there's been no activity since then.You mean on SourceForge? They are having problems with that. Use nabble instead:

Re: [Wicket-user] no activity in wicket user list?

2006-08-09 Thread Igor Vaynberg
in my mailbox last post was 30 minutes ago :) check your client.-IgorOn 8/9/06, Jaime De La Jara [EMAIL PROTECTED] wrote:Hi, just wondering what has happened to the mailing list?, the last post is from July 25 and there's been no activity since then. Ragards,Jaime. Do you Yahoo!? Next-gen

Re: [Wicket-user] Unknown Exception -- Wicket 1.2.1

2006-08-09 Thread Eelco Hillenius
Yep. I think someone was just playing around a bit. Maybe we shouldn't log big fat stacktraces for that unless in debug and/ or development mode? Eelco On 8/9/06, Johan Compagner [EMAIL PROTECTED] wrote: that shouldn't matter What eelco says is that somebody is messing with the urls and tries

Re: [Wicket-user] Coding Authentification, Databinding and Role-related application behaviour

2006-08-09 Thread Gwyn Evans
Thanks! On 09/08/06, Igor Vaynberg [EMAIL PROTECTED] wrote: updated - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier

Re: [Wicket-user] Discussing Wicket

2006-08-09 Thread Scott Swank
We have two applications that are largely the same. However, (along with some minor variations between them) they have completely different authentication strategies. The call center version entails logging in once at the start, while the retail version entails authenticating yourself every time

Re: [Wicket-user] Discussing Wicket

2006-08-09 Thread Frank Silbermann
As long as you separate the business logic (e.g. authentication rules) from the presentation logic (the HTML), you can use the base language's object-orientation with most any framework. The real winner for wicket is the use of object-orientation in the display logic. I think you may be onto

Re: [Wicket-user] Form + pull model ListView + FormValidators

2006-08-09 Thread Igor Vaynberg
joni_18912 ivaynberg: any opinions on IFormValidator issue? Currently it is very difficult to work with them if the components in a Form changeivaynberg joni_18912 i think what you suggest worksivaynberg but you do realize that you can implement that yourself by subclassing the form? ivaynberg we

Re: [Wicket-user] Unknown Exception -- Wicket 1.2.1

2006-08-09 Thread Levy, Jeremy
I don't think it was someone playing with the URL, I had a user write in a say that they got the error during registration. Jeremy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: Wednesday, August 09, 2006 12:22 PM To:

Re: [Wicket-user] Unknown Exception -- Wicket 1.2.1

2006-08-09 Thread Johan Compagner
if you can reproduce it then somehow so that i can look at it?johanOn 8/9/06, Levy, Jeremy [EMAIL PROTECTED] wrote:I don't think it was someone playing with the URL, I had a user write in a say that they got the error during registration.Jeremy-Original Message-From: [EMAIL

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Eelco Hillenius
It died after eating 100MB of memory and serving 600-800 requests*100 threads. That is probably because - like said elsewhere in this thread - a new session was started for every request. The problem is also that the CPU was on 100%. Hmm, that's interesting. We (or rather Johan and Jonathan)

Re: [Wicket-user] Unknown Exception -- Wicket 1.2.1

2006-08-09 Thread Eelco Hillenius
How does that registration work? Any way you can think of how the URL got corrupted like that? Eelco On 8/9/06, Levy, Jeremy [EMAIL PROTECTED] wrote: I don't think it was someone playing with the URL, I had a user write in a say that they got the error during registration. Jeremy

Re: [Wicket-user] Performance/Scalability tips

2006-08-09 Thread Johan Compagner
The problem is also that the CPU was on 100%.Hmm, that's interesting. We (or rather Johan and Jonathan) really worked hard at making Wicket as efficient as possible. Even with thewhole object tree creation etc it should still perform very well. Ifyou find certain hotspots, please share.I think

[Wicket-user] Wicket URLs without request cycle / Errors in onEndRequest

2006-08-09 Thread Ralf Ebert
Hi, two tricky problems I'm just perplexed at after trying to figure it out for some hours: 1) I want to generate a url for a wicket page without a request cycle. I can access the web application, but no request is active (think about a mail notification from a headless scheduled service

[Wicket-user] AjaxSelfUpdatingTimerBehaviour problems

2006-08-09 Thread Per Ejeklint
Folks,I have an index page (listing a number of devices) with a self-updating table using AjaxSelfUpdatingTimerBehaviour like this: WebMarkupContainer tblContainer = new WebMarkupContainer("taptable"); tblContainer.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(4)));

Re: [Wicket-user] Wicket URLs without request cycle / Errors in onEndRequest

2006-08-09 Thread Johan Compagner
1) I want to generate a url for a wicket page without a request cycle.I can access the web application, but no request is active (think about a mail notification from a headless scheduled service containinga wicket link). I don't want to hardwire the link in the code, I wouldlike to refer to the

Re: [Wicket-user] Dynamic Markup

2006-08-09 Thread Johan Compagner
dont push component resolvers to much because i think we need to drop that or greatly change it in 2.0johanOn 8/8/06, Eelco Hillenius [EMAIL PROTECTED] wrote:On 8/8/06, Eelco Hillenius [EMAIL PROTECTED] wrote: markup is cached, but you can tweak that by tweaking MarkupResourceStreamLookupResult,

Re: [Wicket-user] Dynamic Markup

2006-08-09 Thread Eelco Hillenius
Okay, let's forget about this feature in that case. Eelco On 8/9/06, Johan Compagner [EMAIL PROTECTED] wrote: dont push component resolvers to much because i think we need to drop that or greatly change it in 2.0 johan On 8/8/06, Eelco Hillenius [EMAIL PROTECTED] wrote: On 8/8/06,

[Wicket-user] Ajax Submit default to Non Ajax Submit ?

2006-08-09 Thread Pierre-Yves Saumont
Hello, I am still trying to make my Ajax form working, with no success until now. I have made a simple example that works in a standalone page. I have then copied this example in a page of my app, and it don't work. What is surprising is that no code in the Ajax OnSubmit handler is executed,

[Wicket-user] 业务!寻找合作伙伴!

2006-08-09 Thread szgw1717sz
贵公司负责人(经理/财务)您好: 我是深圳市中信实业有限公司;每月有增值税电脑发票、海关缴款书和普通商品销售税发票 (电脑运输、其它服务,广告,租赁业)优惠向外代开或合作,点数较低.更希望能够有机会与 贵公司合作!如贵司在发票的真伪方面有任何疑虑或担心,可上网查证或我司直接与贵司去税务 局抵扣核对.彼此合作一次,必成永久朋友!多谢合作!如有打扰,敬请原谅。 此信息长期有效,如须进一步洽商: 详情请电(24小时业务热线):013424331717 [EMAIL PROTECTED] 联系人:陈志荣 顺祝商祺!

Re: [Wicket-user] Form + pull model ListView + FormValidators

2006-08-09 Thread Johan Compagner
This code is extremely ugly!Everytime you render the page the form gets a new FormValidator because everytime the listview is populated..Do setReuseItems(boolean reuseItems) to true on the ListView.And if you remove them yourself you should be able to also delete the validator from the form

Re: [Wicket-user] Form + pull model ListView + FormValidators

2006-08-09 Thread Igor Vaynberg
and because the listview might remove items for you as well if they have been deleted from the database by someone else :)-IgorOn 8/9/06, Johan Compagner [EMAIL PROTECTED] wrote: This code is extremely ugly!Everytime you render the page the form gets a new FormValidator because everytime the

[Wicket-user] ExternalLink weirdness

2006-08-09 Thread Ittay Dror
in ExternalLink.onComponentTag, if the href is not null, this is the code: // or generate an onclick JS handler directly tag.put(href, Strings.replaceAll(hrefValue.toString(), , amp;)); first, the comment seems odd second, why replace '' with 'amp;'? can't i have an href like