Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Matej Knopp
I think this should be somehow possible to do, without altering wicket in any way. I'd like to see your progress here :) There is a problem, though, that Johan has already pointed out, that if you use syntax like /signin/home, etc.. You have to treat all urls in your markup (images, javascript

Re: [Wicket-user] Homepage URL bug?

2005-08-16 Thread Matej Knopp
You can map you servlet to myApp/ e.g. WicketServlet /myApp/ but you must be aware, that all external resources (css, js, images) will be one level "deeper". -Matej Jan Bares wrote: Hi, I am not servlet API guru, but there's something strage in URL handling in wick

Re: [Wicket-user] Setting component visiblity according to model

2005-08-20 Thread Matej Knopp
Your onToBeNamed() method already exists, and it's called onBeginRequest() :) -Matej Ralf Ebert wrote: Hi, you may override Form.onRender() or Form.onComponenTagBody(). First do your check and set components invisible/visible and than call the super implementation. I had another case where

Re: [Wicket-user] Setting component visiblity according to model

2005-08-20 Thread Matej Knopp
Hmm.. You may be right. I'm using REDIRECT_TO_RENDER strategy. thus for me, this is working well. But I understand this doesn't work with REDIRECT_TO_BUFFER. -Matej Ralf Ebert wrote: Hi, Your onToBeNamed() method already exists, and it's called onBeginRequest() :) onBeginRequest() is cal

[Wicket-user] Do form components have to contain page id in their names?

2005-09-04 Thread Matej Knopp
Hi I just want to ask whether it is necessary for the form components to contain page id in their names? Isn't it sufficient to have page id specified only in form action? The fact is that the form components' names depend on the current page id and things like browser's autocomplete just don't

[Wicket-user] ListView, delete and redirect to buffer

2005-09-05 Thread Matej Knopp
Hi. For a long time I was working with render strategy set to REDIRECT_TO_RENDER. Now I've switched to REDIRECT_TO_BUFFER and found out, that removing items from ListViews no longer works. I've code like IModel customersModel = new LoadableDetachableModel() { protected Ob

Re: [Wicket-user] ListView, delete and redirect to buffer

2005-09-05 Thread Matej Knopp
_to_buffer isn't loaded twice because all is done in one request. customersModel.detach() should do the trick or remove the deleted customer specific from that model johan Matej Knopp wrote: Hi. For a long time I was working with render strategy set to REDIRECT_TO_RENDER. Now I

Re: [Wicket-user] ListView, delete and redirect to buffer

2005-09-05 Thread Matej Knopp
esn't seem good programming to me ;) can't you just have a reference directly to youre customersModel ?? johan Matej Knopp wrote: Okay, thank you, this works. Nevertheless putting getParent().getParent().getModel().detach(); to link handler doesn't seem very pretty. M

Re: [Wicket-user] ListView, delete and redirect to buffer

2005-09-05 Thread Matej Knopp
anyway. johan Matej Knopp wrote: sure I can have reference to customerModel by making it final. But I want to get as much garbe collected as possible at the end of request and making the reference final wouldn't help it much :) But considering the speed issue, maybe it is better to use

Re: [Wicket-user] Do form components have to contain page id in their names?

2005-09-05 Thread Matej Knopp
pdateModel. But it would be even easier, if getInput() wasn't final... Or if in XXX didn't contain page id. Any ideas? -Matej Matej Knopp wrote: Hi I just want to ask whether it is necessary for the form components to contain page id in their names? Isn't it sufficient to

Re: [Wicket-user] Do form components have to contain page id in their names?

2005-09-05 Thread Matej Knopp
id. Can anyone think of disadvantages of doing this? Eelco On 9/5/05, Matej Knopp <[EMAIL PROTECTED]> wrote: Okay, I'm not quite sure if I've expressed myself correctly. The problem is that browser's autocomplete is dependent on text input name, which changes accordi

Re: [Wicket-user] Do form components have to contain page id in their names?

2005-09-06 Thread Matej Knopp
I didn't want vote, just your opinions :) -Matej Eelco Hillenius wrote: Ah, yes :) Do you want to start a vote as a new message? It seems that votes are only picked up by people when there is a large VOTE: in the subject. Eelco On 9/6/05, Matej Knopp <[EMAIL PROTECTED]> wro

Re: [Wicket-user] Do form components have to contain page id in their names?

2005-09-06 Thread Matej Knopp
hey know that getId() is always unique then the can return that) ok? johan johan Matej Knopp wrote: Eelco Hillenius wrote: Yep. We could just strip the first nbr + '.'. That's not a big problem. nbr + ':' ;) Great. Thanks for quick and positive fe

Re: [Wicket-user] Re: Button.setDefaultFormProcessing inverted logic

2005-09-06 Thread Matej Knopp
Okay, I don't see a point of this discussion unless it's a vote, but I just liked setImmediate more :) It's less verbose and it seemed clean to me that it bypasses validation and model updates. -Matej David Liebeherr wrote: Hi Eelco, i think setDefaultFormProcessing is a very good name. I

[Wicket-user] PageParameters and Null Values

2005-09-07 Thread Matej Knopp
Hi. I don't know if this has been discussed yet. Using PageParameters and BookmarkablePageLinks I just found a strange feature. If there is null in PageParameters for argument foo, the url contains 'foo=null'. Is this deliberate? Wouldn't it have more sense if url didn't contain the foo valu

Re: [Wicket-user] Mismatched hierarchy

2005-09-21 Thread Matej Knopp
Well, eclipse highlights wicket:id fields. But as a warning, of course :) -Matej Eelco Hillenius wrote: Imagine having an IDE plugin that high-lights the wicket:id fields etc. Eelco On 9/21/05, Scott Sauyet <[EMAIL PROTECTED]> wrote: >> = Scott Sauyet <[EMAIL PROTECTED]> > = Ingram Chen <[

Re: [Wicket-user] DropDownChoice.setDisable ?

2005-09-23 Thread Matej Knopp
Yes, that would make sense. Another thing is that disabled elements don't get submitted, so there should be some handling of this (e.g. not update form component state when disabled, or something like that) -Matej Eelco Hillenius wrote: disabled is a standard html property of form elements. I

Re: [Wicket-user] Browser cache doesn't like Wicket "path"

2005-10-05 Thread Matej Knopp
Hi I think it would be nice to have a feature in 1.2 that would allow having single instance of certain pages. For example if I said that MyPage class is "singleton", bookmarkablePage=MyPage would search the PageMap if there is any instance of MyPage and if it's there, it would use it. Anothe

Re: [Wicket-user] Browser cache doesn't like Wicket "path"

2005-10-05 Thread Matej Knopp
Matej Knopp wrote: Hi I think it would be nice to have a feature in 1.2 that would allow having single instance of certain pages. For example if I said that MyPage class is "singleton", bookmarkablePage=MyPage would search the PageMap if there is any instance of MyPage and if it&#

Re: AW: Re: [Wicket-user] Re: Re: Page lifecycle notification

2005-10-12 Thread Matej Knopp
And how do you make sure that the hibernate connection is ever closed? You can't count on another http request, since it may never come. Will you put a hook on session expiration? -Matej [EMAIL PROTECTED] wrote: just curious what does this mean: "All I need is to be able to disconnect the

Re: [Wicket-user] replace ognl.

2005-10-30 Thread Matej Knopp
In my opinion, there's no need for another indirection. From what I've seen, new users are already confused about models, making them even more complicated isn't imho the way to go. I think that Ognl models should be separated from the core and put to extensions. That would also get rid of ogn

[Wicket-user] Abstract validator always throws MissingResourceException

2005-11-03 Thread Matej Knopp
Hi. I just want to ask, why AbstractValidator always throws missing resource exception when Validator message is not found. It virtually ignores application settings. Is this deliberate? During development it's quite inconvenient do deal with these exceptions. Is there any way to disable thi

Re: [Wicket-user] Abstract validator always throws MissingResourceException

2005-11-03 Thread Matej Knopp
ead which tests it and it seems to work. Defaults can be defined if the key is just RequiredValidator (the validators class name without any prefix). In case no other key is found, it'll be used as default. Juergen On 11/3/05, Matej Knopp <[EMAIL PROTECTED]> wrote: Hi. I just want to

Re: [Wicket-user] Abstract validator always throws MissingResourceException

2005-11-03 Thread Matej Knopp
Price Juergen On 11/3/05, Matej Knopp <[EMAIL PROTECTED]> wrote: If I put there something like RequiredValidator=XYZ it works. But that's not what I mean. The problem is, that I want to see in feedback something like * entry1.RequiredValidator value is missing * entry2.RequiredVa

[Wicket-user] Preserve form state

2005-11-12 Thread Matej Knopp
Hi. I know this has been discussed already, but still I'm opening it once more. I think there should be a way to preserve form state without validation and model updating. The use case is following. I have a (complex) form with some fields, that can not be entered directly, i.e. they have to

[Wicket-user] Component and FLAG_HAS_ROOT_MODEL

2005-11-14 Thread Matej Knopp
Hi. In Component class, the flag FLAG_HAS_ROOT_MODEL is set only if the model is CompoundPropertyModel. Why do we have ICompoundModel then? Shouldn't it only check if the model implements ICompoundModel? -Matej --- SF.Net email is sponsore

Re: [Wicket-user] Component and FLAG_HAS_ROOT_MODEL

2005-11-14 Thread Matej Knopp
: No because components can have a ICompoundModel but not be the root because they got there model from the root. (see initModel()) johan On 11/14/05, *Matej Knopp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi. In Component class, the flag FLAG_HAS_ROOT_MODEL i

Re: [Wicket-user] Component and FLAG_HAS_ROOT_MODEL

2005-11-14 Thread Matej Knopp
r wrote: Form form = new Form(); form.setModel(new MyCompoundModel); // set a compound model so it is the root! TextField tf = new TextField(); // no model! then tf.initModel() will get the forms model and use it as its own BUT it is not the root. johan On 11/14/05, *Matej Knopp* <[EMA

Re: [Spam] Re: [Wicket-user] Wicket thread safety

2005-11-14 Thread Matej Knopp
I assume he meant that multiple (different) threads can access the page/session during page lifecycle. But not during one request. -Matej Alexandru Popescu wrote: #: Johan Compagner changed the world a bit at a time by saying on 11/14/2005 6:18 PM :# at the same time. What do you mean?

Re: [Wicket-user] Component and FLAG_HAS_ROOT_MODEL

2005-11-14 Thread Matej Knopp
Okay, I should have written it in a different way. I just wasn't sure if it was a bug or an intention :) -Matej Johan Compagner wrote: ahh i read youre first message wrong because how it was written :) "Why do we have ICompoundModel then?" fixed it. johan On 11/14/0

Re: [Wicket-user] Preserve form state

2005-11-16 Thread Matej Knopp
do youre validation a bit different (it can't be between Form->Model but it has to be between TmpModel->RealModel This looks to me like a much better way to have multiply page forms... johan On 11/13/05, *Matej Knopp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

[Wicket-user] CompoundPropertyModel without OGNL in 1.1

2005-11-16 Thread Matej Knopp
Hi. My current "benchmark" shows that CompoundPropertyModel is a serious performance issue when having big dataview. Is there any chance that the new CompoundPropertyModel from 1.2 will be backported to 1.1? -Matej --- This SF.Net email is

Re: [Wicket-user] Preserve form state

2005-11-16 Thread Matej Knopp
I think this is not about updating model nor validating. It's about preserving http parameters, that are already sent. What I want to achieve is that you have kind of immediate button, that preserves the form attributes (exactly as they were filled by the user), but doesn't update model, nor v

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

2005-11-17 Thread Matej Knopp
ing the same app with 1.1 and 1.2? Thats nice to hear :) Backporting to 1.1.1 ... we could do it but it is a big change.. that could affect running installs (you can't just swap 1.1 to 1.1.1 then if you depend a bit more on ognl) This should be an issue where we should count votes! johan On

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] CompoundPropertyModel without OGNL in 1.1

2005-11-17 Thread Matej Knopp
old CompoundPropertyModels takes 330-400 ms and with new 40-80ms. Now that's a difference you can really feel. -Matej Matej Knopp wrote: 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

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

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Matej Knopp
ote: i still think in youre case you have to use a inbetween model There is no other way. Even if we stored it inside the form itself then that is the inbetween model And i don't know if i want to support that. On 11/16/05, *Matej Knopp* <[EMAIL PROTECTED] <mailto

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Matej Knopp
ite aware of that. Therefore this thread. What kind of validation/feedback issues would you have? I don;t think anything will really change in the validation and or feedback. On 11/17/05, *Matej Knopp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Well, having to do valid

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Matej Knopp
solution. But maybe i am missing something. johan On 11/17/05, *Matej Knopp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Okay, so if I understand you correctly, you suggest changing default form processing like this? - immediate button submitted:

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

2005-11-17 Thread Matej Knopp
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 and put it to my

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] 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 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 wicke

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
aida wrote: 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&

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
Your problem is really strange. As far as I know tomcat (and other servlet containers) put Last-Modified header to static resources automatically. I really don't know where was it lost. I suspect the connector. But have no experience with it, unfortunately. -Matej Matej Knopp wrote: Bu

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
se it doesn't know that the image hasn't changed. -Matej Alexandru Popescu wrote: #: 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

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
but this may be the cause. ./alex -- .w( the_mindstorm )p. On 11/17/05, Dorel Vaida <[EMAIL PROTECTED]> wrote: Dorel Vaida wrote: > Matej Knopp wrote: > >> Hi. Wicket is hardly responsible for the headers, that come with your >> (static) images. > I thought a little

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Matej Knopp
Alexandru Popescu wrote: On 11/17/05, Matej Knopp <[EMAIL PROTECTED]> wrote: Yes, but these tags only affects the html. As it's dynamically generated, it's all right to always fetch the new version. But with static images, there should be a header provided with the image,

[Wicket-user] wicket-contrib-jasperreports img resource bug

2005-11-20 Thread Matej Knopp
Hi, there's a bug in JRImageResource that the size of output image does not reflets the zoom. (It's always the same - iamage than gets cropped). I wanted to submit a bugreport and commit a patch but I can't even checkout the project from anonymous cvs (I've got the source code from web inter

Re: [Wicket-user] Wicket i18n at the page level

2005-11-21 Thread Matej Knopp
Having a component on every place localized text is, doesn't seem to be a very good solution for me. As well as not be able to localize button captions. The solution I've chosen was to translate the markup during parsing (using my own modified MarkupParser). This solution works quite well for

[Wicket-user] wicket-contrib-jaspperreports JRResource optimalization

2005-11-21 Thread Matej Knopp
Hi. There's a slight performace problem with JRResource, that it creates JasperReport in it's constructor. I've 10 resource links on one page so it means that 10 JasperReports will be initialized everytime page is created, even if none of them gets clicked. The performance penalty is not sma

Re: [Wicket-user] wicket-contrib-jaspperreports JRResource optimalization

2005-11-21 Thread Matej Knopp
Okay, once more, without antivirus message attached to java file and one unnecessary try/catch block :) Matej Knopp wrote: Hi. There's a slight performace problem with JRResource, that it creates JasperReport in it's constructor. I've 10 resource links on one page so i

Re: [Wicket-user] Hibernate paging

2005-11-21 Thread Matej Knopp
Hi, Have a look at wicket-extensions: DataView. You implement your own IDataProvider which can use hibernate paging. -Matej Juhani K wrote: Hi, what is recommended way to create pageable ListView for 1 database items? Is it possible to utilize Hibernate paging? ---

Re: [Wicket-user] wicket-contrib-jaspperreports JRResource optimalization

2005-11-21 Thread Matej Knopp
Checked it out, I really like it. Mine was just a quick hack ;) -Matej Eelco Hillenius wrote: Thanks. Much better now. I implemented a couple of small changes on top of it, please check out whether you agree (find the patch attached). Eelco Matej Knopp wrote: Hi. There's a s

Re: [Wicket-user] wicket-contrib-jaspperreports JRResource optimalization

2005-11-22 Thread Matej Knopp
ce. Or at least it should be mentioned in the javadoc? Any ideas? -Matej Matej Knopp wrote: Checked it out, I really like it. Mine was just a quick hack ;) -Matej Eelco Hillenius wrote: Thanks. Much better now. I implemented a couple of small changes on top of it, please check out whether

Re: [Wicket-user] wicket-contrib-jaspperreports JRResource optimalization

2005-11-22 Thread Matej Knopp
Uh, I forgot, PdfDataSource is final, so option B is not even an option now ;) Matej Knopp wrote: Btw, there's a problem with current implementation. After the report is done, you can't generated another report (e.g. clicking twice on the same link). Because datasource is the same a

[Wicket-user] DatePicker and opera

2005-11-23 Thread Matej Knopp
Hi, DatePicker doesn't work in opera. It shows a window with this error message: Calendar setup: Nothing to setup (no fields found). Please check your code. Has anyone a clue, what's going on? To me, it seems that somehow the javascript can't touch input field, even if the javascript is

Re: [Wicket-user] DatePicker and opera

2005-11-23 Thread Matej Knopp
uted, the input field is just not "initialized" yet. -Matej Eelco Hillenius wrote: Does the original jscalendar work in Opera? If it does, the problem is with the component, otherwise it is jscalendar. Eelco On 11/23/05, Matej Knopp <[EMAIL PROTECTED]> wrote: Hi, DatePicker does

Re: [Wicket-user] Preserve form state

2005-11-26 Thread Matej Knopp
Now this is great, I really like it ;) Thanks to everyone involved. -Matej Eelco Hillenius wrote: Also please note that we're in the middle of refactoring some of the wicket internals, and the solution as currently implemented might change a bit still (though hopefully only the internals). Hop

[Wicket-user] Datapicker warning

2005-11-27 Thread Matej Knopp
Hi. I'm using datepicker and I'm constantly getting this warning 17:46:32.146 WARN!! [SocketListener0-3] wicket.util.resource.UrlResourceStream.(UrlResourceStream.java:92) >22> cannot convert url: jar:file:/E:/Java/workspace/Cargo/WebContent/WEB-INF/lib/wicket-extensions-1.1.jar!/wicket/extens

[Wicket-user] Datepicker and opera

2005-11-27 Thread Matej Knopp
Hi. I found out, why the datepicker is not working in Opera. The problem is the wicket:id, that confuses opera. having document.getElementById('elementId') returns null. the (temporary?) solution now is to setStripWicketTags(true); Any ideas? -Matej -

Re: [Wicket-user] Datapicker warning

2005-11-28 Thread Matej Knopp
r hierarchy. So items that are in jars are not available to be changed thus the error is shown. You shouldn't see this in production when the polling feature is turned off. On Nov 27, 2005, at 9:06 AM, Matej Knopp wrote: > Hi. > > I'm using datepicke

Re: [Wicket-user] Datepicker and opera

2005-11-28 Thread Matej Knopp
Doesn't work :( wicket:id is not problem for other elements, it seems just to cause problems with input. Maybe a bug in opera? -Matej Juergen Donnerstag wrote: may be http://wicket.sourceforge.net";> to define the namespace? Juergen On 11/27/05, Matej Knopp <[EMAIL PROTECT

[Wicket-user] Markup Parsing in 1.2

2006-01-19 Thread Matej Knopp
Hi, in 1.1, I had my own markup parser and XMLPullParser, that basically replaced all ${key} strings in Markup with the values from associated properties files. This no longer works for 1.2, because MarkupParserFactory.newMarkupParser does not provide the MarkupContainer, for which the mark

Re: [Wicket-user] Markup Parsing in 1.2

2006-01-19 Thread Matej Knopp
aner to use the resoource approach mentioned above. In case you have any difficulties implementing it, please let me know. Juergen Juergen On 1/19/06, Matej Knopp <[EMAIL PROTECTED]> wrote: Hi, in 1.1, I had my own markup parser and XMLPullParser, that basically replaced all ${key} strings

Re: [Wicket-user] threading question

2006-01-19 Thread Matej Knopp
Are you sure? At least in 1.1, I have a PDF report generator link, and while the pdf is generating, the session is locked and no other request (From the same user) can touch it, so all other requests are waiting. -Matej Eelco Hillenius wrote: That won't ever happen. It is not possible for the

Re: [Wicket-user] Markup Parsing in 1.2

2006-01-19 Thread Matej Knopp
Juergen Donnerstag wrote: On 1/19/06, Matej Knopp <[EMAIL PROTECTED]> wrote: Can't say I like the first approach much. When I was implementing the localization before, that was the first thing i tried. Didn't like it then, but maybe things have changed. Still, it won't

[Wicket-user] Back link problem again

2005-05-06 Thread Matej Knopp
expires after 10 detail pages are rendered. How can I (if there is a way) move the page to the front of session pages (so that other pages would expire sooner)? Recreating master page using BookmarkableLink is not a solution, since I need the master page remember it

Re: [Wicket-user] Back link problem again

2005-05-07 Thread Matej Knopp
xamples of the JDK's collections framework IMO. Check it out! Good luck, Eelco Matej Knopp wrote: Hi I know it's been discussed here already, but still I coudln't find a solution. The problem is that I've a detail page from which I want to have link to master page. The l

[Wicket-user] Page expired error

2005-05-18 Thread Matej Knopp
Hi. I'm getting a page expired error and I don't know why. I'm using wicket RC2. Every page expires on 10th reload. This only happens with internet explorer. Mozilla and Opera can reload the page as many times as needed with no problems. No other pages are created or reloaded, but the page stil

Re: [Wicket-user] WebPage and iframes

2005-06-26 Thread Matej Knopp
I think the point is not to reload entire page, just the part that has changed. IMHO a better solution than IFRAMEs would be to use AJAX, although it will take a while until wicket supports AJAX (1.1 I guess?) Eelco Hillenius wrote: Just for my understanding why would you actually want to

[Wicket-user] Hide real URL filter

2005-06-27 Thread Matej Knopp
t javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; /** * * @author Matej Knopp * @version */ public class URLFilter implements Filter { // The filter configuration

Re: [Wicket-user] Hide real URL filter

2005-06-27 Thread Matej Knopp
Hmm.. It seems that disabled back button works only in Firefox/Mozzila and Internet Explorer. In opera the back button works even when the URL is the same. Matej Knopp wrote: Hi, I've developed a servlet filter that hides the real URL from the user. The real url is stored in the se

Re: [Wicket-user] Hide real URL filter

2005-06-27 Thread Matej Knopp
e problem is that i don't want to disable the backbutton. The back button is a fact of live. It is what the users are used to what the know. if i go from a list page to a detailpage i want to be able to use the back button to go back to the listpage. johan - Oorspronkelijk bericht - Van:

Re: [Wicket-user] Hide real URL filter

2005-06-27 Thread Matej Knopp
-control header? Christopher L Merrill wrote: Matej Knopp wrote: In such application, in every detailpage there should be a link to masterpage, that properly updates the masterpage and IMHO user should only get there this way. Can't you accomplish the same thing using the "Cache-c

Re: [Wicket-user] page basics

2005-06-30 Thread Matej Knopp
Norbert Sándor wrote: Hi, Hi Someone please help to understand the basics :) As I see, a new instance of a page is created for each request. So how and where can I store the state of the page? The instance of a page is created only once. Then it's stored in pagemap. It's not recreated on e

Re: [Wicket-user] Struts vs Wicket

2005-06-30 Thread Matej Knopp
Hi. I've read the article and I agree but I think maybe there should be mentioned the page-expiring thing. In MVC framework, usually the page state is not stored on server. So if you have one page, open another in different window, work with the later one and then return to previous window,

Re: [Wicket-user] page basics

2005-06-30 Thread Matej Knopp
Norbert Sándor wrote: one sulution can be like this. add (new Link ("{id}") { public void onClick () { getRequestCycle ().setResponsePage ({existing-page}); getRequestCycle ().setRedirect (true); } }); From where can I get the {existing-page} instance? Hmm.. maybe I could write a short examp

Re: [Wicket-user] Struts vs Wicket

2005-06-30 Thread Matej Knopp
normal single window/frame app a page expire is not very common (you have to go back 9 pages or something, you can configure that) And that looks fine to me (i think 4 levels is already more then most users are doing) johan Matej Knopp wrote: Hi. I've read the article and I agree but I

Re: [Wicket-user] page basics

2005-06-30 Thread Matej Knopp
n every page, with links to each page. How can it be solved using this pattern? Where should I store the page instance references in this case, if I want to go to the same instance of PageX from any page? Br, Norbi - Original Message - From: "Matej Knopp" <[EMAIL PROTECTE

[Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
be placed in "edit" pagemap, white all other pages would be placed in default pagemap. The EditPage instances will not be created using bookmarkable links so the pageMap attribute can't be used. The setPageMap function of page is marked as internal (so I'm not supposed t

Re: [Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
elative to use in that window. if this usage doesn't work for you, can you explain why? Matej Knopp wrote: Hi Is there any way to specify the pagemap name for certain page class/instance? I know there's a pageMap query parameter for bookmarkable page but that does not seem suffic

Re: [Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
r -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matej Knopp Sent: Thursday, June 30, 2005 5:10 PM To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] Specify pagemap for page class Hi Is there any way to specify the pagemap name for certain pa

Re: [Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
; } ? i think this expresses what you want in a better way. Matej Knopp wrote: Okay, I won't touch it :) Only thing I want to do is to say that all pages of class EditPage will be in different pagemap than other pages. That all. I don't really want to mess with pagemap internals. Jona

Re: [Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
aced in pagemap) Jonathan Locke wrote: btw, why is this a problem? is it new browser windows? because popups and frames should work fine with pagemaps... Matej Knopp wrote: I'm not quite sure. What if user opened 10 different edit pages and all of them would have isExpirable() returning fa

Re: [Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
, why is this a problem? is it new browser windows? because popups and frames should work fine with pagemaps... Matej Knopp wrote: I'm not quite sure. What if user opened 10 different edit pages and all of them would have isExpirable() returning false? Would it mean that no other pages cou

Re: [Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
request. this might take care of the new browser window problem without any of this expiration/pagemap/lru business... Jonathan Locke wrote: btw, why is this a problem? is it new browser windows? because popups and frames should work fine with pagemaps... Matej Knopp wrote: I'm not

Re: [Wicket-user] Letters for hangman?

2005-07-04 Thread Matej Knopp
I don't understand, what's the point of converting wicket-example into series of independent netbeans projects. Wouldn't it be simpler to create one netbeans web project, copy the source code from wicket examples into new project's src folder and also copy the contents of the web folder (inclu

Re: [Wicket-user] Problems with encoding and forms

2005-07-07 Thread Matej Knopp
Try changing the rendering strategy to REDIRECT_TO_RENDER and see if it works. I've had similiar problem and this solved it. But beware if you're using hibernate, redirect to render may cause problems with lazy initialized properties. Johan Compagner wrote: I have couple of questions: 1. Wh

[Wicket-user] Another page expiration thoughts

2005-07-07 Thread Matej Knopp
Looking at my application I just realized one thing. Almost each of my pages contains a reference to instance of another page. Let me make an example: All my details pages contain references to the master page instance. This is because I want to preserve the master page state (filter settings

Re: [Wicket-user] Another page expiration thoughts

2005-07-07 Thread Matej Knopp
and want to continue working with it. You can't because it's expired. It's no longer in the pagemap. But the detail pages (which are still in the pagemap) contain references to it. (Or at least in my application they do). On 7/7/05, Matej Knopp <[EMAIL PROTECTED]> wrote:

Re: [Wicket-user] Another page expiration thoughts

2005-07-07 Thread Matej Knopp
master/detail pages. Matej Knopp wrote: Juergen Donnerstag wrote: I'm not an expert on this topic, but why is setResponsePage(back); setRedirect(true) not sufficient? I'm using constructs like setResponsePage(new MyPage()) from time to time and seems to works fine. Does the "bac

[Wicket-user] Component that would render in multiple tags

2005-07-10 Thread Matej Knopp
Hi, is it possible to make a component (derived from WebMarkupContainer) that would render in multiple tags? e.g. I have the following markup Something and the result would be Something Something Many thanks. -Matej --- This SF.Net emai

Re: [Wicket-user] Component that would render in multiple tags

2005-07-10 Thread Matej Knopp
This is something I wanted to avoid. I don't want the component to carry any markup, I want it to use parent's markup. Phil Kulak wrote: Yup, use a panel. -Phil On 7/11/05, Matej Knopp <[EMAIL PROTECTED]> wrote: Hi, is it possible to make a component (derived from WebMarku

Re: [Wicket-user] Component that would render in multiple tags

2005-07-10 Thread Matej Knopp
owever, what you want is to let the component operate outside it's tag scope. I think Juergen can answer this best. In the mean time, could you please tell us about your use case? Eelco Matej Knopp wrote: This is something I wanted to avoid. I don't want the component to carry any

Re: [Wicket-user] how about the preformance of wicket?

2005-07-11 Thread Matej Knopp
Well, I've done a simple profiling usin JProfiler beta. Beware I've never done any java profiling before. From what I've seen it really doesn't seem that managin state is a big overhead. It seems that the markup rendering is the bottleneck. http://knopp.sk/calltrees.zip Here are the calltrees

Re: [Wicket-user] how about the preformance of wicket?

2005-07-11 Thread Matej Knopp
Could you please post somewhere the war file with logging disabled? I tried adding log4j.properties with the following content log4j.threshold=info log4j.debug=false into the wicket-benchmark class path but it helped only a little. It seems that I'm doing something wrong. Thank you. Chris Turn

Re: [Wicket-user] how about the preformance of wicket?

2005-07-11 Thread Matej Knopp
; debug="false"> Matej Knopp wrote: Could you please post somewhere the war file with logging disabled? I tried adding log4j.properties with the following content log4j.thre

Re: [Wicket-user] how about the preformance of wicket?

2005-07-11 Thread Matej Knopp
Hmm.. Using YourKit Java Profiler, wicket really is only marginaly slower. I wonder why JProfiler makes such a difference (on the highest accurate settings). Matej Knopp wrote: Thank you. The results I get are mixed. When editing acustomer entry and saving it, the performance is comparable

  1   2   3   4   5   6   7   8   >