Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)

2007-03-19 Thread Alexandre Bairos
Udora, I feel profoundly ashamed. Wicket rocks not only because of its design and features, but mostly because of its motivated team. You get free software. If it's not enough for you, go patch it, contribute, make it better. If the docs, examples, tutorials aren't good enough, make it better. O

Re: [Wicket-user] Adopt Wicket Portlets

2007-03-19 Thread Martijn Dashorst
You can find the wicketstuff.org Wiki here: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-portlets Martijn On 3/19/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > We have extracted Wicket Portlet support (also known as JSR-168) from > Wicket core and made it into a wicket stuff pr

[Wicket-user] Wicket workflow and rules

2007-03-19 Thread Gennadiy Vasilevskiy
Hello All, Per my requirements, the app that I need to build has to have different flows per client as well as different look and feel, but just a single source. Still there is a problem, since just a client would not give me 100% knowledge, there might be rules per client; such as if "IF client m

[Wicket-user] Adopt Wicket Portlets

2007-03-19 Thread Martijn Dashorst
We have extracted Wicket Portlet support (also known as JSR-168) from Wicket core and made it into a wicket stuff project. The reason we extracted it is because supporting it ourselves is not working. We don't use portlets ourselves and don't see it happening soon. We'd rather do a good job than a

Re: [Wicket-user] Problem using wicket-quickstart

2007-03-19 Thread eznibe
Thanks Eelco i discovered i had multiple servlet jars Eelco Hillenius wrote: > > Which version of the servlet jar do you include? Pre 2.2 maybe? Or > maybe you have multiple servlet jars? > > Eelco > > > On 3/18/07, eznibe <[EMAIL PROTECTED]> wrote: >> >> HI, >> >> My problem is that i cant

Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)

2007-03-19 Thread James McLaughlin
The support I've received and watched others receive on this list is way better than any support I have ever paid for. And good clear questions always provoke well reasoned discussions of the highest quality here. I am not exaggerating when I say I have learned as much here as I have from any book.

Re: [Wicket-user] Best practice for "singleton" pages

2007-03-19 Thread Igor Vaynberg
and to clarify - even if you do need failover and use the store in this state - the failure will only occur if the node goes down AND user uses a the backbutton in the browser -igor On 3/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: if you use sticky sessions and dont need failover it will

Re: [Wicket-user] Best practice for "singleton" pages

2007-03-19 Thread Igor Vaynberg
if you use sticky sessions and dont need failover it will work in its current state if you need failover then the directory where the files are saved needs to be accessible by the primary and its backup buddy nodes -igor On 3/19/07, Weaver, Scott <[EMAIL PROTECTED]> wrote: I have been half f

Re: [Wicket-user] Best practice for "singleton" pages

2007-03-19 Thread Weaver, Scott
I have been half following the development of the 2nd-level cache. How well will this work in load-balanced environments if at all? We run a load-balanced environment in BEA 9.2 and it would be required that the 2nd-level cache support this. Thanks, -scott > -Original Message- > From:

Re: [Wicket-user] Best practice for "singleton" pages

2007-03-19 Thread Eelco Hillenius
On 3/19/07, Weaver, Scott <[EMAIL PROTECTED]> wrote: > Well, it is really not a pool per se (I never write pools anymore). I > just want one instance of an arbitrary page per user-session (not per > application). So, the first time the user asks for a page it is created > for then put onto the ses

Re: [Wicket-user] Best practice for "singleton" pages

2007-03-19 Thread Weaver, Scott
Well, it is really not a pool per se (I never write pools anymore). I just want one instance of an arbitrary page per user-session (not per application). So, the first time the user asks for a page it is created for then put onto the session. All subsequent requests for that page would come from

Re: [Wicket-user] Log messages appearing twice

2007-03-19 Thread Eelco Hillenius
> I'm betting this is a Wicket 101 question, but I can't seem to find an > answer on the wiki or in the lists (perhaps my search keywords aren't > right). During development I'm occasionally putting in some simple debug > statements into my pages. During execution, those log statements always come

Re: [Wicket-user] Best practice for "singleton" pages

2007-03-19 Thread Martijn Dashorst
Also a nice writeup on the cocoon list, regarding object pooling: http://www.mail-archive.com/dev@cocoon.apache.org/msg48976.html Martijn On 3/19/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Scott, > > You touched a 'sensitive' subject, so I expect to see several replies > here, all saying

Re: [Wicket-user] Log messages appearing twice

2007-03-19 Thread Matt Welch
The lifecycle page was extremely informative. Thanks. I'm definitely in "development" mode, although it is a little disconcerting to hear that this kind of behavior might be so different between modes. It means that I'll have to frequently switch back and forth between modes to test that things ar

Re: [Wicket-user] Best practice for "singleton" pages

2007-03-19 Thread Martijn Dashorst
Scott, You touched a 'sensitive' subject, so I expect to see several replies here, all saying the same: - don't pool your pages! A singleton page (i.e. pooled page) is not good for your application. First of all, it will not work in Wicket, as a page instance is coupled to a session and pagemap

Re: [Wicket-user] Best practice for "singleton" pages

2007-03-19 Thread Johan Compagner
you could pool pages in a session if you want yes. Don't pool them over multiply sessions. That could even for pretty static pages go very wrong. But i don't know if this is really usefull, how many pages are we talking about? Are pages really reused multiply times over the same session? johan

[Wicket-user] Best practice for "singleton" pages

2007-03-19 Thread Weaver, Scott
I was curious to what the best practices and approaches for using single instances of pages? Certain pages in my application never really change in content or when they need to, are changed via an event mechanism so I see no need (actually it is a disadvantage) to create a new page every time link

Re: [Wicket-user] EnclosureResolver

2007-03-19 Thread Wouter de Vaal
Ok I already found out that you need to register a handler also, so the registry in application becomes: getPageSettings().addComponentResolver(new EnclosureResolver()); getMarkupSettings().setMarkupParserFactory(new MarkupParserFactory() {

[Wicket-user] EnclosureResolver

2007-03-19 Thread Wouter de Vaal
Hi, I'm trying to use the wicket:eclosure tag in my application, I am using a 2.0 snapshot. I've added "getPageSettings().addComponentResolver(new EnclosureResolver());" to my application init as instructed in the javadoc, however I still get the following trace: java.text.ParseException: Unkown

Re: [Wicket-user] Log messages appearing twice

2007-03-19 Thread Korbinian Bachl
Depending on where you have your log file messages and what kind they are, they can appear more than once as sometimes components are winded up more than once (e.g: inner redirect...) - best answer might be this: http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html where the whole

Re: [Wicket-user] Log messages appearing twice

2007-03-19 Thread Martijn Dashorst
What rendering strategy do you use? Redirect to buffer should only trigger a page once. Also, if your links do some javascript stuff, you should ensure that you return false in the onclick handler (if you do the callback there), otherwise the browser will send 2 requests. Martijn On 3/19/07, Mat

[Wicket-user] Log messages appearing twice

2007-03-19 Thread Matt Welch
I'm betting this is a Wicket 101 question, but I can't seem to find an answer on the wiki or in the lists (perhaps my search keywords aren't right). During development I'm occasionally putting in some simple debug statements into my pages. During execution, those log statements always come up twic

Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)

2007-03-19 Thread Igor Vaynberg
i wasnt in a bad mood when i wrote that. i dont generally drink coffee and i had plenty of sex the night before. i said what needed to be said, and i hope you were smart enough to get the most important message which was "help us help you". -igor On 3/19/07, Udora <[EMAIL PROTECTED]> wrote: H

Re: [Wicket-user] Testing repeaters

2007-03-19 Thread Igor Vaynberg
you can deduce the path by looking at the markup the datatable uses. -igor On 3/15/07, Daniele Dellafiore <[EMAIL PROTECTED]> wrote: Hi. I am trying to make a test to check the content of a DataTable that is in a WebPage. I can get the table with page.get("table"); where "table" is of course

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Matej Knopp
Yeah, this would be quite an elegant solution, if we can implement that properly. On 3/19/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > So pages should have a special serialization mechanism? > > When they are not the top component when serializing they do a > replaceObject() ? > (with the page

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Johan Compagner
So pages should have a special serialization mechanism? When they are not the top component when serializing they do a replaceObject() ? (with the pagemap:id string) So when you are reading it back in. We get the page from the pagemap itself (and deserialize it) So that we always have one page f

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Matej Knopp
Okay, take this scenario: Using second level sessionstore, with multiwindow support off (default). You open two pages in two different tab. By default they are in same (default) pagemap. In one of the window, you have modal window with a page. The page inside modal window is in it's own pagemap, a

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Johan Compagner
What do you mean lose all changes to the page? On 3/19/07, Matej Knopp <[EMAIL PROTECTED]> wrote: Well, I guess it should work then. Still, it seems to be quite fragile solution to me. Because as soon as the original page moves to disk (e.g. in another tab you visit another page in that pagema

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Matej Knopp
Okay, I can confirm setting the pagemap works (but only with most recent version of wicket). Anyway, the fragility is still there I'm afraid. On 3/19/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Well, I guess it should work then. Still, it seems to be quite fragile > solution to me. Because as soo

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Matej Knopp
Well, I guess it should work then. Still, it seems to be quite fragile solution to me. Because as soon as the original page moves to disk (e.g. in another tab you visit another page in that pagemap) you lose all changes to the page. On 3/19/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > yes ev

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Johan Compagner
yes every pagemap has an active page. On 3/19/07, Matej Knopp <[EMAIL PROTECTED]> wrote: Will that work for secondlevelcachesessionstore as well? If so, it should only be matter of calling modalWindow.setPageMapName("myWindowPageMap"); -Matej On 3/19/07, Johan Compagner <[EMAIL PROTECTED]> w

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Matej Knopp
Will that work for secondlevelcachesessionstore as well? If so, it should only be matter of calling modalWindow.setPageMapName("myWindowPageMap"); -Matej On 3/19/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > different pagemaps? > > > > On 3/19/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Yes

Re: [Wicket-user] file upload validation resets form

2007-03-19 Thread Jaime De La Jara
Ok, I'll check it in more detail and submit an issue if neccesary, thanks. Jaime. Eelco Hillenius <[EMAIL PROTECTED]> wrote: I haven't investigated this, but did you come further with this? If you think it is a bug, please open a JIRA issue for it. Eelco On 3/15/07, Jaime De La Jara wrote: >

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Johan Compagner
different pagemaps? On 3/19/07, Matej Knopp <[EMAIL PROTECTED]> wrote: Yes. Two active pages. He passes reference from one page to another. The other page modifies the reference. But he doesn't return to the previous page using setResponsePage(). That would work, but this is not the case. Beca

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Matej Knopp
Yes. Two active pages. He passes reference from one page to another. The other page modifies the reference. But he doesn't return to the previous page using setResponsePage(). That would work, but this is not the case. Because here the other page is in an iframe of the first page. As far as I know

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Johan Compagner
But. There is bigger problem than this. The problem with two different instances of one page. I don't see easy solution for this. Normally, this is not an issue, because if you keep page instance, you usually call setResposnePage(instance) to get to it. However, this is not the case with modal win

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread Johan Compagner
At the moment you click the button. Other things like images that where being streamed to the client are cut of by the browser and then those broken streams could appear in the log. We do handle some of them (depending of the container impl) to silently ignore them johan On 3/19/07, ChuckDeal <

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread ChuckDeal
Johan Compagner wrote: > > Those exceptions do happen when the browser terminates the connection > So if you do an ajax request and then press the stop button? Or click on > another link when > the ajax request is still happening? > Then the browser will close the connection and then you get tha

Re: [Wicket-user] HttpSessionStore vs SecondLevelCacheSessionStore(FilePageStore)

2007-03-19 Thread ChuckDeal
Matej Knopp-2 wrote: > > But. There is bigger problem than this. The problem with two different > instances of one page. I don't see easy solution for this. Normally, > this is not an issue, because if you keep page instance, you usually > call setResposnePage(instance) to get to it. However, th

Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)

2007-03-19 Thread Francis Amanfo
Hi Udora, I disagree with these comments, especially with the arrogance label you're putting on the Wicket developers. On the contrary, IMHO, they're one of the most humble in the open source space. As an example go to theserverside archives and go read some of the comments by them in some of the

Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)

2007-03-19 Thread Brian Topping
Let's back up here a minute. First off, you are a thankless idiot for thinking that these guys doing open source software, to your benefit, with absolutely no compensation from you, are anything like the relationship you have with your clients. Do you work for free for your clients? No, I

Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)

2007-03-19 Thread Wilko Hische
Hi Udora, I have been lurking this list for a few months now and I am really amazed by the speed and helpfulness that questions are answered (check it for yourself at http://www.nabble.com/Wicket-f13974.html). The few questions I posed when i was feeling my way around the framework were all answe

Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)

2007-03-19 Thread Udora
Hi Igor, First of all, I would want to say that I've solved the problem myself and having now a great table component with all what I needed. And I also want to say that I don't think I owe you as a developer anything for using Wicket. Of course being an open source developer, you have the luxury

Re: [Wicket-user] StatelessForm and setRedirect(true) in the onSubmit method

2007-03-19 Thread Matthew Kwong
Issue created. https://issues.apache.org/jira/browse/WICKET-405 Thank you. Matthew Eelco Hillenius wrote: > >> Do you mind if I send you that application through Email attachment? >> Since I >> am afraid I can't explain well in English. >> The expiration problem still exists after logging int

Re: [Wicket-user] Problem using wicket-quickstart

2007-03-19 Thread Eelco Hillenius
Which version of the servlet jar do you include? Pre 2.2 maybe? Or maybe you have multiple servlet jars? Eelco On 3/18/07, eznibe <[EMAIL PROTECTED]> wrote: > > HI, > > My problem is that i cant use the quickstart example of wicket because when > i launch it, throws this error: > > I Copy the co

Re: [Wicket-user] onFailure AjaxCallDecorators and modal windows

2007-03-19 Thread Eelco Hillenius
What did you put in as the decoration code? Wicket.Window.get().close(); ? Eelco On 3/12/07, Apaar Trivedi <[EMAIL PROTECTED]> wrote: > > > > > Hey guys, > > > > I am trying to automatically close a modal window if an exception occurs > within its ajax requests or submits. > > > > For example, i

Re: [Wicket-user] Testing repeaters

2007-03-19 Thread Eelco Hillenius
On 3/15/07, Daniele Dellafiore <[EMAIL PROTECTED]> wrote: > Hi. I am trying to make a test to check the content of a DataTable > that is in a WebPage. > I can get the table with page.get("table"); > where "table" is of course the path to my table component in the page. > > How can I access a cell i

Re: [Wicket-user] file upload validation resets form

2007-03-19 Thread Eelco Hillenius
I haven't investigated this, but did you come further with this? If you think it is a bug, please open a JIRA issue for it. Eelco On 3/15/07, Jaime De La Jara <[EMAIL PROTECTED]> wrote: > Hi, I'm using the FileUpload component and set the maxSize property to > 150Kb, I've > found that when the up

Re: [Wicket-user] StatelessForm and setRedirect(true) in the onSubmit method

2007-03-19 Thread Eelco Hillenius
> Do you mind if I send you that application through Email attachment? Since I > am afraid I can't explain well in English. > The expiration problem still exists after logging into the application from > a stateless form with a redirect(true). In that case, the best way is to open up an issue in J