Re: [Wicket-user] Pass popup parameters from parent page

2007-02-21 Thread serban.balamaci
Thanks serban.balamaci wrote: Hi. I need to open a popup page that displays information that is related to parameters in the parent page. For example, a popuppage with a list of streets, and in the parent i would have a combo with counties ids, name and only the street in that county

[Wicket-user] Navigation between pages

2007-02-21 Thread Peter Klassen
Hi all, just one more trivial question; ;-) which possibilities do i got to navigate from one Webpage to another after an event is triggered? Thx in advance! Peter -- View this message in context: http://www.nabble.com/Navigation-between-pages-tf3265417.html#a9077014 Sent from the Wicket -

Re: [Wicket-user] Navigation between pages

2007-02-21 Thread Gohan
Well you could just use setResponsePage(new YourWebPage(..)); Peter Klassen wrote: Hi all, just one more trivial question; ;-) which possibilities do i got to navigate from one Webpage to another after an event is triggered? Thx in advance! Peter -- View this message in

Re: [Wicket-user] java.util.ConcurrentModificationException

2007-02-21 Thread Johan Compagner
that looks the problem. you are adding resource loaders in a page constructor?? why? You should do that in the Application.init() johan On 2/20/07, Konstantin [EMAIL PROTECTED] wrote: Code: private void initKeyMap(){ for (String aKeyMap : keyMap) {

Re: [Wicket-user] Navigation between pages

2007-02-21 Thread Nino Wael
You can also employ an easy way to go back to the previous page by passing the current page to the next page. It's been pretty useful for us. Or even telling the page which page to goto next. Small pseudo snipplet: public class mypage extends WebPage { public mypage(final Page Previous,

[Wicket-user] Session is valid?

2007-02-21 Thread Robert .
Hi, Is there a way to see if a session is still valid. I could only find the private sessionInvalidated so that's not available. One other related question is how to deal with a case like this: A user loads the login page and goes away for a while. Later he comes back and tries to login.

[Wicket-user] ExceptionErrorPage throws java.lang.NoClassDefFoundError

2007-02-21 Thread Andrew Klochkov
I got the following exception when wicket tries to build ExceptionErrorPage, I'm using wicket 1.3 fresh from SVN. 15:50:11.468 WARN!! Error for /quickstart/app/ java.lang.NoClassDefFoundError: Lwicket/protocol/http/request/urlcompressing/UrlCompressor; at

Re: [Wicket-user] Session is valid?

2007-02-21 Thread Johan Compagner
use for a login or landing page stateless links and forms. (only possible in 1.3/2.0) what do you mean with session is still valid? if you are in a request the session will always be valid or maybe if you have a really long request the session could be invalidated by the container beneath your

[Wicket-user] wicket 2.0: setting default locale

2007-02-21 Thread Harald Gruber
hi all, any ideas how to set a default locale for sessions (wicket 2.0 snapshot)? i support only a limited amount of locales in my app and need to get some localized data from my database using the sessions locale. my first thought was to set the locale in my websession's constructor. but it

[Wicket-user] AutoCompleteTextField issue (wicket 1.2.3)

2007-02-21 Thread Paolo Di Tommaso
The AutoCompleteTextField does not invoke the functions registered by Wicket.Ajax.registerPostCallHandler() after the ajax request has been completed. Is someone else experiencing the same problem? Thank you, Paolo - Take

[Wicket-user] Dumb question about serialization

2007-02-21 Thread Jesse Barnum
Sorry for the dumb question, but I don't see any overview documentation talking about models and serialization in the API. Is there any way to not have to serialize objects in a model? I don't need support for back button / undo / etc. I have some objects that cannot be serialized which

[Wicket-user] Strage Weblogic problem with DataTable - help needed!

2007-02-21 Thread Niels Bo
Hi We were ready to put a new wicket application into production, but after deploying it it on our pre-production server with Weblogic 8.1 SP5+JRockit, we see a really strange and serious problem. Initially after deployment, everything works fine, but after refreshing a page with a DataTable

Re: [Wicket-user] Testing Wicket with JMeter

2007-02-21 Thread Flavia Paganelli
Hi! I've also been making JMeter tests over Wicket applications. I had to use the HTTP Cookie Manager. But still sometimes I found strange behaviour, like it sometimes stopped working, I recorded the same test again and it worked. The problem always appeared with a submit (POST). Not much help,

Re: [Wicket-user] Navigation between pages

2007-02-21 Thread Scott Swank
Nino, Wouldn't that leave all of the pages in session? I.e. you expect to have 7 pages in history, but 7 points to 8, which points to 9, etc. Scott On 2/21/07, Nino Wael [EMAIL PROTECTED] wrote: You can also employ an easy way to go back to the previous page by passing the current page to

Re: [Wicket-user] Navigation between pages

2007-02-21 Thread Eelco Hillenius
On 2/21/07, Scott Swank [EMAIL PROTECTED] wrote: Nino, Wouldn't that leave all of the pages in session? I.e. you expect to have 7 pages in history, but 7 points to 8, which points to 9, etc. Yep, it would. This pattern works good for when you have dialogue style pages (gather some info and

Re: [Wicket-user] Strange Weblogic problem with DataTable - help needed!

2007-02-21 Thread Eelco Hillenius
Do you think you can isolate the case and have it reproducible in a test case or quickstart project? I'm also wondering why you run the application in development mode. It doesn't run those render checks when you're in production mode. Eelco On 2/21/07, Niels Bo [EMAIL PROTECTED] wrote: Hi

Re: [Wicket-user] wicket 2.0: setting default locale

2007-02-21 Thread Eelco Hillenius
Sorry about that, that was a slip. We recently had a change that would allow you to pin the session's locale in the constructor. Setting the locale afterwards should have been removed. It's fixed in trunk now. Eelco On 2/21/07, Harald Gruber [EMAIL PROTECTED] wrote: hi all, any ideas how to

Re: [Wicket-user] Dumb question about serialization

2007-02-21 Thread Eelco Hillenius
If you don't need back button support at all, just have all your pages (or probably some base page) override isVersioned (or use setVersioned) and let it return false. Wicket will not record changes then, and your URLs between what otherwise would have been versions keep stable. Also, set

Re: [Wicket-user] Strange Weblogic problem with DataTable - help needed!

2007-02-21 Thread Igor Vaynberg
i could not reproduce it here http://wicketstuff.org/wicket13/repeater/ -igor On 2/21/07, Niels Bo [EMAIL PROTECTED] wrote: Hi We were ready to put a new wicket application into production, but after deploying it it on our pre-production server with Weblogic 8.1SP5+JRockit, we see a really

Re: [Wicket-user] Strange Weblogic problem with DataTable - help needed!

2007-02-21 Thread Niels Bo
Yes, it can be reproduced by the wicket examples application from www.wicket-library.com. Of cause we run our application in production mode, but the wicket-examples application is in development mode when downloaded, so it makes no effect on the error other than in development mode the below

Re: [Wicket-user] Strange Weblogic problem with DataTable - help needed!

2007-02-21 Thread Niels Bo
But did you try with Weblogic 8.1.5+JRockit JVM? We did not see any problems while developing using Sun JVM. Niels igor.vaynberg wrote: i could not reproduce it here http://wicketstuff.org/wicket13/repeater/ -igor On 2/21/07, Niels Bo [EMAIL PROTECTED] wrote: Hi We were ready

[Wicket-user] Could this be a bug in Wicket 2?

2007-02-21 Thread Gohan
I've posted this as a reply to another thread but I think it deserves a thread of its own. What happens is that I'd like to show and hide a label by setting switch between setVisible(true) and setVisible(false) when clicking on a AjaxFallbackLink. I've wrapped the label inside a

Re: [Wicket-user] ExceptionErrorPage throws java.lang.NoClassDefFoundError

2007-02-21 Thread Gohan
Hmm I had a similar problem with the wicket 2 snapshot yesterday. I deleted the wicket folder and did a clean checkout, that solved it for me. Andrew Klochkov wrote: I got the following exception when wicket tries to build ExceptionErrorPage, I'm using wicket 1.3 fresh from SVN.

Re: [Wicket-user] Strange Weblogic problem with DataTable - help needed!

2007-02-21 Thread Igor Vaynberg
heh, no i dont have any of that stuff installed. can you reproduce that in an app that is running in deployment mode? -igor On 2/21/07, Niels Bo [EMAIL PROTECTED] wrote: But did you try with Weblogic 8.1.5+JRockit JVM? We did not see any problems while developing using Sun JVM. Niels

Re: [Wicket-user] Strange Weblogic problem with DataTable - help needed!

2007-02-21 Thread Niels Bo
Yes I can. I simply downloaded the Wicket examples application http://sourceforge.net/project/showfiles.php?group_id=119783package_id=138752 http://sourceforge.net/project/showfiles.php?group_id=119783package_id=138752 and deployed the wicket-examples-1.2.5.war, which is in develpment mode,

Re: [Wicket-user] Strange Weblogic problem with DataTable - help needed!

2007-02-21 Thread Igor Vaynberg
On 2/21/07, Niels Bo [EMAIL PROTECTED] wrote: and deployed the wicket-examples-1.2.5.war, which is in develpment mode and what happens if you deploy it in _production_ mode??? -igor - Take Surveys. Earn Cash. Influence

Re: [Wicket-user] Strange Weblogic problem with DataTable - help needed!

2007-02-21 Thread Igor Vaynberg
s/production/deployment/ -igor On 2/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 2/21/07, Niels Bo [EMAIL PROTECTED] wrote: and deployed the wicket-examples-1.2.5.war, which is in develpment mode and what happens if you deploy it in _production_ mode??? -igor

Re: [Wicket-user] Strange Weblogic problem with DataTable - help needed!

2007-02-21 Thread Niels Bo
In production mode, the toolbars disapers after refreshing the page a number of times. This means that there are no column headers and no paging lnks. The difference compared to development mode is that in development mode a check for unrendred components is performed, so there I get the

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-21 Thread James McLaughlin
Unfortunately, it would be a pain to separate out the examples I have, but there are some unit tests under wicket.markup.outputTransformer that I'm pretty sure will get you going. hth, jim On 2/20/07, Carfield Yim [EMAIL PROTECTED] wrote: Could you give me an example to show how it work? On

Re: [Wicket-user] Dumb question about serialization

2007-02-21 Thread Peter Thomas
What is the default for the maxPageVersions? On 2/21/07, Eelco Hillenius [EMAIL PROTECTED] wrote: If you don't need back button support at all, just have all your pages (or probably some base page) override isVersioned (or use setVersioned) and let it return false. Wicket will not record

Re: [Wicket-user] Dumb question about serialization

2007-02-21 Thread Igor Vaynberg
7 -igor On 2/21/07, Peter Thomas [EMAIL PROTECTED] wrote: What is the default for the maxPageVersions? On 2/21/07, Eelco Hillenius [EMAIL PROTECTED] wrote: If you don't need back button support at all, just have all your pages (or probably some base page) override isVersioned (or use

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-21 Thread Carfield Yim
That would be great On 2/22/07, James McLaughlin [EMAIL PROTECTED] wrote: Unfortunately, it would be a pain to separate out the examples I have, but there are some unit tests under wicket.markup.outputTransformer that I'm pretty sure will get you going. hth, jim On 2/20/07, Carfield Yim

[Wicket-user] Best practice and use of detachable models

2007-02-21 Thread Peter Thomas
Hi, I use Hibernate and have got a reasonably sized app working with Wicket. I am aware of the concept of detachable models and want to use it effectively and I have the following questions. If the information is already there on the wiki or something - feel free to point me there. Apologies

[Wicket-user] wicket:component, container, pseudo, et al

2007-02-21 Thread Scott Swank
All of the above tags were disparaged in the wicket:component vote. Are any other tags all but deprecated? The following are all clearly standard tags. wicket:border wicket:child wicket:extend wicket:message wicket:panel What about wicket:link In particular, which tags

Re: [Wicket-user] Best practice and use of detachable models

2007-02-21 Thread Igor Vaynberg
On 2/21/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I use Hibernate and have got a reasonably sized app working with Wicket. I am aware of the concept of detachable models and want to use it effectively and I have the following questions. If the information is already there on the wiki or

Re: [Wicket-user] Best practice and use of detachable models

2007-02-21 Thread Peter Thomas
Thanks Igor. This really helped, and along the way I realized I missed a few fundamentals. One more question below: d) Now I am iterating using ListView. How exactly do I initialize the ListView so that it uses the installed detachable model? what do you mean? you just pass it into the

Re: [Wicket-user] Best practice and use of detachable models

2007-02-21 Thread Igor Vaynberg
On 2/21/07, Peter Thomas [EMAIL PROTECTED] wrote: Thanks Igor. This really helped, and along the way I realized I missed a few fundamentals. One more question below: d) Now I am iterating using ListView. How exactly do I initialize the ListView so that it uses the installed detachable

Re: [Wicket-user] Best practice and use of detachable models

2007-02-21 Thread Peter Thomas
no, not exactly. if you havent set a model on the component (or set it to null) and call getmodel() wicket will search upwards for a model that implements the compound model interface. look up compound property models on that wiki page. Thanks, will do. One last question: f) And suppose I