Re: [Wicket-user] setCryptClass

2005-07-15 Thread Martijn Dashorst
James, The CryptClass is used in the PasswordTextField and URL encryption scheme (not finalized yet), in order to provide security (the password shouldn't be stored unencrypted in the Session). The setting is needed because the default Sun encryption provider is not available on all platforms.

Re: [Wicket-user] Why no page interface?

2005-07-15 Thread Martijn Dashorst
Peter Veentjer - Anchor Men wrote: And true subclassing only is possible if every method was subclassable.. that isn`t the case.. most methods are final. And that is a /GOOD/ thing. Most methods are an implementation detail, that need to be called in the framework. As Eelco and Johan and oth

[Wicket-user] setCryptClass

2005-07-15 Thread yongbl
Hi all,   I aren't clear about the reasons and purpose for setting the CryptClass in the wicket application. Can anyone explain?   Regards, James Yong Meet your soulmate! Yahoo! Asia presents Meetic - where millions of singles gather

[Wicket-user] Re: Wicket releases 1.0.1 and 1.1b1 (or eq)

2005-07-15 Thread james
This is good news ;-) --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast

Re: [Wicket-user] Why no page interface?

2005-07-15 Thread Matej Knopp
Peter Veentjer - Anchor Men wrote: Although I do use interfaces for my facade/dao. - In the beginning I though that it would be a good idea to create a dao abstraction. But my experience so far is that is it impossible to switch from Dao implementatio

[Wicket-user] Re: Clicking a DropDownChoice to populate another

2005-07-15 Thread james
Johan Compagner j-com.nl> writes: > > > > the selected value is one of the values of the choices list. > Why would you have it as a string. > Just get the model value of the model behind the dropdownchoice and you > have a nice OO way of doing things > instead of working with strings and inpu

RE: [Wicket-user] Why no page interface?

2005-07-15 Thread Peter Veentjer - Anchor Men
Although I do use interfaces for my facade/dao. - In the beginning I though that it would be a good idea to create a dao abstraction. But my experience so far is that is it impossible to switch from Dao implementation. There are so many unwritten OR-map

RE: [Wicket-user] Why no page interface?

2005-07-15 Thread Peter Veentjer - Anchor Men
One /very/ important reason not to use interfaces in this case is that: interfaces are hard to evolve. Interfaces have to be pretty darn stable before even considering throwing them out in the public, as there is no way (not without a tough fight at least) you can alter it later on - even adding a

Re: [Wicket-user] Why no page interface?

2005-07-15 Thread Matej Knopp
Eelco Hillenius wrote: Hi, One /very/ important reason not to use interfaces in this case is that: interfaces are hard to evolve. Interfaces have to be pretty darn stable before even considering throwing them out in the public, as there is no way (not without a tough fight at least) you can a

Re: [Wicket-user] Why no page interface?

2005-07-15 Thread Johan Compagner
i agree. When you have a IPage object there should be able to have multiply Page implementations. But this is not really possible because the internals of page are pretty importand for wicket to let it work If you have a full blown page with all kind of components on it. I don't think puttin

Re: [Wicket-user] PageParameters

2005-07-15 Thread Johan Compagner
Dzenan Ridjanovic wrote: Could you give us the stracktrace you got? I have changed the code this afternoon and could not reproduce the error. However, I have done something similar and it works: public class UrlsPage extends WebPage ... public UrlsPage(PageParameters pageParameters) { U

[Wicket-user] PageParameters

2005-07-15 Thread Dzenan Ridjanovic
Could you give us the stracktrace you got? I have changed the code this afternoon and could not reproduce the error. However, I have done something similar and it works: public class UrlsPage extends WebPage ... public UrlsPage(PageParameters pageParameters) { UrlsApp app = (UrlsApp)getApp

Re: [Wicket-user] Why no page interface?

2005-07-15 Thread Eelco Hillenius
Hi, One /very/ important reason not to use interfaces in this case is that: interfaces are hard to evolve. Interfaces have to be pretty darn stable before even considering throwing them out in the public, as there is no way (not without a tough fight at least) you can alter it later on - even

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Jonathan Carlson
There is a kickstart application from which you could start your development process. Is that your question? http://wicket-stuff.sourceforge.net/wicket-kickstart/index.html >>> [EMAIL PROTECTED] 2005-07-15 8:43:06 AM >>> Hi, Well i really impressed with the prompt responses. Thanks for that.

[Wicket-user] Why no page interface?

2005-07-15 Thread Peter Veentjer - Anchor Men
I`m trying to add Spring annotations to the Page, but because there is no page interface and only a Page class (with final methods) it is not possible to create a proxy and therefor it is impossible to enhance objects. This is very inconvenient.. Why are the components not designed from interf

Re: [Wicket-user] Re: MissingResourceException (Eelco Hillenius)

2005-07-15 Thread Phil Kulak
I think a custom page listener may be more useful instead of a page factory. Something that's called right before a new page is put on the stack. Then you don't have to worry about how a page was created, just that it WAS created and hasn't had anything done to it since it was created. -Phil On 7

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Martijn Dashorst
We are aware of this and this weekend they will be updated with the release of 1.0.1 Martijn Jonathan Carlson wrote: Actually, the links to the wiki on the Documentation page are still broken. I meant to mention this earlier, but they really need to be fixed. For example: http://wicket.sou

Re: [Wicket-user] Re: MissingResourceException (Eelco Hillenius)

2005-07-15 Thread Eelco Hillenius
The pitty about this though, is that you can use the page factory in this case. Which would be unconvenient in case you provided your own custom page factory. Eelco Juergen Donnerstag wrote: Dzenan, PageParameter are only used for GET/POST parameters, like http://.../myApp?id=123. You'll fi

Re: [Wicket-user] Re: MissingResourceException (Eelco Hillenius)

2005-07-15 Thread Juergen Donnerstag
Dzenan, PageParameter are only used for GET/POST parameters, like http://.../myApp?id=123. You'll find id = "123" in the PageParameter. The MyPage(PageParameter) constructor is usually used only in combination with bookmarkable pages. In order to provide any other object to the Page, just create a

Re: [Wicket-user] Re: MissingResourceException (Eelco Hillenius)

2005-07-15 Thread Eelco Hillenius
Hi, Dzenan Ridjanovic wrote: Hi Eelco, Thank you for the fast response. I still do not understand why page level resource properties (I have added a resource properties file to each class: page, subform, form) were not working either. The problem was that our resource loading didn't take

[Wicket-user] Re: MissingResourceException (Eelco Hillenius)

2005-07-15 Thread Dzenan Ridjanovic
Hi Eelco, Thank you for the fast response. I still do not understand why page level resource properties (I have added a resource properties file to each class: page, subform, form) were not working either. I have another question. In PageParameters it seems that only strings and numbers are

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Johan Compagner
you liked it if it was wicket!!! Eelco Hillenius wrote: Well, I don't know if I would like my clients to force me on a certain technology... Maybe in case we would be co-producing a product (which we actually do quite often at Topicus). Eelco Juergen Donnerstag wrote: ... One of our clie

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Eelco Hillenius
Well, I don't know if I would like my clients to force me on a certain technology... Maybe in case we would be co-producing a product (which we actually do quite often at Topicus). Eelco Juergen Donnerstag wrote: ... One of our client wants us to develop a solution using wicket ... C

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Juergen Donnerstag
> ... One of our client wants us to develop a solution using wicket ... Cool. A client (customer) asked for Wicket and not a development team trying to convince there managers or customers. Juergen --- SF.Net email is sponsored by: Discover Ea

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread sohaib akhtar
Hi, Well i really impressed with the prompt responses. Thanks for that. Let me tell you more about myself, I am working as a senior software engineer. One of our client wants us to develop a solution using wicket so i have been assigned to evaluate it and then after learning it, i have to trai

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Jonathan Carlson
Actually, the links to the wiki on the Documentation page are still broken. I meant to mention this earlier, but they really need to be fixed. For example: http://wicket.sourceforge.net/wiki/doku.php?id=newuserguide does not work. >>> [EMAIL PROTECTED] 2005-07-15 5:41:06 AM >>> Unfortunately

Re: [Wicket-user] Re: Clicking a DropDownChoice to populate another

2005-07-15 Thread Johan Compagner
the selected value is one of the values of the choices list. Why would you have it as a string. Just get the model value of the model behind the dropdownchoice and you have a nice OO way of doing things instead of working with strings and input params, which wicket should shield from you. jo

[Wicket-user] Re: Clicking a DropDownChoice to populate another

2005-07-15 Thread James
Johan Compagner j-com.nl> writes: > > > > can you see in the debugger what it tries to cast to what? > It seems that you're own newChoice() method is doing something wrong > (it expects a different kind of object???) > But if you are really working with Choice components please upgrade as > so

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Martijn Dashorst
Sohaib, What kind of information are you looking for? A complete worked out guide? I doubt that will be ready any time soon, considering the current rate of writing done. You might take a look at some of the Wicket blogs for more information. I know Jesse Sightler and Geertjan Wielenga have a

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Eelco Hillenius
Unfortunately, we can't make any guarantees here. We have one member that wants to help us out writing docs, and hopefully he'll start working on that next week. But it's a project that most members work on in their free time, so we can't plan it as strickt as our daily work. For now, you coul

Re: [Wicket-user] Clicking a DropDownChoice to populate another

2005-07-15 Thread Johan Compagner
can you see in the debugger what it tries to cast to what? It seems that you're own newChoice() method is doing something wrong (it expects a different kind of object???) But if you are really working with Choice components please upgrade as soon as you can to 1.1 (when the first beta arrives)

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread sohaib akhtar
Hi, Thanks for prompt response. I will be very thankful if you could just tell me how long it will take to release the complete guide. As current guide don't have updated sections e.g. Session Management etc As in this way i will have the idea about release date of guide(s) and i could plan

[Wicket-user] Clicking a DropDownChoice to populate another

2005-07-15 Thread yongbl
Hi All,   I am trying to populate DropDownChoice B by selecting a value from DropDownChoice B.   In the onSelectionChanged method for DropDownChoice A, I have trying to set the choices for DropDownChoice B by using setChoices method. But it gives me the following errors.   java.lang.ClassCastExcept

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Eelco Hillenius
The Wiki (http://wicket.sourceforge.net/wiki/) is probably your best starting point, including the user's manual we have been working on (http://wicket.sourceforge.net/wiki/index.php/Newuserguide). Eelco Juergen Donnerstag wrote: Unfortunately our docs are not up-to-date, we are working on t

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Juergen Donnerstag
Unfortunately our docs are not up-to-date, we are working on them, but they should be sufficient for a beginner. Please the our homepage which contains the links to the docs (user guides etc.) and the wiki. Juergen On 7/15/05, sohaib akhtar <[EMAIL PROTECTED]> wrote: > Hi, > > I am a new user o

[Wicket-user] Query about Tutorial

2005-07-15 Thread sohaib akhtar
Hi, I am a new user of wicket and want to migrate from JSP, Servlet Platform to wicket technology, but i am finding it difficult as there is no road map available. Moreover there is no tutorial available which could guide me how to proceed from step 1 onwards in wicket. I have downloaded th

Re: [Wicket-user] wicket-extensions

2005-07-15 Thread Eelco Hillenius
Yep, you should fetch them from CVS currently. We'll release a new version this weekend. Eelco Adam Chesney wrote: grab it from CVS? Adam. - Original Message - *From:* Dipu *To:* wicket-user@lists.sourceforge.net

Re: [Wicket-user] wicket-extensions

2005-07-15 Thread Adam Chesney
grab it from CVS?   Adam. - Original Message - From: Dipu To: wicket-user@lists.sourceforge.net Sent: Friday, July 15, 2005 10:25 AM Subject: [Wicket-user] wicket-extensions Hi,   Can anyone please tell me where to download most recent files of the wic

[Wicket-user] wicket-extensions

2005-07-15 Thread Dipu
Hi,   Can anyone please tell me where to download most recent files of the wicket-extensions project.   Thanks Dipu          

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
When it's going to be rendered? I mean, before actual rendering, right? Because if it touched the page map only when being rendered that would IMHO work on RedirectToBuffer only. I think it would be nice to have this in 1.0.1 :) -Matej Johan Compagner wrote: a response page will now touch th

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
Well, last redeploy I've made was done in Netbeans. I didn't express myself properl, of course it's JVM that's reloading the code. But WTP does support code reloading without deploying the whole application. Only it's not that mature, and sometimes it doens't work. But that happens only occa

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Johan Compagner
a response page will now touch the page map when it is going to rendered. So a response page will from now always be at the front of its pagemap. I did this in 1.1 stream (beta will be released this weekend) do you need it in the 1.0 stream? Then we will backport it. (or i think eelco will do it

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Johan Compagner
hmm :) look what Matej is saying: "Seems like tomcat hadn't properly reloaded my application code" tomcat reloading application code?? I think he is into the "i deploy constantly when i am developing" :)) That is not workable in my eyes.. Eclipse or better said the JVM should reload code (

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
I'm not using Sysdeo Tomcat plugin, although it seems that i'll try it. I'm using the one from WTP (yeah, I know, still beta, but the rest of WTP seems to be quite mature), so I can go complain to IBM :)) -Matej Eelco Hillenius wrote: Johan is one of the Sysdeo Tomcat plugin guys (we're compet

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Eelco Hillenius
Johan is one of the Sysdeo Tomcat plugin guys (we're competitors :)), so maybe if you complain, he'll fix it :) Eelco Matej Knopp wrote: Yeah, I'm sorry to have misleaded you. Sometimes, tomcat droves me mad. I'm definitely going to check the JettyLauncher plugin. -Matej Eelco Hillenius wr

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
Yeah, I'm sorry to have misleaded you. Sometimes, tomcat droves me mad. I'm definitely going to check the JettyLauncher plugin. -Matej Eelco Hillenius wrote: Bummer. Ok, we'll look into it. Eelco Matej Knopp wrote: Actually, I double checked it and the bug is still here. Seems like tomcat

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
When the rendering mode is set to redirect to buffer, the page gets rendered problerly. But after it's displayed, you can't work it with, on every interaction it shows the expired page. So it's not in pagemap. so maybe the setResponsePage (resp. redirectTo) should explicitly put the page into to

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Eelco Hillenius
Bummer. Ok, we'll look into it. Eelco Matej Knopp wrote: Actually, I double checked it and the bug is still here. Seems like tomcat hadn't properly reloaded my application code so I tested it with the getPageMap().put workaround enabled. So the result is that it doesn't work. -Matej Eelco

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Johan Compagner
yes but still i could hold a page somewhere. that i use as a response page. some time in the further. Then that page is rendered then can be out of the pagemap already (if there are already make other pages between that time) A page should be in front of the stack when it is used yes? And when

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
Actually, I double checked it and the bug is still here. Seems like tomcat hadn't properly reloaded my application code so I tested it with the getPageMap().put workaround enabled. So the result is that it doesn't work. -Matej Eelco Hillenius wrote: Ah, no, I remember now. The page is put at

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Eelco Hillenius
wicket.util.collections.MostRecentlyUsedMap that is... Eelco Eelco Hillenius wrote: Ah, no, I remember now. The page is put at front of the stack when it is accessed. So, this should allways work. In fact when you look at the name of the collection, it was a bug that it didn't until recently.

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Eelco Hillenius
Ah, no, I remember now. The page is put at front of the stack when it is accessed. So, this should allways work. In fact when you look at the name of the collection, it was a bug that it didn't until recently. Eelco Eelco Hillenius wrote: Sounds logical, yes. Eelco Johan Compagner wrote:

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Eelco Hillenius
Sounds logical, yes. Eelco Johan Compagner wrote: if i look at the Call Hierarchy of PageMap.put(Page) then pages are only added in there init() or in the callComponentListener() this is wrong. A Page should be put when it is rendered. (when it is the response) I think that Page.init() isn'

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Johan Compagner
are you really sure? Because i looked again (after i saw you're reply) through every code where the PageMap is called And it doesn't seem to add pages to the pool. Except when you make a Page (new XxxPage() or when a page is hit by a outside request. johan Matej Knopp wrote: Well, it seems

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Johan Compagner
if i look at the Call Hierarchy of PageMap.put(Page) then pages are only added in there init() or in the callComponentListener() this is wrong. A Page should be put when it is rendered. (when it is the response) I think that Page.init() isn't needed. A page only has to go in the pagemap when i

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
Well, it seems to be working. So it will be ok in 1.0.1. Thank you very much, excelent work. -Matej Eelco Hillenius wrote: Thought this was fixed actually. Hmmm. Maybe after 1.0? I'm sending you the current snapshot offline. Could you be so kind and test whether this is still a bug? Cheers,