Re: [Wicket-user] New Link component ?

2006-03-31 Thread Eelco Hillenius
Yeah, that could be a code saver. Personally I like just private classes better. I use that when annonymous classes get too big/ messy. The big advantage over not using introspection is that you can easily track down how it is called from your IDE, you won't mess up with refactoring and stepping

Re: [Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Eelco Hillenius
+1 for now. Eelco On 4/1/06, Johan Compagner [EMAIL PROTECTED] wrote: Currently almost all our interfaces that makes the output or Response writing code are using Strings as parameters or return types I would like to change all those methods to use Charsequence because this would mean

Re: [Wicket-user] Wicket in a clustered environment

2006-04-01 Thread Eelco Hillenius
I tested it a couple of times, and the product I'm working on needs to be deployed in a clustered environment (with Wicket). However, having an automated cluster test is one of our to-dos. It would be awesome if someone could set such a thing up, preferably in such a way that it can just be

Re: [Wicket-user] PopupSettings Center

2006-04-01 Thread Eelco Hillenius
Didn't think about that yet. A patch would be welcome. If you have one, please attach it to an RFE (http://sourceforge.net/tracker/?group_id=119783atid=684978) Eelco On 3/31/06, Alexander Lohse [EMAIL PROTECTED] wrote: Hi, are there any efforts yet to add a centering option to the

Re: [Wicket-user] Re: New Link component ?

2006-04-01 Thread Eelco Hillenius
We thought about it and as our internal component, we were ready to implement 2) et 3). In our case we want provide a uniform style of coding : 90% of use cases, the method is called on the page object. 10% left are filled by 3) Yeah, the disadvantage of calling the page object is that it

Re: [Wicket-user] date formats and SimpleConverterAdapter (wicket 1.2 beta 2)

2006-04-01 Thread Eelco Hillenius
Yeah, I know what was going on. I made a stupid mistake! Sorry... It's fixed in trunk now. Eelco On 4/1/06, Simon Edwards [EMAIL PROTECTED] wrote: Hello, I'm trying to get some date formatting on the go for Date.class field. The SimpleConverterAdapter example that was posted to the list

Re: [Wicket-user] Form Feedback

2006-04-01 Thread Eelco Hillenius
1.1 worked by setting the appropriate collecting component - which in the case of forms was done automatically. From 1.2 on we have IFeedbackMessageFilter for this. If you want field level feedbakc, you might want to check out FormComponentFeedbackBorder. From 1.2 on there additionally is

Re: [Wicket-user] Re: Wicket Include vs. RequestDispatcher.include

2006-04-02 Thread Eelco Hillenius
for developing the most wonderful framework. I voted for you! Nili Eelco Hillenius wrote: To my knowledge, none of the core developers of Wicket uses the Include component for their projects. What about this: if you and anyone else that uses this functionality agree on what would be the best

Re: [Wicket-user] Re: Wicket Include vs. RequestDispatcher.include

2006-04-02 Thread Eelco Hillenius
framework. I voted for you! Nili Eelco Hillenius wrote: To my knowledge, none of the core developers of Wicket uses the Include component for their projects. What about this: if you and anyone else that uses this functionality agree on what would be the best implementation, I'd be happy

Re: [Wicket-user] passing IModel around

2006-04-02 Thread Eelco Hillenius
Hillenius [EMAIL PROTECTED] wrote: Oh, I didn't look at your example yet. Better is this: public HeaderPanel(String id, IModel blogModel) { super(id); Blog blog = (Blog)getModelObject(); Eelco On 4/2/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Just pass in null

Re: [Wicket-user] passing IModel around

2006-04-02 Thread Eelco Hillenius
Oh, I didn't look at your example yet. Better is this: public HeaderPanel(String id, IModel blogModel) { super(id); Blog blog = (Blog)getModelObject(); Eelco On 4/2/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Just pass in null. The component parameter is only used

Re: [Wicket-user] passing IModel around

2006-04-02 Thread Eelco Hillenius
Just pass in null. The component parameter is only used by CompoundPropertyModel and friends, not by LoadableDetachableModel. Eelco On 4/2/06, Vincent Jenks [EMAIL PROTECTED] wrote: That won't work, since getObject takes a parameter of Componentwhat would I pass in? On 4/2/06, karthik

Re: [Wicket-user] wicket.authentication package classes.

2006-04-03 Thread Eelco Hillenius
The wicket-auth-roles-examples project depenends on project wicket-auth-roles. Maybe that's what you are missing. You don't need that project to implement authorization with Wicket, as the core support is in the wicket package, but it includes a convenient role based implementation. Eelco On

Re: [Wicket-user] Wicket 1.2-beta3 is available

2006-04-03 Thread Eelco Hillenius
Do you have a stack trace with that? Eelco On 4/3/06, Frank Silbermann [EMAIL PROTECTED] wrote: My application uses DataTable's whose column headers come from ResultSetMetaData and whose data comes from ResultSet. With the new .jars, I'm getting the column headers, but not the table

Re: [Wicket-user] Validations and the TabbedPanel

2006-04-03 Thread Eelco Hillenius
Actually, that should work. As long as your components are visible in the hierarchy. And they probably are, it's just the panels you have to set visible. The interesting thing is that I think we have a bug in the 1.2 implementation of FormComponent. Compare this, correct visit of form

Re: [Wicket-user] Validations and the TabbedPanel

2006-04-03 Thread Eelco Hillenius
formComponent) { if (formComponent.isVisibleInHierarchy() formComponent.isValid() formComponent.isEnabled() formComponent.isEnableAllowed()) { validate(formComponent); } } -Igor On 4/3/06, Eelco Hillenius

Re: [Wicket-user] Extra markup while creating listview

2006-04-04 Thread Eelco Hillenius
And so am I :) Eelco On 4/4/06, Steve Knight [EMAIL PROTECTED] wrote: Ramnivas, Did you get the DOJO-based tree working? If so, I'd be very interested in it. Steve On 3/29/06, Ramnivas Laddad [EMAIL PROTECTED] wrote: Hi, I am continuing my attempt to create a DOJO-based tree

Re: [Wicket-user] Re: More on refreshing page contents

2006-04-04 Thread Eelco Hillenius
Anything would have worked as long as the list that you return is fresh by either using a detachable model, or one of the models that re-evaluate on every call, like PropertyModels or e.g. a model like: IModel listViewModel = new Model() { Object getObject(Component c) { return

Re: [Wicket-user] starting jetty with 1.2 beta3

2006-04-04 Thread Eelco Hillenius
It seems that it wants the jasper libs too (jasper-runtime-x.jar and probably jasper-compiler-x.jar). Eelco On 4/4/06, Scott Swank [EMAIL PROTECTED] wrote: I just downloaded the beta3 wicket-examples and created a new Java project for it in Eclipse 3.1. When I try to run StartExamples I

Re: [Wicket-user] Question about DataTable and IDataProvider restated

2006-04-04 Thread Eelco Hillenius
I suppose the usual approach is to trigger the download of IDataProvider's data via the event handler of the submit button. That way, the data would be available for both Iterator IDataProvider.iterate(first, count) and int IDataProvider.size(). It's the responsibility of the model(s).

Re: [Wicket-user] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

2006-04-04 Thread Eelco Hillenius
Therefore, for each post-back, I'll need to query the database before _either_ of these methods return. If both methods query the database independently, intervening CRUD operations may cause them to return inconsistent results (a size that is too small or too large). I can and should

Re: [Wicket-user] PopupSettings Center

2006-04-05 Thread Eelco Hillenius
Thanks, I'll try to look into it shortly. Eelco On 4/3/06, Alexander Lohse [EMAIL PROTECTED] wrote: I did so. Regards, Alex Am 01.04.2006 um 23:31 schrieb Eelco Hillenius: Didn't think about that yet. A patch would be welcome. If you have one, please attach it to an RFE (http

Re: [Wicket-user] cdapp-example download

2006-04-05 Thread Eelco Hillenius
Hi, It's part of wicket-contrib-examples, which you can find in the repository of wicket-stuff (https://svn.sourceforge.net/svnroot/wicket-stuff). *someday* we will have a proper, recent release of that :). Eelco --- This SF.Net email is

Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-05 Thread Eelco Hillenius
This might not be exactly what you want, but you can do any header contribution using wicket.behavior.HeaderContributor. To make this a little bit easier/ more specific for arbitrairy string contributions, beta 3 has now wicket.behavior.StringHeaderContributor and a neat way to do javascript

Re: [Wicket-user] no en_US in dateformats.properties ?

2006-04-05 Thread Eelco Hillenius
Hi, On 4/5/06, Nathan Hamblen [EMAIL PROTECTED] wrote: DatePicker isn't setting a correct date string for me in beta3. It's doing 2006/04/05, which the date converter won't understand. I stepped into the code and saw that it's trying to find 'en_US' in a hashtable built from

Re: [Wicket-user] Re: no en_US in dateformats.properties ?

2006-04-06 Thread Eelco Hillenius
for Yahoo's calendar or whatever gets us a more solid date widget. Nathan Eelco Hillenius wrote: Hi, On 4/5/06, Nathan Hamblen [EMAIL PROTECTED] wrote: DatePicker isn't setting a correct date string for me in beta3. It's doing 2006/04/05, which the date converter won't understand. I

Re: [Wicket-user] Re: strange behaviour of TextField conversion to Float in beta3

2006-04-06 Thread Eelco Hillenius
What does the code for the converter factory look like? Eelco On 4/6/06, Jaime De La Jara [EMAIL PROTECTED] wrote: Yes, I use the following code : add(new TextField(montoTotal, Float.class)); I've made some tests and found that commenting the definition of the IConverterFactory for the

Re: [Wicket-user] Re: Re: Re: strange behaviour of TextField conversion to Float in beta3

2006-04-07 Thread Eelco Hillenius
Yeah, you can do that. Like this: getApplicationSettings().setConverterFactory(new IConverterFactory() { public IConverter newConverter(final Locale locale) { final Converter converter

Re: [Wicket-user] Re : Re : Re: strange behaviour of TextField conversion to Float in beta3 : resolved !

2006-04-07 Thread Eelco Hillenius
I commented the lines that define the datetostring converter and the effect was that the date was displayed using toString() and the float value was displayed correctly. So, how can I define converters for different types, like Float and Date from and to String?. Like I answered you

Re: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Eelco Hillenius
url=url+rand=+UUID.random().toString() but wait...even with that there is a chance of collission...hmmm Is there? Isn't UUID supposed to be unique in space and time? Eelco --- This SF.Net email is sponsored by xPML, a groundbreaking

Re: [Wicket-user] Enterprise application using Wicket

2006-04-09 Thread Eelco Hillenius
JSP is not included, but here: http://www.virtuas.com/articles/webframework-sweetspots.html is a discussion that might help. Eelco On 4/9/06, dave723 [EMAIL PROTECTED] wrote: The Fortune 50 company where I work is migrating a proprietary web application and is tending toward JSP. I'd like

Re: [Wicket-user] Re: zero session state/stateless pages

2006-04-11 Thread Eelco Hillenius
I think it is possible, but as you can read from Martijn's reply and the issue I created for this just today, not for this release, as it means an API break. See (and track) http://sourceforge.net/tracker/index.php?func=detailaid=1468853group_id=119783atid=684975 Eelco On 4/11/06, Michael Day

Re: Betr.: Re: [Wicket-user] Wicket 2 (beta 3) and Resin 3.0.18 on SuSE 9.3 FileNotFoundException Too many open files

2006-04-12 Thread Eelco Hillenius
Yeah, the problem /should/ be gone, as in production you would have resource polling turned off, which is the cause of the problem in the first place. Eelco On 4/12/06, Tom Desmet [EMAIL PROTECTED] wrote: After switching to production mode, the problem does not seem to appear any more at

Re: [Wicket-user] Data Provider vs. ListView

2006-04-12 Thread Eelco Hillenius
Well, there is pageable list view, which can be used with the same effect. Basically, the repeater packages (which dataprovider is part of) are higher-level and more focused on common need, whereas ListViews are the generic list support components. If you have to do database driven stuff, and

Re: [Wicket-user] Data Provider vs. ListView

2006-04-12 Thread Eelco Hillenius
with a pageable listview you must still have the entire list available, where as with a dataprovider it will only load the page that is currently displayed. -Igor On 4/12/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Well, there is pageable list view, which can be used with the same effect. Basically

Re: [Wicket-user] DatePickerSettings not closing inputstream

2006-04-13 Thread Eelco Hillenius
Thanks Johan. Fixed another one (PackagedTextTemplate) too. Eelco On 4/13/06, Johan Compagner [EMAIL PROTECTED] wrote: fixed On 4/13/06, Davy De Durpel [EMAIL PROTECTED] wrote: Hi, Everytime I start my Wicket application, I see a warning in the Glassfish log file: Input stream

Re: [Wicket-user] wicket Session vs HttpSession

2006-04-14 Thread Eelco Hillenius
However, the session passed to the backend isn't always the same one, causing the back-end to throw exceptions. Then there is something wrong that is not Wicket related. Wicket just passes/ uses the underlying httpSession. Is there something i can do to maintain the httpSession (and keep it

Re: [Wicket-user] wicket ajax memory leak with IE

2006-04-14 Thread Eelco Hillenius
I can't speak for Igor - though we have talked about that too - but for my opion see e.g. http://www.theserverside.com/news/thread.tss?thread_id=39579#204913 Basically, I think continuations are a smart idea, and they might be useful for wizard/ flow type applications. That said, I also think

Re: [Wicket-user] WebPage generated script problem

2006-04-16 Thread Eelco Hillenius
That code is for automatically opening new page maps when new windows are opened (e.g. when doing ctrl+click or ctrl+n in IE). That code had some problems though, and we rewrote it using cookies when they are available, using the history trick as a last fall back. There was a thread about this

Re: [Wicket-user] WebPage generated script problem

2006-04-16 Thread Eelco Hillenius
Done. It's setting automaticMultiWindowSupport. Eelco On 4/16/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That code is for automatically opening new page maps when new windows are opened (e.g. when doing ctrl+click or ctrl+n in IE). That code had some problems though, and we rewrote

[Wicket-user] call for i18n contributions

2006-04-17 Thread Eelco Hillenius
Hi all, As you might have noticed, we implemented some default validator messages (Application.properties). We currently have that in languages English (default), Chinese (zh_TW), German (de) and Dutch (nl). It would be great if your language is not in that list, you could contribute it. At the

Re: [Wicket-user] Yahoo Calendar component

2006-04-17 Thread Eelco Hillenius
Yep, YUI has no future in core, at least not in the short term. I couldn't find enough time to properly build/ support it. Josua Lim and I moved the YUI code out of extensions into wicket-contrib-yui and wicket-contrib-yui-examples (wicket-stuff) where it will hopefully grow into a useful

Re: [Wicket-user] Wicket 1.2-rc1 available for download

2006-04-17 Thread Eelco Hillenius
Hi Gustavo, Sorry for the inconvenience. What kind of test cases are failing? If you use jWebUnit tests, you probably should set HttpUnitOptions.setExceptionsThrownOnScriptError(false); as jWebUnit does not seem not recognize history as a valid javascript property. Could you give more

Re: [Wicket-user] Wicket 1.2-rc1 available for download

2006-04-17 Thread Eelco Hillenius
That must have been the case where you mount the application on the server root and where you don't use a web app name. Fixed in trunk. Eelco On 4/17/06, Ramnivas Laddad [EMAIL PROTECTED] wrote: Just switched over to rc1 and I started getting the following exception for every request.

Re: [Wicket-user] Wicket 1.2-rc1 available for download

2006-04-17 Thread Eelco Hillenius
own javascript so I'm assuming it has something to do w/ the wicket cookie scripts I'm seeing while viewing the generated source in the browser. Those scripts don't exist on the path that's being generated. On 4/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Hi Gustavo, Sorry

Re: [Wicket-user] RE: Problem with FormComponentFeedbackBorder and Component#isAncestor()? (was: * is not output)

2006-04-18 Thread Eelco Hillenius
I created http://sourceforge.net/tracker/index.php?func=detailaid=1472451group_id=119783atid=684975 Thanks for spotting it. Eelco On 4/18/06, Sebastian Scheid [EMAIL PROTECTED] wrote: I use Wicket 1.2-rc1. I use FormComponentFeedbackBorder, but when input error is occured, * is not

Re: [Wicket-user] Encrytption of password data

2006-04-18 Thread Eelco Hillenius
I don't know whether it is such a good idea to 'unfix' a bug just for compatibility. It was fixed because people were experiencing problems with it, right? So unfixing it will give those users those problems again. Eelco On 4/18/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: Yes that is true.

Re: [Wicket-user] help: dynamically change the meta tag's content attribute

2006-04-18 Thread Eelco Hillenius
Or, if you write components without knowing about the pages that they are on, you can use header contributions (see wicket.behavior.HeaderContributor). Eelco On 4/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote: markup: meta wicket:id=meta name=description content=I want to dynamically change

Re: [Wicket-user] Formatting DatePIcker

2006-04-18 Thread Eelco Hillenius
Thanks for answering. I improved the javadocs. Eelco On 4/18/06, Marco Geier [EMAIL PROTECTED] wrote: use *JavaScript* format semantics instead of java's. e.g. private static final String DATE_FORMAT_STRING = %m/%d/%Y; Aditya Patel wrote: I am trying to format the DatePicker component

Re: [Wicket-user] Encrytption of password data

2006-04-18 Thread Eelco Hillenius
. Martijn On 4/18/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I don't know whether it is such a good idea to 'unfix' a bug just for compatibility. It was fixed because people were experiencing problems with it, right? So unfixing it will give those users those problems

Re: [Wicket-user] WebPage generated script problem

2006-04-18 Thread Eelco Hillenius
Also, will this give trouble for pages that are not explicitly XHTML complient? Eelco On 4/18/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Without the // I think? So instead of //![CDATA[ function isXhtmlFriendly() { alert('Yes, I am XHTML friendly'); alert('quotes , less than

Re: [Wicket-user] WebPage generated script problem

2006-04-18 Thread Eelco Hillenius
On 4/18/06, cowwoc [EMAIL PROTECTED] wrote: I personally think this is much ado about nothing. I've used text/html for a long time and the CDATA thing below and to date I haven't run into any problems. And if I do in the future, I'll just fix it ;) Gili Unfortunately, we have to find

Re: [Wicket-user] WebPage generated script problem

2006-04-18 Thread Eelco Hillenius
Without the // I think? So instead of //![CDATA[ function isXhtmlFriendly() { alert('Yes, I am XHTML friendly'); alert('quotes , less than , and ampersand used in this javascript code do not yield to XHTML validation error'); } //]] it's ![CDATA[ function isXhtmlFriendly() {

Re: [Wicket-user] WebPage generated script problem

2006-04-19 Thread Eelco Hillenius
I'm still unsure about that. I'm waiting to see where this thread goes. Eelco On 4/19/06, Johan Compagner [EMAIL PROTECTED] wrote: are you going to commit this? And use the JavaScriptUtils class all over the place to open an close those javascript tags? johan

Re: [Wicket-user] New Suggestion: Form components as labels

2006-04-19 Thread Eelco Hillenius
I agree that this shouldn't be part of the core components. It shouldn't be too hard to write your own components that do this though (or as Igor suggested you might look into behaviors for this); that would be a one-time undertaking for your whole project. Do a little bit of extra work now, and

Re: [Wicket-user] Suggestion for PageParameters

2006-04-19 Thread Eelco Hillenius
Could you please file a bug report/ feature request for that? Eelco On 4/19/06, Rüdiger Schulz [EMAIL PROTECTED] wrote: Hey, I have a suggestion for PageParameters. All those nice methods getInt(), getBoolean() etc. should not throw an Exception, at least if a default value is provided. I

Re: [Wicket-user] Wicket 1.2-rc2 available for download

2006-04-19 Thread Eelco Hillenius
I added it. Xie xie! Eelco On 4/19/06, lu dongping [EMAIL PROTECTED] wrote: Hi, Martijn here is the simple chinese version for Application.properties ! Regards, outersky On 4/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote: All, To keep our release cycle moving, I have created and

Re: [Wicket-user] Wicket 1.2-rc2 available for download

2006-04-19 Thread Eelco Hillenius
Little bit. I've worked in China for a few months (not IT). Kind of got stuck at the speaking part :) Is our forminput example still up-to-date btw? Thanks, Eelco On 4/19/06, lu dongping [EMAIL PROTECTED] wrote: haha, you know chinese ? bu xie ! outersky On 4/20/06, Eelco Hillenius

Re: [Wicket-user] Wicket 1.2-rc2 available for download

2006-04-19 Thread Eelco Hillenius
On 4/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: show off more? --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM

Re: [Wicket-user] call for i18n contributions

2006-04-20 Thread Eelco Hillenius
Tanks a lot. I added it. Eelco On 4/20/06, Akira Ueda [EMAIL PROTECTED] wrote: Hi, Here is a 'ja' version of properties file. RequiredValidator='${label}' \u6b04 \u306f\u5fc5\u9808\u3067\u3059\u3002 TypeValidator='${input}' \u306f ${type}

Re: [Wicket-user] Wicket now ranks 89 on sf.net top 100

2006-04-20 Thread Eelco Hillenius
Heh. Don't get carried away tooo much; we might be 200 next week :) And there are a lot of Java projects that are not on sourceforge either. Eelco On 4/19/06, Martijn Dashorst [EMAIL PROTECTED] wrote: As Jonathan observed yesterday, the Wicket project has entered the ranks of the SourceForge

Re: [Wicket-user] call for i18n contributions

2006-04-20 Thread Eelco Hillenius
Thanks. I already took care of that :) Oh, and like I stated in another email, contributions for the FormInput example of wicket-examples are more than welcome too! Eelco On 4/20/06, Akira Ueda [EMAIL PROTECTED] wrote: 2nd try. I attached ja version. Please ignore my previous mail. (Its some

Re: [Wicket-user] call for i18n contributions

2006-04-20 Thread Eelco Hillenius
I converted it (the Persian input) to escaped unicode. As I needed a tool for that I added a simple converter as a wicket example. Eelco On 4/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Very cool. I don't think we can put it in a file like that though. Martijn warned that we should use

Re: [Wicket-user] Re: call for i18n contributions

2006-04-20 Thread Eelco Hillenius
}'. EmailAddressPatternValidator=Ang '${input}' ay hindi puwedeng email address. EqualInputValidator=Ang '${input0}' mula sa ${label0} at ang '${input1}' mula sa ${label1} ay dapat na magkapareho. null=Mamili ng isa nullValid= __ On 4/18/06, Eelco Hillenius [EMAIL PROTECTED] wrote

Re: [Wicket-user] Bug: Message from EmailAddressPatternValidator not displayed correctly

2006-04-20 Thread Eelco Hillenius
It's always a good idea to file bug reports on the sourceforge site, so that we don't forget about them, and everyone else can track whether they are fixed or not. Sourceforge seems to be down now, but I'll add a report later. Eelco On 4/20/06, Rüdiger Schulz [EMAIL PROTECTED] wrote: Still

Re: [Wicket-user] Wicket 1.2-rc2 available for download

2006-04-20 Thread Eelco Hillenius
3: FormInput_zh_CN.html is not completely translated to chinese. and , I don't like the current style it used to present chinese: #20351;#29992;#22320;#28857; generally, I write html file in utf8 encoding , then I can directly enter chinese , and it seems more friendly. Agreed. We didn't

Re: [Wicket-user] Wicket now ranks 89 on sf.net top 100

2006-04-20 Thread Eelco Hillenius
://www.sf.net/projects/wicket help. Martijn On 4/20/06, Johan Compagner [EMAIL PROTECTED] wrote: pessimist. i want in top 5!!! What is exactly monitored? commits? downloads? mailing-lists? can i spam somehow? ;) johan On 4/20/06, Eelco Hillenius [EMAIL PROTECTED

Re: [Wicket-user] RC2 - still have javascript errors

2006-04-20 Thread Eelco Hillenius
I think Igor meant what the servlet-mapping element looks like. E.g. phonebook has: servlet-mapping servlet-namephonebook/servlet-name url-pattern/app/*/url-pattern /servlet-mapping if that would be servlet-mapping servlet-namephonebook/servlet-name

Re: [Wicket-user] call for i18n contributions

2006-04-22 Thread Eelco Hillenius
$ {label1} måste vara lika. null=Välj en nullValid= Cheers! /Per 17 apr 2006 kl. 09.39 skrev Eelco Hillenius: Hi all, As you might have noticed, we implemented some default validator messages (Application.properties). We currently have that in languages English (default

Re: [Wicket-user] Image upload

2006-04-22 Thread Eelco Hillenius
wicket-contrib-examples of wicket-stuff has the cdapp example that does this. It uses hibernate and stores uploaded images in the database as a blob. Eelco On 4/21/06, Steve Knight [EMAIL PROTECTED] wrote: I am creating a form that will allow users to upload image files that will be displayed

Re: [Wicket-user] migrating to 1.1

2006-04-22 Thread Eelco Hillenius
Geert, if it is a project you can share, we could help you I think. It's probably not a zillion lines project anyway, right? Can you contact me ofline if you are interested in that? Eelco On 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: Well, I'm a bit fearful of doing that. I'm

Re: [Wicket-user] migrating to 1.1

2006-04-22 Thread Eelco Hillenius
We aim for 2.0 actually. Both the authors (Martijn and me) are core developers, so we hope to keep up with the changes. Eelco On 4/21/06, Vincent Jenks [EMAIL PROTECTED] wrote: And, if I'm not mistaken, the book will be based on 1.2, correct? On 4/21/06, Martijn Dashorst [EMAIL PROTECTED]

Re: [Wicket-user] VOTE: ListView.setUseOptimizedItemRemoval()

2006-04-22 Thread Eelco Hillenius
I'm not sure setReuseItems is the best name, but I not a friend of setUseOptimizedItemRemoval. Eelco On 4/21/06, Igor Vaynberg [EMAIL PROTECTED] wrote: +1 we can deprecate the existing one and have it forward to the new one as not to break the api. then remove the deprecated method once 1.2

Re: [Wicket-user] proposal: internationalization project

2006-04-24 Thread Eelco Hillenius
On 4/23/06, Iman Rahmatizadeh [EMAIL PROTECTED] wrote: I'm ready for Persian/Farsi (fa_IR). Just asking, would it be a good idea to let wicket automatically set the page direction (ltr or rtl) based on the locale ? I have no experience with that, so I wouldn't know. Which is exactly why we

Re: [Wicket-user] image ref within CSS

2006-04-24 Thread Eelco Hillenius
On 4/24/06, karthik Guru [EMAIL PROTECTED] wrote: I have a CSS that refers to an image - span hello{ float:left; background:#DAE0D2 url(test.gif) repeat-x bottom; } If I were to package the panel as a component, the gif needs to be packaged as well. Then the CSS reference to image -

Re: [Wicket-user] image ref within CSS

2006-04-24 Thread Eelco Hillenius
Pfffew. Glad I didn't say something stupid this time ;) Eelco On 4/24/06, karthik Guru [EMAIL PROTECTED] wrote: yes worked..great!..my initializer that registers the gifs as a shared resource didn't run .I fixed that. thanks. On 4/24/06, Eelco Hillenius [EMAIL PROTECTED] wrote: On 4

Re: [Wicket-user] Re: Licensing issues for including Wicket JARs

2006-04-24 Thread Eelco Hillenius
So it would be much quicker for you Geertjan to just update to 1.2 :) No worries, we'll help you through it. It's only a couple of classes, no? Eelco On 4/24/06, Petr Pisl [EMAIL PROTECTED] wrote: It depends, how we can distribute the module. In the case that it will be distributed with

Re: [Wicket-user] Changing Tree model

2006-04-24 Thread Eelco Hillenius
setOptimizeItemRemoval to false should do the trick. Or maybe just manually removeChildren when you suspect something changed (e.g. by registring a listener). Eelco On 4/24/06, Steve Knight [EMAIL PROTECTED] wrote: I am currently using the tree component to display hierarchical data, and now

Re: [Wicket-user] Changing Tree model

2006-04-24 Thread Eelco Hillenius
would like to rebuild the entire tree from the database on each page view, but I'd like it to maintain the expanded and selected states. How should I go about doing this? Steve On 4/24/06, Eelco Hillenius [EMAIL PROTECTED] wrote: setOptimizeItemRemoval to false should do the trick. Or maybe

Re: [Wicket-user] UML diagram?

2006-04-25 Thread Eelco Hillenius
That'd be much appreciated. The WIKI is a good place for that. Thanks, Eelco On 4/24/06, Stefan Kanev [EMAIL PROTECTED] wrote: Hi Don't you think that an UML diagram for the basic objects in wicket would be useful for newbies to the frameworks (shows the complete) picture and for all

Re: [Wicket-user] ajax behavior NotSerializable exception

2006-04-25 Thread Eelco Hillenius
The problem is the 'setThrottleDelay' method. This method creates an instance of the 'wicket.ajax.AjaxEventBehavior$ThrottlingSettings' class. This inner class however is not serializable and I guess that when the component is put on the session, Glassfish throws the NotSerializable

Re: [Wicket-user] Is there an easy way to Prevent Caching and Expire HTML content imediately

2006-04-25 Thread Eelco Hillenius
The page or the session? If you don't want to support the back button for a page, just override isVersioned and return false. The effect is that the URL stays the same, so the back button will take users to the page they were before that. To invalidate a session, call Session.invalidate().

Re: [Wicket-user] Any news on JSR-168 portlet support?

2006-04-26 Thread Eelco Hillenius
the main block is that none of the core developer team are familiar/have any experience with the spec. Actually, two of the current core developers got their committer status because they were familiar with JSR168 and they wanted to work on Wicket-portlet integration. Sadly, the real world with

Re: [Wicket-user] Hard setting of Locale

2006-04-26 Thread Eelco Hillenius
Easiest thing is probably to override Session.getLocale in a custom Session implementation. super.getLocale will give you the locale that was set based on the request that created the session in case you need to take that into consideration. Eelco On 4/26/06, Rüdiger Schulz [EMAIL PROTECTED]

Re: [Wicket-user] contrib-dojo

2006-04-26 Thread Eelco Hillenius
Hi, Unfortunately they are bussy with other projects (though doing those with Wicket I think). Would you two be interested in taking over that project? Cheers, Eelco On 4/26/06, Jeff Lin [EMAIL PROTECTED] wrote: I posted something a while ago about the wicket-contrib-dojo-0.3.1

Re: [Wicket-user] Back button and Database rollback

2006-04-27 Thread Eelco Hillenius
There is, though not specifically geared towards doing database roll back. Also, note that it is impossible afaik to detect things like that from the browser, so the following only works when the user pushes the back button and then clicks some link or button causing another server roundtrip.

Re: [Wicket-user] Opera 9 Beta works with Wicket

2006-04-27 Thread Eelco Hillenius
Yeah! Nathan you rock man! Eelco On 4/27/06, Nathan Hamblen [EMAIL PROTECTED] wrote: Previous versions of Opera would choke on wicket:id tags, etc (as reported on this list). I filed a bug report with Opera a little while back and the problem seems to have been fixed in the new version.

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Eelco Hillenius
to the user to ensure he doesn't produce conflicts (which I think are extremely rare in the first place). Anyway, just food for thought. Gili Eelco Hillenius wrote: I'm afraid /resources/ is a reserved path with Wicket. I guess it's not the best

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Eelco Hillenius
] wrote: i dont see how unless a filter, security or something was mapped onto that path -Igor On 4/27/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Would it break any clients if we would do that now? Eelco On 4/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote

Re: [Wicket-user] FeedbackMessagesModel final

2006-04-28 Thread Eelco Hillenius
Done. Eelco On 4/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to override FeedbackMessagesModel.processMessages() to be able to add special messages. This seems to be one of its intended usages according to the javadoc. Regretfully FeedbackMessagesModel is final, so could

Re: [Wicket-user] multi-window support and deadlocks

2006-04-29 Thread Eelco Hillenius
But that's exactly what we have build in. It's not totally fail safe - clients need at least Javascript turned on but preferably also allow cookies - but given the technology it's the best we can do for server side store. Eelco On 4/29/06, Michael Day [EMAIL PROTECTED] wrote: I don't want to

Re: [Wicket-user] multi-window support and deadlocks

2006-04-29 Thread Eelco Hillenius
On 4/29/06, Michael Day [EMAIL PROTECTED] wrote: I understand that we have a javascript/cookie solution, but I don't like it. If I don't need back button support, why can't wicket deal with multiple tabs/windows without javascript? Each time a page containing a form is loaded, keep it in

Re: [Wicket-user] multi-window support and deadlocks

2006-04-29 Thread Eelco Hillenius
utilization. It's probably not going to be released soon though, as finalizing 1.2 has priority. But if we have more people working on it (check out the branch and everyone is always free to sumbit patches), we *could* have it in a couple of weeks. Eelco On 4/29/06, Eelco Hillenius [EMAIL

Re: [Wicket-user] multi-window support and deadlocks

2006-04-29 Thread Eelco Hillenius
So the question is how can we keep multiple instances of the same page in session, correct? What about keeping all pages (up to the configured max) in the session until the session expires? Once the number hits the max, remove the oldest (by time, not by path). So if a user has two tabs open,

Re: [Wicket-user] multi-window support and deadlocks

2006-04-29 Thread Eelco Hillenius
I'm not convinced this is a good solution, but I'm concerned that most people are ignoring this problem. I love everything about wicket, except this. In this regard, wicket is a giant step backwards from other frameworks like webwork, struts, etc. Most struts-like apps that I've seen had

Re: [Wicket-user] multi-window support and deadlocks

2006-04-29 Thread Eelco Hillenius
is there more than once. Then when the form is submitted, make updates to the correct object (which was found by the form action url). Surely I'm missing something? Michael Day On Apr 29, 2006, at 11:12 AM, Eelco Hillenius wrote: But that's exactly what we have build in. It's not totally fail safe

Re: [Wicket-user] Advice on what to do with app

2006-04-29 Thread Eelco Hillenius
If your interested in trying it out, go to www.noodleshare.com and click Download. Sorry, currently the only version comes with the jre embedded, so its about 16M. Yeah, I guess most people have their JDK already installed on this list. Furthermore, I'm guessing that you'll miss at least 30%

Re: [Wicket-user] multi-window support and deadlocks

2006-04-29 Thread Eelco Hillenius
On 4/29/06, Johan Compagner [EMAIL PROTECTED] wrote: Isn't what you describe just a rename of PageMap? So PageMap is Window ? Well, for starters, I think having the proper naming makes a huge difference in how you think about it and how people understand how it is supposed to work.

Re: [Wicket-user] multi-window support and deadlocks

2006-04-29 Thread Eelco Hillenius
On 4/30/06, Martijn Dashorst [EMAIL PROTECTED] wrote: I'd like to see a component level as well to support multi-request component storage, bound to a window. This would encapsulate component specific state which can be used over requests, and rolled back using our versioning strategy. I think

Re: [Wicket-user] Re: multi-window support and deadlocks

2006-04-30 Thread Eelco Hillenius
Yeah there's just no perfect world as long as browsers work the way they work. The big, really big advantage of client state saving is that there is no limit to history. You can work with internal links everywhere without ever having to worry they'll get stale. I found this an ugly limitation of

<    7   8   9   10   11   12   13   14   15   16   >