[Wicket-user] Resources are broken in CVS HEAD

2005-12-04 Thread Gili
Resource.java uses getOutputStream() to write binary data into the response stream. BufferedWebResponse.java:close() uses getWriter() to write data into the response stream. You can't open the response as both a outputstream and text writer at the same time. For some reason, if Applicatio

[Wicket-user] Best practice: Global configuration values?

2005-12-04 Thread Johannes Fahrenkrug
Hi, I have a short question: What is the Wicket way of making configuration values accessible throughout the application? This it the scenario: My application can run either in development or in production mode. In development mode it should connect to a different RMI server than in production

Re: [Wicket-user] A new user's questions about wicket

2005-12-04 Thread Eelco Hillenius
Actually, I don't think it is too bad to go for a one page thing. You can get a long way by switching panels etc. And Ajax heavy pages probably look more like that too. The only thing to consider is whether you want some of your destinations to be bookmarkable. Eelco > > > Question 3: > > In our

Re: [Wicket-user] Problems with WebResponse in CVS HEAD

2005-12-04 Thread Gili
In WicketServlet.java line 221 we have a "finally" block with response.close() in it. Consider what happens if the "try" block throws an exception, the "finally" block is executed and response.close() throws its own exception: the original exception is lost. (I am guessing that is what is go

[Wicket-user] Problems with WebResponse in CVS HEAD

2005-12-04 Thread Gili
Old code that used to run fine is now broken after a CVS update of Wicket. Here are some stack-traces I see: 23:45:23,546 ERROR WebResponse:149 - Unable to redirect to: /DesktopBeautifierServer/Main?path=2&version=1, HTTP Response has already been committed. 23:45:23,702 ERROR [Webpage]:260

Re: [Wicket-user] A new user's questions about wicket

2005-12-04 Thread Johan Compagner
>> That is the the  way, you need to create youre own Page (just like WebPage) > and then  make for specific components a n implementation.> We (the wicket core team) just didn't need it (except XmlPage) but it would> be great> to have such a thing!>But if XDIME is just a deviation of xhtml with so

Re: [Wicket-user] A new user's questions about wicket

2005-12-04 Thread Juergen Donnerstag
> > > Question 2: > > Our project is going to be using a different markup other than xhtml, > > namely, XDIME, which is a device independent markup language usually > > used to render the pages on mobile phones. They are quite similar, > > except for things like forms, which contain different tags,

Re: [Wicket-user] A new user's questions about wicket

2005-12-04 Thread Johan Compagner
Question 1:Was wicket ever tested within a high request volume environment, meaning a site with lots of users and requests per second? If it was, are thereany stats or ideas on how much memory is required per user on average?What is high request volume? How many users are we talking about then? But

[Wicket-user] A new user's questions about wicket

2005-12-04 Thread Utku Somer
Hello all, I am most likely going to be using wicket for our next project, so I was thinking of getting some of the questions in my mind answered. I had actually gotten some answers from ivaynberg on freenode's ##wicket, but it is always nice to see the other's point of view as well. Question 1

Re: [Wicket-user] niceurl support

2005-12-04 Thread Andrew Lombardi
On Dec 4, 2005, at 12:22 PM, Igor Vaynberg wrote:On 12/4/05, Gili <[EMAIL PROTECTED]> wrote: Just being a little picky: can we redefine mountBookmarkablePage() soit is (sourceClass, targetURL) similar to the preexisting format ofputClassAlias()? I find it easier to read that way. personally

[Wicket-user] 回复

2005-12-04 Thread 何素儿
先生/小姐: 您好!很高兴认识您。我司有意与您们合作:可长久给您们带来巨大的效益,另因合作项目的高度自动化, 您们每天只需工作几分钟,对您们现有的工作没有影响!若有意,请电邮 给我,或请把您的联系电话/QQ告诉 我,以便更好地与您交流,进一步商谈合作事宜,谢谢! 深圳市好利通公司合作部 何素儿 网址:http://www.cnhlt.com Email: [EMAIL PROTECTED] QQ:363205469 电话:0755-88829928,81519553 ---

Re: [Wicket-user] niceurl support

2005-12-04 Thread Igor Vaynberg
On 12/4/05, Gili <[EMAIL PROTECTED]> wrote: Just being a little picky: can we redefine mountBookmarkablePage() soit is (sourceClass, targetURL) similar to the preexisting format ofputClassAlias()? I find it easier to read that way. personally i like to see the path first, but im not that at

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-04 Thread Igor Vaynberg
I think an even cleaner solution would be to turn this idea inside out. have the dataprovider act as a locator for toolbar models, and let the toolbars version changes themselves. instead of the locator interfaces having only a get method they will have a set method as well, essentially they become

Re: [Wicket-user] Adding Support for

2005-12-04 Thread Igor Vaynberg
I guess key is flexibility. What if i want the default message to be in some optgroup, or what if i want it to have a certain css class, etc, etc. I dont think its /that/ much more work. its only one or two lines of code. -IgorOn 12/3/05, Johan Compagner <[EMAIL PROTECTED]> wrote: it is just a matt

[Wicket-user] niceurl support

2005-12-04 Thread Gili
Just being a little picky: can we redefine mountBookmarkablePage() so it is (sourceClass, targetURL) similar to the preexisting format of putClassAlias()? I find it easier to read that way. Secondly, I read the TODO in the "niceurl" example. Is the mounting feature usable yet? Some of the

Re: [Wicket-user] Adding Support for

2005-12-04 Thread Andrew Berman
Actually I agree with Igor on this.  The entire purpose to the Select/SelectionOptions was to make it completely flexible to the developer and to allow him to do whatever he wanted.  Adding a default option for null detracts from that flexibility a bit because the developer didn't manually add it t

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-04 Thread Christian Essl
On Sat, 3 Dec 2005 13:21:15 -0800, Igor Vaynberg <[EMAIL PROTECTED]> wrote: the problem im having is that something somewhere has to version this information. if i put it back into the dataprovider then we are back to square one. I hope that it does not cause any problems when a DataView hold