Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Dorel Vaida
Alexandru Popescu wrote: #: Martijn Dashorst changed the world a bit at a time by saying on 11/17/2005 9:55 PM :# I see on the home page 'Cache-Control no-cache'. Is this there for a special reason? How does this affect the browser? Martijn afaik these headers instruct the browser t

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Eelco Hillenius
Oh, and one of the by products we plan for us writing Wicket In Action is a useable reference manual. Something that doesn't conflict our interests with Manning of course, but that serves as a good point of finding how to do things in Wicket. Re looking for support: I am currently thinking setting

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Eelco Hillenius
Martijn and I are writing Wicket In Action currently. We're not using the gradual examples thing like e.g. Tapestry In Action has because we don't like it that much. Maybe Martijn more than me, but I thought such a book-wide example is too far fetched to be useful. Personally, I am much more charme

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Igor Vaynberg
irt spring+hibernate+wicket: Dan is absolutely correct when he says that wicket should never touch hibernate directly. all the hibernate-related logic should stay inside spring and be exposed directly through a dao object or through a service facade. i think wicket-contrib-data and wicket-contrib-

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Dan Gould
Sam Gendler wrote: ... The nice thing is that if examples use a fairly generic DAO abstraction, it should be possible to provide nice examples that aren't dependant upon any particular suite of technologies. Just describe the DAO interface and then use those them to access standard POJOs. Obvio

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Laurent PETIT
Whoops, the missing test files in attachment ... :-) On 11/18/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: > OK, now I have a first attempt to submit. > > It is what "could" be considered as a cleaner way to address Matej's > initial problem. > But it is a hack to the core, so it's normal that I'v

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Laurent PETIT
OK, now I have a first attempt to submit. It is what "could" be considered as a cleaner way to address Matej's initial problem. But it is a hack to the core, so it's normal that I've come up with something cleaner I think. And as it's a modification to the core, it's also more error-prone. It is

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Sam Gendler
OK, I'll try to be more helpful in my criticism... Having finally found wicket-stuff, I was able to spend some time looking at the code that addresses my needs (hibernate integration most specifically), and I'm feeling a little more comfortable. More importantly, I'm going to have to write sampl

Re: [Wicket-user] Re: ComponentFeedbackMessageFilter

2005-11-17 Thread Martijn Dashorst
Hmm the code we were looking at was: class MyFbPanel extends FeedbackPanel { private final Component component; MyFbPanel(String id, Component c) { super(id); this.component = c; } protected IFeedbackMessageFilter getFeedbackMessageFilter() { return new C

Re: [Wicket-user] Redirecting to Intercept Page from within a Panel

2005-11-17 Thread Andrew Berman
Yeah, that's what I did instead and it worked. Thanks, AndrewOn 11/17/05, Johan Compagner <[EMAIL PROTECTED]> wrote: redirectToInterceptPage() should only really be used in the checkAccess() page If you want to return to a page. Why not give the page that is Editing the Shipping address the pag

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ Wi

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Alexandru Popescu
ourceforge.net > >>> >>> https://lists.sourceforge.net/lists/listinfo/wicket-user > >>> >>> > >>> >> > >>> >> > >>> >> > >>> >> --- > >>> >> This

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
ist > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
sit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user __ NOD32 1.1290 (20051117) Information __ Thi

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Alexandru Popescu
#: Martijn Dashorst changed the world a bit at a time by saying on 11/17/2005 9:55 PM :# I see on the home page 'Cache-Control no-cache'. Is this there for a special reason? How does this affect the browser? Martijn afaik these headers instruct the browser to fetch the page for each hi

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Martijn Dashorst
I made a copy of the sources on my local disk, and removed those meta-tags. It didn't help :-( It probably is a configuration issue. Did you test on a alternate system, and do you have the same problem there? Martijn On 11/17/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > I see on the home p

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Alexandru Popescu
#: Matej Knopp changed the world a bit at a time by saying on 11/17/2005 8:28 PM :# No, he is not using resource reference. The site worked, just a while ago. The image was a static image, served by the http server, just without the right headers. -Matej Matej can you add some more detail

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Martijn Dashorst
I see on the home page 'Cache-Control no-cache'. Is this there for a special reason? How does this affect the browser? Martijn On 11/17/05, Dorel Vaida <[EMAIL PROTECTED]> wrote: > Dorel Vaida wrote: > > > Matej Knopp wrote: > > > >> Hi. Wicket is hardly responsible for the headers, that co

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Martijn Dashorst
On 11/17/05, Scott Sauyet <[EMAIL PROTECTED]> wrote: > It's not that the documentaion doesn't exist. Much does, and much of it > is pretty good. But it's rather difficult to find. I'll try to address this issue soon, preferably this week, but I have some obligations that are just as important pu

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
om/?ad_id=7628&alloc_id=16845&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user __ NOD32 1.1290 (20051117) Information __ This message was checked by NOD32

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
But you don't have the wicket servlet mapped to the images url, so it has no way to affect the images. Another thing that comes to my mind is that maybe you have a servlet filter that can cause this, but it doesn't seem probable to me. Could you send your web.xml? -Matej Dorel Vaida wrote: D

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Dorel Vaida
Dorel Vaida wrote: Matej Knopp wrote: Hi. Wicket is hardly responsible for the headers, that come with your (static) images. I thought a little and maybe, but just maybe, the images are not cached because of the way wicket forms the urls and everything ... I'm sorry, I can't help you here

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Laurent PETIT
On 11/17/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > do you really want that seperating also in the html? > (with all those spans?) No, not sure it's what I definitely want, I'm still in the brainstorming process, as I said. > Looking at youre example and guessing what the smartform (and t

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Dorel Vaida
Matej Knopp wrote: Hi. Wicket is hardly responsible for the headers, that come with your (static) images. I'm sorry, I can't help you here, I've very little experience configuring apache, nor the connector - mod_jk2. I understood that, thanks alot, I'll investigate, still, you've mentioned t

Re: [Wicket-user] Redirecting to Intercept Page from within a Panel

2005-11-17 Thread Johan Compagner
redirectToInterceptPage() should only really be used in the checkAccess() page If you want to return to a page. Why not give the page that is Editing the Shipping address the page instance where it came from and where he should return to? so youre link click: setResponsePage(new MyPage(this));

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Johan Compagner
do you really want that seperating also in the html? (with all those spans?) Looking at youre example and guessing what the smartform (and the button in it does) IT is the same, the smart form is just the holder of the components just as i said my List object inside a button would be. It is just

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
Hi. Wicket is hardly responsible for the headers, that come with your (static) images. I'm sorry, I can't help you here, I've very little experience configuring apache, nor the connector - mod_jk2. Good luck. -Matej Dorel Vaida wrote: Matej Knopp wrote: Hi. What does wicket have with the

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Dorel Vaida
Matej Knopp wrote: Hi. What does wicket have with the image? It isn't served by wicket, is it? Agree, unfortunately the only thing that changed from the other web applications deliverred by the same server and this one is ... the web framework used. It is wicket, instead of struts or anythi

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
No, he is not using resource reference. The site worked, just a while ago. The image was a static image, served by the http server, just without the right headers. -Matej Juergen Donnerstag wrote: The online page throws an exception. Are you using a resource reference(!) and not a plain resou

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Juergen Donnerstag
The online page throws an exception. Are you using a resource reference(!) and not a plain resource? Check out PackagedResourceReference. Juergen On 11/17/05, Dorel Vaida <[EMAIL PROTECTED]> wrote: > Hi all, I've deployed my first application with wicket. However, I have > a BIG annoying performa

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
Hi. What does wicket have with the image? It isn't served by wicket, is it? Check your app server settings, it just seems that it's not sending right http headers with the image. Hmm.. Now I see that the server is Apache with mod_jk2. So check apache configuration. Adding LastModified header t

Re: [Wicket-user] Redirecting to Intercept Page from within a Panel

2005-11-17 Thread Juergen Donnerstag
I guess redirectToInterceptPage() is not the right method than. E.g. SignIn2 example is an example use case for this method. redirectToInterceptPage() in the context of SignIn2 is used to return (forward) to the original page which the user tried to open, before Wicket detected that the user must l

[Wicket-user] performance problem - urgent

2005-11-17 Thread Dorel Vaida
Hi all, I've deployed my first application with wicket. However, I have a BIG annoying performance problem with it, and it is visible just in production. We have a pretty big picture on the top of the page, a 200k gif, which is LOADED again and again on every page, it's not cached. On every oth

Re: [Wicket-user] Wicket for tapestry users

2005-11-17 Thread Eelco Hillenius
A lot of tbd :) I think if you want to compare, there's nothing that beats taking a look at code. Wicket has e.g. a hangman example and a component reference (part of wicket-examples); if you take a look at that code, and maybe try something yourself, you should get a fairly good idea. Some of the

Re: [Wicket-user] CompoundPropertyModel without OGNL in 1.1

2005-11-17 Thread Matej Knopp
Well, the numbers I've sent are rought, I know, I didn't profile it. It's just a filter that checks how much time does it take to process a request. The only change between the two numbers was that I switch old CompoundPropertyModel to new model (called FastCompoundPropertyModel to distinguis

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Igor Vaynberg
are you pointing tortoise to the right place? cvsroot sf.net/cvsroot/wicket-stuff as opposed to sf.net/cvsroot/wicket-stuff/wicket-stuff ? the latter is for the wicket-stuff website itself. eclipse, for example, has no problems listing all the modules when i point it to sf.net/cvsroot/wicket-stuff.

Re: [Wicket-user] CompoundPropertyModel without OGNL in 1.1

2005-11-17 Thread Eelco Hillenius
How about the percentage it takes up in comparison of the total computing for one request? Any other bottlenecks you can identify? Or was - like Johan said - OGNL one of the biggest hurdles? Eelco On 11/17/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Okay, I took CompoundPropertyModel from 1.2 an

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Scott Sauyet
Igor Vaynberg wrote: Or take the whole CVS issue. We all know that Sourceforge's CVS can get very annoying. I've been able to download the wicket-contrib modules that I know about, but I've never been able to get a comprehensive list of such modules. SF always tells me that the

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Eelco Hillenius
It would be nice if this thread ended up with some recommendations on how the (default) form processing itself might be enhanced in order to support complex validation/ model updating. Just a note to say that it's okay to send in patches that touch wicket-core :) Eelco -

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Igor Vaynberg
and dont forget irc.freenode.net #wicket   there is usually someone who can answer your question there if you are looking for more of a real time conversation. -Igor

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Laurent PETIT
On 11/17/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > youre "SmartForms" are just what i described as and Array/List inside a > button > so that a button knows what to valdate when it gets pressed. Certainly, it is an attempt to generalize this solution. But you're not fair when you say that

[Wicket-user] Redirecting to Intercept Page from within a Panel

2005-11-17 Thread Andrew Berman
I currently have a confirmation panel which allows a user to click a link and go to another page to edit their shipping address, but I want them to return to the confirmation panel (part of a page) after they edit their shipping address.  So, I added a link to the panel with its onClick() method sa

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Martijn Dashorst
OK, thanks for your feedback. We'll try to integrate them soon (better sooner than later). Martijn On 11/17/05, Scott Sauyet <[EMAIL PROTECTED]> wrote: Martijn Dashorst wrote:> But how do we know what kind of documentation to write when we don't> know what you are looking for?I think part of the p

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Igor Vaynberg
Or take the whole CVS issue.  We all know that Sourceforge's CVS can getvery annoying.  I've been able to download the wicket-contrib modules that I know about, but I've never been able to get a comprehensive listof such modules.  SF always tells me that the list is not available, butI've never fou

Re: Re: [Wicket-user] My take on Spring integration

2005-11-17 Thread Igor Vaynberg
done. -Igor On 11/17/05, Christian Essl <[EMAIL PROTECTED]> wrote: On Wed, 16 Nov 2005 23:50:11 -0800, Igor Vaynberg<[EMAIL PROTECTED]> wrote:>> http://cvs.sourceforge.net/viewcvs.py/wicket-stuff/wicket-contrib-spring/src/java/wicket/contrib/> here i can see the proxy/injection/spring packages, so

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Matej Knopp
Because I want form components to do the validation, not the model. I want the form code to be as close to an ordinary wicket form as possible. That means that components themselves do the validation, not the model. If I used the default process button, the action (like showing "Choose" scree

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Scott Sauyet
Martijn Dashorst wrote: But how do we know what kind of documentation to write when we don't know what you are looking for? I think part of the problem is that the documentation is not as easily found as I for one would like. For instance, from the front page of the Wicket site, if I want to

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Johan Compagner
why use a non default process button? (immediate?) If you have a in between model then all youre buttons can just be normal once that just doe simple validation (or non) to the in between model Then have one (or more) buttons that knows about that in between model And if that button is pressed it c

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Matej Knopp
Okay, so if I understand you correctly, you suggest changing default form processing like this? - immediate button submitted: validate(); if (hasError(); { markFormComponentsInvalid(); onError(); } updateFormComponentsFakeModel(); // this is executed

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Johan Compagner
youre "SmartForms" are just what i described as and Array/List inside a button so that a button knows what to valdate when it gets pressed. On 11/17/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: Thanks a lot for having sent the source code.I'll check it ASAP (but not before next week, I fear), becau

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Johan Compagner
it is not really a "model" in what you normally call a model. Now you are holding everything in those attributes What is then then? That is also a model but integrated into the form' I find that a bit uglier.. What kind of validation/feedback issues would you have? I don;t think anything will real

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Laurent PETIT
Thanks a lot for having sent the source code. I'll check it ASAP (but not before next week, I fear), because I'm *very* interested in encapsulating the behaviour you're talking about in a reusable package. I already have some ideas under the cover, but I'm far to having good knowledges of Wicket i

Re: [Wicket-user] Wicket for tapestry users

2005-11-17 Thread Marco van de Haar
I don't really know if it's up to date, but you could check http://www.wicket-wiki.org.uk/wiki/index.php/For_Tapestry_Users in the Wicket wiki Marco Detlef Schulze wrote: Sorry, should read: "tapestry and wicket or wicket and WebObjects" of course ... -Original Message- *Fr

Re: [Wicket-user] Re: ComponentFeedbackMessageFilter

2005-11-17 Thread Marco van de Haar
Tnx for clariffying that, im using the CVS version currently, but I could check if it works with 1.1. But I find it far more likely that "I" am overlooking some small thing... I'll will reexamine my code. is there any example which uses this, or a simple peice of code example I could check? M

Re: [Wicket-user] CompoundPropertyModel without OGNL in 1.1

2005-11-17 Thread Johan Compagner
Very very nice! then what i did see in the profiler also is very real in the real world! And there is also another factor that you will only really see if the load is high.. and that is that there is also the same factor how many memory is gc'ed! johan On 11/17/05, Matej Knopp <[EMAIL PROTECTED]>

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Matej Knopp
Well, having to do validation in model seems like a step backwards from what I have now. There are already validators that can be attached to objects, no to mention, that I would have issues with feedback, etc. I still don't think layered model is a way to go. Currently, I have a solution, tha

RE: [Wicket-user] Wicket for tapestry users

2005-11-17 Thread Detlef Schulze
Title: Message Sorry, should read: "tapestry and wicket or wicket and WebObjects" of course ... -Original Message-From: Detlef Schulze Sent: Donnerstag, 17. November 2005 12:59To: wicket-user@lists.sourceforge.netSubject: [Wicket-user] Wicket for tapestry users Hi,  

Re: [Wicket-user] Re: ComponentFeedbackMessageFilter

2005-11-17 Thread Matej Knopp
Well, it's little more complicated. FeedbackPanel doesn't use the filter directly. It uses FeedbackMessagesModel to feed the ListView, and that model uses the Filter. Nevertheless, overriding getFeedbackMessageFilter worked well for me. Which version of wicket are you using? I'm using 1.1 and

[Wicket-user] Wicket for tapestry users

2005-11-17 Thread Detlef Schulze
Title: Message Hi,   the last projects I was involved I implemented with tapestry.   I am of the opinion that it is important (and interesting) to check once in a while what the "competitors" are doing  ;-)   So the question is: Is anybody aware of some online resources where tapestry and wi

Re: [Wicket-user] Re: ComponentFeedbackMessageFilter

2005-11-17 Thread Marco van de Haar
I thought I did that: //in constructor, where fc is the desired component filter = new ComponentFeedbackMessageFilter(fc); and protected IFeedbackMessageFilter getFeedbackMessageFilter() { return filter; } I copied this method from FormComponentFeedbackIndicator where it seems to w

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Martijn Dashorst
But how do we know what kind of documentation to write when we don't know what you are looking for? Component reference is there. Wiki contains several good docs on the inner workings, spring, hibernate, creating custom components. If you and other users to be don't ask for specific documentation

Re: [Wicket-user] CompoundPropertyModel without OGNL in 1.1

2005-11-17 Thread Matej Knopp
Okay, I took CompoundPropertyModel from 1.2 and put it to my project, so that I can directly compare CompoundPropertyModel from 1.1 and 1.2. And Johan, you are going to like the result :) It's pretty impressive. On one page (with DataView - 7 columns and 10 rows), the rendering with old Compo

Re: [Wicket-user] Re: ComponentFeedbackMessageFilter

2005-11-17 Thread Matej Knopp
Of course it is possible. Just override getFeedbackMessageFilter on it and provide your own message filter. -Matej Marco van de Haar wrote: Does anyone know if it is at least possible to make a custom FeedbackPanel which displays messages only for a specific component? I want to make an exte

Re: [Wicket-user] localization problem

2005-11-17 Thread Juergen Donnerstag
I can not test it right now, but it should work. Besides file.ro_RO.properties => file_ro_RO.properties Juergen On 11/17/05, Dorel Vaida <[EMAIL PROTECTED]> wrote: > I'm developing a localized web application, where the use can change the > language he wants the content to be displayed. However,

Re: Re: [Wicket-user] My take on Spring integration

2005-11-17 Thread Christian Essl
On Wed, 16 Nov 2005 23:50:11 -0800, Igor Vaynberg <[EMAIL PROTECTED]> wrote: http://cvs.sourceforge.net/viewcvs.py/wicket-stuff/wicket-contrib-spring/src/java/wicket/contrib/ here i can see the proxy/injection/spring packages, so its up to date. Thanks now I can also check it out. One final

Re: [Wicket-user] CompoundPropertyModel without OGNL in 1.1

2005-11-17 Thread Matej Knopp
Okay, I understand. Actually, I don't really want OGNL CompoundPropertyModel to be replaced. I just want to have the possibility of non-ognl compound property model in 1.1. So maybe It could be added to wicket-extensions? -Matej Martijn Dashorst wrote: I'd rather finalize 1.2 sooner, cutting

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Sam Gendler
Yeah, partially you are just seeing my frustration at the framework evaluation process. I know struts backwards and forwards, but the deficiencies of that framework are all too well known. The same goes for webwork. I really want to use a component based framework, but echo/echo2 just doesn't have

[Wicket-user] Re: ComponentFeedbackMessageFilter

2005-11-17 Thread Marco van de Haar
Does anyone know if it is at least possible to make a custom FeedbackPanel which displays messages only for a specific component? I want to make an extended FeedbackPanel which only shows messages for Component fc. See code below. But when I display my panel I see the feedbackmessages for ALL

[Wicket-user] localization problem

2005-11-17 Thread Dorel Vaida
I'm developing a localized web application, where the use can change the language he wants the content to be displayed. However, if the localized message doesn't exist in the currently locale file (e.g. file.ro_RO.properties) wicket will not fall back to the default localized message which is i