Re: [Wicket-user] IComponent*POST*InstantiationListener

2007-07-24 Thread Eelco Hillenius
sometimes I find useful to be able to do some initialization once my component is attached to its hierarchy, mainly to be able to call getPage(). For example, if there are relevant events along some page lifecycle maybe panels contained in it may want to add themselves as listeners:

Re: [Wicket-user] WicketTester and mocking up next page rendered.

2007-07-24 Thread Timo Rantalaiho
On Fri, 20 Jul 2007, Craig Lenzen wrote: And how are you overriding the goToPageB method in the test? Using WicketTester you never actually create an instance of PageB, that is you as the developer. Like this, in 1.3 wicket.startPage(new ITestPageSource(){ public Page

Re: [Wicket-user] Regarding Wicket with Dynamic Data

2007-07-24 Thread Edi
i am the newbie of wicket, so please provide some more hints to do the above problem Oleg Taranenko-2 wrote: Hello Edi, please visit www.databinder.net if you still have questions, welcome. Cheers, Monday, July 23, 2007, 2:24:47 PM, you wrote: Hi, my database is

[Wicket-user] Panels with Scrollbar

2007-07-24 Thread Benjamin Ernst
Hi everybody, I am new to wicket and I am wondering if ther is an Panel-Componet with a scrollbar, so that I can scroll inside a website. Or do I have to use Frames for this? (I dont really like Frames) Thanks in advance, Benjamin -- View this message in context:

Re: [Wicket-user] Panels with Scrollbar

2007-07-24 Thread Matej Knopp
It's a css thing rather then wicket related. You need to use overflow: scroll or overflow: auto in the div style to show scrollbars when the content is too big. -Matej On 7/24/07, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi everybody, I am new to wicket and I am wondering if ther is an

Re: [Wicket-user] Wicket with JExcel

2007-07-24 Thread Edi
i have found A1,B1 I have downloaded your source, but In createLoop, i got null pointer exception java.lang.NullPointerException at com.enterra.vrm.qst.ui.page.reports.validatexl.AppletBasePanel.createLoop(AppletBasePanel.java:334) Is there any exception hadler you added. Ayodeji

Re: [Wicket-user] IComponent*POST*InstantiationListener

2007-07-24 Thread Carlos Pita
Erm, how would you implement that? I'm overriding onAttach and setting a flag for doing initialization just during the first attachment. Is this wrong? I think you should use IComponentOnBeforeRenderListener in this case Still, I would have to keep the is first time? check, wouldn't I? I

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread spencer.c
Thanks Eelco, that did the trick. Couple of follow up questions/comments that anyone can field: 1) I understand why you would want a stateless application, however I don't understand why you would ever want your session to be regenerated on each request if during the request you specifically set

Re: [Wicket-user] IComponent*POST*InstantiationListener

2007-07-24 Thread Matej Knopp
You can use the component.hasBeenRendererd() method to determine if it is the first time or not. -Matej On 7/24/07, Carlos Pita [EMAIL PROTECTED] wrote: Erm, how would you implement that? I'm overriding onAttach and setting a flag for doing initialization just during the first attachment.

Re: [Wicket-user] Panels with Scrollbar

2007-07-24 Thread Benjamin Ernst
Thank you very much! That works great. Benjamin 2007/7/24, Matej Knopp [EMAIL PROTECTED]: It's a css thing rather then wicket related. You need to use overflow: scroll or overflow: auto in the div style to show scrollbars when the content is too big. -Matej On 7/24/07, Benjamin Ernst

Re: [Wicket-user] About to use Wicket. ORM?

2007-07-24 Thread Evan Chooly
Except the question wasn't about learning. It's about being productive. And too often NIH is the anti-productivity pill. Don't want a feature? Don't use it. Wicket offers a lot that I don't use but I'd have to crazy not to use it because of that. On 7/24/07, davor-x [EMAIL PROTECTED] wrote:

Re: [Wicket-user] About to use Wicket. ORM?

2007-07-24 Thread Evan Chooly
On 7/23/07, James Law [EMAIL PROTECTED] wrote: Hi Matthias, my 2 cents on orm. As far as which orm/persistence tool, I think a good strategy that I follow is to use them all! Really though, I categorize data access into multiple categories 1. Lots of insert/update stuff use cases, where you

Re: [Wicket-user] About to use Wicket. ORM?

2007-07-24 Thread davor-x
I'm making software for 10 years now. And I dont use / like orm. But that's me. I hate everything that's bloated with features. I hope wicket will not add new features in it's core. For my use, I've build a kind of my inhouse orm, I want to view the same data in, say a browsable and selectable

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread Igor Vaynberg
On 7/24/07, spencer.c [EMAIL PROTECTED] wrote: Thanks Eelco, that did the trick. Couple of follow up questions/comments that anyone can field: 1) I understand why you would want a stateless application, however I don't understand why you would ever want your session to be regenerated on

Re: [Wicket-user] localhost/wicketApp works fine, PC_NAME/wicketApp throws page expire.

2007-07-24 Thread Francisco Diaz Trepat - gmail
I see the questions didn't have anything to do with it. just protocol bs... anyways. f(t) On 7/20/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Tomcat, ie7, safari, and firefox. and wicket 1.3 beta 2. On 7/20/07, Sean Sullivan [EMAIL PROTECTED] wrote: Which web browser?

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread Eelco Hillenius
Couple of follow up questions/comments that anyone can field: 1) I understand why you would want a stateless application, however I don't understand why you would ever want your session to be regenerated on each request if during the request you specifically set a session value. It seems

Re: [Wicket-user] Regarding Wicket with Dynamic Data

2007-07-24 Thread Oleg Taranenko
Hello Edi, As I you understand right you need to work with different (or may be not determined) databases. You should using some kind of object relation mapping tools. Most popular is Hibernate. Databinder binds Wicket and Hibernate and hope it can satisfy your needs. You but should have some

Re: [Wicket-user] Wicket with JExcel

2007-07-24 Thread Ayodeji Aladejebi
wait i have an update and will surely upload it for you On 7/24/07, Edi [EMAIL PROTECTED] wrote: i have found A1,B1 I have downloaded your source, but In createLoop, i got null pointer exception java.lang.NullPointerException at

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread spencer.c
Alright, so from what you guys have said, I think there is a bug. I had not called session.dirty() before, but since that sounded reasonable, I took out the call to session.bind() and updated my property setter so that after it set the value, it called dirty. In this simple case: public

Re: [Wicket-user] question about pretty URLs

2007-07-24 Thread Igor Vaynberg
mount your homepage with indexedurlcodingstrategy -igor On 7/24/07, verbal evasion [EMAIL PROTECTED] wrote: i am trying to do something and i dont know if its possible in wicket. in a framework like django (djangoproject.com), i can do stuff like have http://www.mysite.com/username where

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread Eelco Hillenius
On 7/24/07, spencer.c [EMAIL PROTECTED] wrote: Alright, so from what you guys have said, I think there is a bug. Darn! :) Could you open an issue please? I'll look into it asap. Eelco - This SF.net email is sponsored by:

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread Matej Knopp
You need to call session.bind(). We've been discussing this many times. It's no good to make session.dirty() bind the session, because it's called internally even on sessions that should not be bound. -Matej On 7/24/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 7/24/07, spencer.c [EMAIL

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread Matej Knopp
On 7/24/07, spencer.c [EMAIL PROTECTED] wrote: Thanks Eelco, that did the trick. Couple of follow up questions/comments that anyone can field: 1) I understand why you would want a stateless application, however I don't understand why you would ever want your session to be regenerated on each

Re: [Wicket-user] modal window image resources

2007-07-24 Thread NateBot2000
NateBot20002 wrote: Can you explain how the image resources in the ModalWindow package work? Here is an answer to this question: http://www.thinksharp.org/?cat=16 http://www.thinksharp.org/?cat=16 NateBot2000 -- View this message in context:

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread Eelco Hillenius
You need to call session.bind(). We've been discussing this many times. It's no good to make session.dirty() bind the session, because it's called internally even on sessions that should not be bound. On 7/24/07, Matej Knopp [EMAIL PROTECTED] wrote: You need to call session.bind().

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread spencer.c
Sorry Matej, I opened the bug per Eelco's request before receiving your two responses. I will close the issue, since it sounds like this has been discussed before, and there are technical reasons for it staying as is. I guess this is just a confirmation that it not intuitive to the

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread Eelco Hillenius
On 7/24/07, spencer.c [EMAIL PROTECTED] wrote: Sorry Matej, I opened the bug per Eelco's request before receiving your two responses. I will close the issue, since it sounds like this has been discussed before, and there are technical reasons for it staying as is. I guess this is just a

Re: [Wicket-user] modal window image resources

2007-07-24 Thread Matej Knopp
There is more of it in the archives, this one might be most relevant http://www.nabble.com/Magic-to-replace-ModalWindow-images-tf3811156.html#a10788038 -Matej On 7/24/07, NateBot2000 [EMAIL PROTECTED] wrote: NateBot20002 wrote: Can you explain how the image resources in the ModalWindow

[Wicket-user] Midway between border and listview

2007-07-24 Thread Carlos Pita
Hi all, how can I write a container with associated markup that takes some markup (as a border) and repeats it (as a repeater). If I use a ListView I lose the associated markup. If I use a Border I don't know how to get its body repeated (a Border body inside a ListView doesn't seem to work). For

[Wicket-user] Wicket Excel Example

2007-07-24 Thread Ayodeji Aladejebi
Hi Edi, I have an excel example that you might like :) Attach the src.rar to any of your existing excel application and try it Features Update: 1. You can now write your modifications to disk 2. You can scroll now however, since wicket still lacks support for scrolling multiple lists with an

Re: [Wicket-user] Page lifetime in wicket

2007-07-24 Thread Jonathan Locke
a lot of casting there. maybe we should make WebApplication.get() return (WebApplication)Application.get()? Eelco Hillenius wrote: By default which temp directory does all the all pages stored into? public FilePageStore() {

Re: [Wicket-user] Page lifetime in wicket

2007-07-24 Thread Eelco Hillenius
maybe we should make WebApplication.get() return (WebApplication)Application.get()? When we switch to JDK 1.5 we should. Eelco - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find