Re: Wicket code conventions

2014-07-13 Thread tetsuo
What existing classes could be substituted by guava classes? I don't think it would be sensible to replace 3 or 4 classes with a 2-million-byte library :) “The truth is rarely pure and never simple.” ― Oscar Wilde On Sun, Jul 13, 2014 at 2:13 PM, Garret Wilson gar...@globalmentor.com wrote:

Re: the dangers of Wicket's modifying given HTML

2014-07-10 Thread tetsuo
much fun it would be to do the same with JSF's render kits or Swing`s LaFs :) Tetsuo “The truth is rarely pure and never simple.” ― Oscar Wilde On Thu, Jul 10, 2014 at 9:49 PM, John Sarman johnsar...@gmail.com wrote: Garrett, Since Wicket is open source, why not create the desired patch

Re: Java 8 lambdas vs serialization

2014-05-25 Thread tetsuo
of the bug at Oracle ? Just for reference Martin Grigorov Wicket Training and Consulting On Fri, May 23, 2014 at 11:48 PM, tetsuo ronald.tet...@gmail.com wrote: Never mind, Eclipse bug (sigh) “The truth is rarely pure and never simple.” ― Oscar Wilde On Fri, May 23, 2014 at 4:38 PM, tetsuo

Java 8 lambdas vs serialization

2014-05-23 Thread tetsuo
I'm using Java 8 lambdas with Wicket, and they make it really simple to have almost 100% type-safe code, without the verbosity of anonymous inner classes. With a few adapter classes and interfaces, it was relatively easy to integrate them. But I'm having some non-trivial problems with

Re: Java 8 lambdas vs serialization

2014-05-23 Thread tetsuo
Never mind, Eclipse bug (sigh) “The truth is rarely pure and never simple.” ― Oscar Wilde On Fri, May 23, 2014 at 4:38 PM, tetsuo ronald.tet...@gmail.com wrote: I'm using Java 8 lambdas with Wicket, and they make it really simple to have almost 100% type-safe code, without the verbosity

Re: refactoring IDataProvider interface

2014-05-06 Thread tetsuo
Since it's the same request, isn't (or couldn't be) the db connection the same in size() and iterator() calls? If you created the temporary table in one, isn't it still available to the other (so you could avoid recreating it)? “The truth is rarely pure and never simple.” ― Oscar Wilde On Tue,

Re: refactoring IDataProvider interface

2014-05-06 Thread tetsuo
the list twice. On Tue, May 6, 2014 at 8:06 PM, tetsuo ronald.tet...@gmail.com wrote: Since it's the same request, isn't (or couldn't be) the db connection the same in size() and iterator() calls? If you created the temporary table in one, isn't it still available to the other (so you could avoid

Re: Make ListView invisible when list is empty?

2014-05-05 Thread tetsuo
But I guess most of the time you have an empty list you want to hide not only the list, but also some markup around it (thus the use of an enclosure), so just changing the HTML generated by the empty list would not be enough. I think the ListView should be invisible when empty. Besides that, the

Re: Wicket 7: IChoiceRenderer restore or keep out?

2014-02-26 Thread tetsuo
+1 for keeping IChoiceRenderer. I often create Enums with a single value when I want a singleton (the JVM guarantees the single instance, and it takes less space in memory and when serialized), and many of my custom choice renderers are like this. I can't do this if it is not an interface.

Re: Wicket 7: IChoiceRenderer restore or keep out?

2014-02-26 Thread tetsuo
value. Martin Grigorov Wicket Training and Consulting On Wed, Feb 26, 2014 at 5:37 PM, Guillaume Smet guillaume.s...@gmail.com wrote: On Wed, Feb 26, 2014 at 4:33 PM, tetsuo ronald.tet...@gmail.com wrote: Because... it's an unnecessary breaking change? From what I understand of your

Re: Wicket 7: IChoiceRenderer restore or keep out?

2014-02-26 Thread tetsuo
at 6:21 PM, tetsuo ronald.tet...@gmail.com wrote: Guillaume, you're right. Martin, sorry for the misunderstanding. Enums can't extend any classes besides Enum. But can implement interfaces. Thanks! Now it is clear to me. I use Enums in lots of places, not as enums

Re: Method chaining

2014-01-31 Thread tetsuo
Making 'void' methods return 'this' doesn't prevent you to write each call in a new line. But gives others the choice to call it inline. It could be a problem if Wicket's internal code used chaining extensively, but I find it very convenient to chain calls, specially when building the component

Re: Wicket-5353: Wrap feedback messages in a model instead of using Serializable objects

2013-09-19 Thread tetsuo
I think it isn't even an Wicket issue. I don't think the servlet spec guarantees the thread-safety of the http session ( http://stackoverflow.com/a/616723/176897). Even if it does, it will be between request threads. It would be very, very, unlikely that it would mandate that the session should

Re: RFC-0001: Deprecating PageParameters for Wicket 7 (was Re: [4/4] git commit: WICKET-4997)

2013-08-26 Thread tetsuo
no magic (or the option of no magic) +1 On Mon, Aug 26, 2013 at 3:41 AM, Michael Mosmann mich...@mosmann.de wrote: Am 23.08.13 00:16, schrieb Martijn Dashorst: On Thu, Aug 22, 2013 at 11:42 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: On Thu, Aug 22, 2013 at 2:04 PM, Martijn

Re: RFC-0001: Deprecating PageParameters for Wicket 7 (was Re: [4/4] git commit: WICKET-4997)

2013-08-23 Thread tetsuo
About changing parameters on stateful pages, one comment: one thing that makes Wicket secure by default is exactly the fact that you get the parameters when you create a page, and everything after is made by interacting with components (which don't process values if disabled, invisible, or

Re: Wicket hot reloading - Proof of concept

2013-08-01 Thread tetsuo
I use JRebel (I've bought it when a perpetual license was still available), and it works great. If you use Scala, or do non-commercial development, it's free. But just using Jetty already saves you lots of time, since restarting the whole server takes milliseconds. Wicket and Spring are pretty

Re: Deprecating wicket:enclosure

2013-06-18 Thread tetsuo
What about moving this functionality directly into MarkupContainer, so that there's no need for an additional 'magic' component? Would it be feasible? On Tue, Jun 18, 2013 at 9:37 AM, Nick Pratt nbpr...@gmail.com wrote: -1 to deprecate. Same reasons as Igor stated. On Mon, Jun 17, 2013 at

Re: Generified Component

2013-06-14 Thread tetsuo
... :) Could Generics.getClass(type) be changed to not throw IllegalArgumentException when it can't resolve the class? Maybe return null and let callers deal with it? On Fri, Jun 14, 2013 at 2:52 AM, Sven Meier s...@meiers.net wrote: Hi Tetsuo, I stand corrected: For #getObjectClass

Re: Generified Component

2013-06-14 Thread tetsuo
I can make the change and send a pull request, but will it have a chance to be accepted? :) On Fri, Jun 14, 2013 at 4:18 PM, tetsuo ronald.tet...@gmail.com wrote: This change kind of works (I had to change getPath() too), but then for every component I use LazyModel this way (every textfield

Re: Generified Component

2013-06-13 Thread tetsuo
On 06/13/2013 09:35 PM, tetsuo wrote: wait, wait, do you actually do something like new TextFieldString(name, new IModelString(){ public String getObject() { return entity.getName(); } public void setObject(String value) { entity.setName(value

Re: Generified Component

2013-06-13 Thread tetsuo
() { LazyModelB model = model(from(A.class).getB()); final A a = new A(); a.b = new B(); assertEquals(a.b, model.bind(Model.of(a)).**getObject()); } Sven On 06/13/2013 10:23 PM, tetsuo wrote: Thanks for the response! If I use an object instance

Re: Generified Component

2013-06-13 Thread tetsuo
I made the changes to make it work, added a test case, and sent a pull request on github. Now it works when you create an unbound model from a class, and then bind it to a plain model. On Thu, Jun 13, 2013 at 6:39 PM, tetsuo ronald.tet...@gmail.com wrote: Well, you were the one who said

Re: Generified Component

2013-05-30 Thread tetsuo
-1000! This will be horrible! Even with the current API, most generics I have to declare in my code don't add anything to type safety. For example: add(new FormPerson(form, new CompoundPropertyModelPerson(new PropertyModelPerson(this, person))) .add(new TextFieldString(name))

Re: Dynamic decision which version of jQuery to contribute

2013-05-27 Thread tetsuo
Just not by default, please. On Mon, May 27, 2013 at 6:32 PM, Sebastien seb...@gmail.com wrote: Hi Martin, About the dynamic calculation, can't it be made according to an IApplicationSettings or an IJavaScriptLibrarySettings flag? Maybe could this flag be false by default and the user may

Re: Benchmarks with wicket in top 10

2013-04-04 Thread tetsuo
No, parleys is not free. Some talks are, but most aren't. On Thu, Apr 4, 2013 at 8:11 AM, Martin Grigorov mgrigo...@apache.orgwrote: Am I using parleys.com wrongly or it is not exactly free ? It allows me to watch the first N minutes and then asks me to pay an annual fee to be able to watch

Re: Benchmarks with wicket in top 10

2013-04-04 Thread tetsuo
Well, it was the last time I looked into it. Now, the 'pricing' page says it's free for viewers... On Thu, Apr 4, 2013 at 8:53 AM, tetsuo ronald.tet...@gmail.com wrote: No, parleys is not free. Some talks are, but most aren't. On Thu, Apr 4, 2013 at 8:11 AM, Martin Grigorov mgrigo

Re: Problem upgrading from 1.4 to 1.5

2013-02-25 Thread tetsuo
You don't have a servlet-mapping? On Mon, Feb 25, 2013 at 9:30 AM, David Torres david.tor...@renuda.com wrote: Hello list. My name is David, and I started recently to develop tools for Sakai. We decided to use Wicket and we are happy with that. The problem is that we started from a existent

Re: Problem upgrading from 1.4 to 1.5

2013-02-25 Thread tetsuo
Portlet support was dropped in 1.5... On Mon, Feb 25, 2013 at 1:11 PM, David Torres david.tor...@renuda.com wrote: I would like to try that, but then I would need to use url-pattern, and the URL of my tool is this

Re: remove javax.servlet from wicket-core

2013-01-17 Thread tetsuo
Isolating Servlet dependencies could potentially ease portlet support, too. It won't be an easy task, though. Some of the main classes of the framework, like WicketFilter, are deeply coupled to the Servlet API. But I'm not sure if the benefits out-weight the cost of doing the changes and

Re: new wicket extensions

2012-12-13 Thread tetsuo
for at the beginning of a project-lifecycle just my 2 cents Am 13.12.2012 20:33, schrieb tetsuo: What about home-baking or incorporating (if donated, obviously) a library that integrates jquery-ui components into an official wicket-jqueryui or wicket-widgets project? When I'm trying to sell

Re: new wicket extensions

2012-12-13 Thread tetsuo
Wicket already uses jquery for its ajax support. A jquery-ui module (thus the dependency to jquery-ui.js) would be completely optional, as is the embedded yui library currently used by wicket-extensions. On Thu, Dec 13, 2012 at 8:29 PM, Michael Haitz michael.ha...@1und1.de wrote: I think

Re: Component setDefaultModel

2012-09-27 Thread tetsuo
() instanceof XXX)' will break (since it will return the wrapper), but this edge case will work. On Thu, Sep 27, 2012 at 7:18 PM, Jeremy Thomerson jer...@wickettraining.com wrote: On Thu, Sep 27, 2012 at 3:33 PM, tetsuo ronald.tet...@gmail.com wrote: What about calling APanel.setDefaultModelObject

Re: Wicket 6: some hanging fruit before final?

2012-08-22 Thread tetsuo
If the code doesn't require it, why add it artificially? Is there any planned feature that may potentially require it? On Wed, Aug 22, 2012 at 5:35 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: http://s.apache.org/wicket-servlet3-discuss It has been proposed a couple of times for

Re: Wicket 6.0.0-beta2 or 6.0.0-RC1 ?

2012-05-04 Thread tetsuo
-1 RCx should only be used if you are pretty sure it could be released, since it means *Release* Candidate. On Fri, May 4, 2012 at 9:53 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: I would opt for a beta2. IMO we should not make release candidates available for wider use, but

Re: Move to servlet-api 3.0 for Wicket 6

2012-04-13 Thread tetsuo
The new annotations don't add much for framework developers, they just replace the web.xml file, in a hard-to-maintain fashion. Asynchronous servlets, in the other hand, are a nice addition to the platform, but unless the atmosphere module absolutely requires special support from wicket-core, and

Re: Move to servlet-api 3.0 for Wicket 6

2012-04-13 Thread tetsuo
Using 3.0 in a module might prove to be quite difficult. The main problem is that they changed the artifactId from servlet-api to javax.servlet-api. This makes it impossible to simple set a dependency management, you need to exclude the dependencies on servlet 2.5. I think you need to do this

Re: wicket 6.0 and automatic model detachment

2012-04-08 Thread tetsuo
I think it should be an optional add-on (if included in the library at all), so that core/extensions components won't rely on it, and application developers may use it if they want the convenience. It is just a convenience, after all. If it is enabled by default, it may cause really weird,

Re: More experimental code happening at Apache

2012-04-02 Thread tetsuo
What about one (or more) separate apache-hosted repository for experimental projects? Maybe completely separate, maybe a clone just to host the experimental branches. This would - keep the main repository cleaner - ease experimentation, since there will be no subconscious fear of committing junk

Re: More experimental code happening at Apache

2012-04-02 Thread tetsuo
Apache has policies that try to keep legal issues (IP ownership, copyright, licensing, patents) in check. I don't know the specifics, but I think any 'big' chunk of contributed code must be checked before accepted. But, if the incremental development is all done on Apache infrastructure, by

Re: Wicket 6: Java 6 or Java 7?

2012-02-16 Thread tetsuo
Well, I still don't see a good reason to require anything beyond Java 5 :) On Thu, Feb 16, 2012 at 2:12 PM, Johan Compagner jcompag...@gmail.com wrote: Stick for now to Java 6 or does somebody really has good reason (api or feature that he wants to use) to go to Java 7? I think java 7

Re: Opinion about the change proposed in WICKET-4326 ?

2012-01-11 Thread tetsuo
, it won't be consistent with the 'ISomething' convention, but this change probably won't break almost any application code besides internal hooks someone dares to override in the WebApplication class. My 2 cents. Tetsuo On Tue, Jan 10, 2012 at 7:55 AM, Martin Grigorov mgrigo...@apache.org wrote

Re: Opinion about the change proposed in WICKET-4326 ?

2012-01-11 Thread tetsuo
Oh, or just remove the 'final' from the methods! (I can suggest a number of other cases it could also be done) On Wed, Jan 11, 2012 at 8:32 PM, tetsuo ronald.tet...@gmail.com wrote: No, please not another breaking change just for the sake of it. It's cheap to rename things that exist in your

Re: JSON Ajax responses ?

2012-01-10 Thread tetsuo
(unless enhance the panel to display it properly, of course). Tetsuo On Tue, Jan 10, 2012 at 1:47 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: I don't fully understand the blog post about the security problems. From what I can see, you need to be able to render a mallicious script

Re: JSON Ajax responses ?

2012-01-09 Thread tetsuo
I don't think JSON would bring any benefit, and it could cause a number of security issues. http://directwebremoting.org/blog/joe/2007/03/05/json_is_not_as_safe_as_people_think_it_is.html On Mon, Jan 9, 2012 at 12:22 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Are we interested in

Re: Nested Forms in 1.4.x - order of calling onSubmit

2011-10-20 Thread tetsuo
This (nested first) is the behavior for 1.5. In 1.4, you could override the 'Form.delegateSubmit()' method, rewriting its logic to execute forms in reverse order, **IF** 'Form.onSubmit()' wasn't protected (thus, you can't call it on nested forms from your form subclass). You can, however, use

Re: Ajax in Wicket.next

2011-09-20 Thread tetsuo
), but it has always worked brilliantly for me. But it's definitely not broken. Am 19.09.11 19:20, schrieb tetsuo: What is so broken about the current ajax in Wicket, that requires such rewrite?

Re: Ajax in Wicket.next

2011-09-19 Thread tetsuo
What is so broken about the current ajax in Wicket, that requires such rewrite? On Mon, Sep 19, 2011 at 1:11 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: staged approach is fine, however its step 2 only that will cause migration headaches, so this is just delaying the inevitable...

Re: Ajax in Wicket.next

2011-09-19 Thread tetsuo
AM, tetsuo ronald.tet...@gmail.com wrote: What is so broken about the current ajax in Wicket, that requires such rewrite? On Mon, Sep 19, 2011 at 1:11 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: staged approach is fine, however its step 2 only that will cause migration

Re: Make AjaxRequestTarget extendable/mockable

2011-09-16 Thread tetsuo
In short term removing final from method signatures would allow to mock it for tests and return customized impl from org.apache.wicket.protocol.http.WebApplication.getAjaxRequestTargetProvider(). setAjaxRequestTargetProvider()?

Re: Adding a new method in abstract class should go in Wicket.next ?

2011-09-14 Thread tetsuo
write(byte[],int,int) has a concrete implementation even in OutputStream. I don't think it would be necessary to make it abstract, even in Wicket.next. Well, the ideal would be to make this method abstract, and write(byte[]) concrete, since it would avoid the arraycopy overhead, but I think it

Re: Roadmap for Wicket 6

2011-08-31 Thread tetsuo
- I echo the .setOutput*() thing. There should be some global setting for these. - some preparation for Java 8/closures support (Single-Method Interfaces) - more/refined debug tools - revive portlet support On Wed, Aug 31, 2011 at 9:26 AM, Korbinian Bachl - privat

Re: Roadmap for Wicket 6

2011-08-31 Thread tetsuo
, it is a big blob of code with lots of private/final methods, impossible to customize. On Wed, Aug 31, 2011 at 10:33 AM, tetsuo ronald.tet...@gmail.com wrote: - I echo the .setOutput*() thing. There should be some global setting for these. - some preparation for Java 8/closures support

Re: Next wicket versioning and release schedule

2011-08-29 Thread tetsuo
, they are still in their 2.x or 3.x versions, even with almost, or more than, a decade of history (Apache HTTPD, Linux, Spring, Apache Commons). Tomcat only is at version 7 because it increments every time the specs versions change. But which quality Java framework has such a high version number? Tetsuo

Re: Next wicket versioning and release schedule

2011-08-29 Thread tetsuo
an ecosystem is important for the project, this stability is essential, or else third-party projects won't even have time to mature before the next (incompatible) release. On Mon, Aug 29, 2011 at 11:09 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: On Mon, Aug 29, 2011 at 6:28 PM, tetsuo

Re: Self type

2011-08-29 Thread tetsuo
I've used this technique in some projects (internal APIs), with some degree of success, but I don't think it fits well in this case. Java's generics doesn't support this very well. It makes the code too verbose, and in some inheritance cases, it just doesn't work. One feature I would love to

Re: Wicket Weld into wicket 1.5?

2011-08-22 Thread tetsuo
Why does it require java 6? On Mon, Aug 22, 2011 at 7:38 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: +1 for including it in rc6. we are tweaking poms anyways. the release of this is pending on jboss guys getting weld and seam artifacts into central, something im working with them on.

Re: Wicket and Java 7

2011-07-05 Thread tetsuo
for the sake of it is not being 'bleeding edge', it's just begging to lose users. Tetsuo On Tue, Jul 5, 2011 at 10:20 AM, Martin Grigorov mgrigo...@apache.org wrote: :-) The diamond notation is just about the declaration at the right side of equals sign. This part is automatically typed for me

Re: Wicket and Java 7

2011-07-05 Thread tetsuo
), not while generating HTML. Besides, this kind of fork/join processing has its own overhead, both in CPU cycles and in code complexity. Not worth it. Tetsuo On Tue, Jul 5, 2011 at 12:52 PM, Andrea Del Bene adelb...@ciseonweb.it wrote: My fault Martin, I have not explained well myself. I try

Re: Rework AttributeModifier to deprecate AttributeAppender and SimpleAttributeModifier

2011-06-08 Thread tetsuo
I don't like the builder pattern in this case (specially with that verbose syntax), but I kind of like the idea of method chaining for additional (optional) configurations, with sensible defaults: add(new AttributeModifier(class, selected)); // to overwrite the current value add(new

Re: Rework AttributeModifier to deprecate AttributeAppender and SimpleAttributeModifier

2011-06-08 Thread tetsuo
I'd prefer calling the constructor instead of static methods. It makes it clear that you are creating a new instance, and how you could extend the class if you needed to. Oh, and 'for' is a reserved keyword :) Tetsuo On Wed, Jun 8, 2011 at 9:02 AM, Martijn Dashorst martijn.dasho...@gmail.com

Re: HEADS UP: A change in web.xml setup is required

2011-03-18 Thread tetsuo
Well, I was trying to understand the problem before posting random thoghts :) SegFault commented the issue with this question: the only problem I see is that there is no one to clean the static org.apache.wicket.page.PersistentPageManager.managers = maybe a stupid question, but how does

Re: HEADS UP: A change in web.xml setup is required

2011-03-18 Thread tetsuo
that does not change page instances into SerializedPage...kind of like HttpSessionStore works in 1.4 compared to a store that uses DiskPageStore. -igor On Fri, Mar 18, 2011 at 9:35 AM, Martin Grigorov mgrigo...@apache.org wrote: On Fri, Mar 18, 2011 at 5:04 PM, tetsuo ronald.tet...@gmail.com

Re: HEADS UP: A change in web.xml setup is required

2011-03-18 Thread tetsuo
, tetsuo ronald.tet...@gmail.com wrote: Why would it (Igor's proposal) be not correct? On Fri, Mar 18, 2011 at 2:28 PM, Peter Ertl pe...@gmx.org wrote: in general I prefer correctness over convenience ... so if we need a context listener to do everything right so should it be (remember having

Re: Spring Annotations supoprt for IoC on WebPages

2011-02-23 Thread tetsuo
Since Spring 3.0, scoped proxies are Serializable. So, it's perfectly possible to use @Configurable, @Autowired, and lots of AspectJ magic, for Pages and Components, instead of wicket-spring/@SpringBean. Provided, of course, that all beans you inject into Components are scope-proxied

Re: Spring Annotations supoprt for IoC on WebPages

2011-02-23 Thread tetsuo
Yes, it is. Just use @SpringBean. On Wed, Feb 23, 2011 at 4:25 PM, James Carman ja...@carmanconsulting.com wrote: On Wed, Feb 23, 2011 at 8:56 AM, tetsuo ronald.tet...@gmail.com wrote: Since Spring 3.0, scoped proxies are Serializable. So, it's perfectly possible to use @Configurable

Re: Upgrade spring dependency to 3.0-latest prior to 1.5 final?

2011-02-16 Thread tetsuo
you did with servlet-api, even if all the tests pass with 2.3), but my preference is to always minimize requirements on dependencies. Tetsuo On Wed, Feb 16, 2011 at 1:11 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: Currently wicket-spring 1.5 depends on spring 2.5 (specifically

final Page.onInitialize()

2011-02-01 Thread tetsuo
is that in 1.5 the method is final on Pages. Is there any workaround? Would you consider reverting this change? Or will I have to stay with 1.4 forever? Tetsuo

Re: [discuss] How to resolve wicket aggregate classes / sources jar issues

2011-01-25 Thread tetsuo
What about having the aggregated jar only for the bundle (zip) download, not to be available in maven central? On Tue, Jan 25, 2011 at 7:17 AM, Martin Grigorov mgrigo...@apache.org wrote: [x] - Just forget about the aggregated wicket.jar and modify the wicket module a pom-only module.  This

Re: [discuss] How to resolve wicket aggregate classes / sources jar issues

2011-01-25 Thread tetsuo
+spring-hibernate3.jar+aopalliance.jar With maven this is a non-issue, since you'd simply declare spring-hibernate3 and spring-webmvc, and everything else would come as transitive dependencies, but to do it by hand is pretty daunting, especially for beginners trying out the library. Tetsuo On Tue

Re: [discuss] How to resolve wicket aggregate classes / sources jar issues

2011-01-25 Thread tetsuo
... :) Tetsuo On Tue, Jan 25, 2011 at 11:27 AM, Pedro Santos pedros...@gmail.com wrote: Spring distribution hasn't the spring.jar anymore: https://fisheye.springsource.org/browse/spring-framework/trunk/build-spring-framework/resources/readme.txt?r=2858r=2854r=2940r=3872 On Tue, Jan 25, 2011

Re: [announce] Wicket 1.5-RC1 is released!

2011-01-22 Thread tetsuo
Er... why was servlet API dependency version upgraded to 2.5? I can't remember the discussion. Searched for it, but only found a pre-1.4 discussion, which was settled on 2.4. On Sat, Jan 22, 2011 at 7:02 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: The Wicket Team is proud to introduce the

Re: [announce] Wicket 1.5-RC1 is released!

2011-01-22 Thread tetsuo
. On Saturday, January 22, 2011, tetsuo ronald.tet...@gmail.com wrote: Er... why was servlet API dependency version upgraded to 2.5? I can't remember the discussion. Searched for it, but only found a pre-1.4 discussion, which was settled on 2.4. On Sat, Jan 22, 2011 at 7:02 PM, Igor Vaynberg

Re: WICKET-3261

2010-12-22 Thread tetsuo
dependencies? Tetsuo On Wed, Dec 22, 2010 at 9:09 AM, Juergen Donnerstag juergen.donners...@gmail.com wrote: +1 Juergen On Wed, Dec 22, 2010 at 11:59 AM, Martin Grigorov mgrigo...@apache.org wrote: +1 to rename current wicket to wicket-core On Tue, Dec 21, 2010 at 5:58 PM, Igor Vaynberg

Re: [DISCUSS 1.5] Rename IHeaderResponse to IResourceResponse (or similar)?

2010-12-18 Thread tetsuo
Unless you can think of a spectacularly better name, I think you should just keep IHeaderResponse. Tetsuo On Sat, Dec 18, 2010 at 12:25 PM, Jeremy Thomerson jer...@wickettraining.com wrote: On Sat, Dec 18, 2010 at 2:27 AM, Juergen Donnerstag juergen.donners...@gmail.com wrote: I understand

Re: Future hosting of wicket stuff

2010-12-14 Thread tetsuo
+1 Apache Extras http://www.apache-extras.org/ https://blogs.apache.org/foundation/entry/the_apache_software_foundation_launches On Tue, Dec 14, 2010 at 3:22 PM, Stefan Lindner lind...@visionet.de wrote: +1 for Apache. Let's keep Wicketstuff as close as possible to wicket. Stefan

Re: Future hosting of wicket stuff

2010-12-14 Thread tetsuo
GitHub may be a little better for developers, but I think it's quite intimidating to users (people who just want to easily download the binaries and read the documentation). Google Code (thus, Apache extras) is much more friendly to non-committer-users. But well, if one is fine with that

Re: Future hosting of wicket stuff

2010-12-14 Thread tetsuo
Grigorov mgrigo...@apache.org wrote: On Tue, Dec 14, 2010 at 7:37 PM, tetsuo ronald.tet...@gmail.com wrote: GitHub may be a little better for developers, but I think it's quite intimidating to users (people who just want to easily download the binaries and read the documentation). Google Code (thus

Re: JRebel and wicket

2010-11-19 Thread tetsuo
Use DCEVM instead: http://ssw.jku.at/dcevm/ Won't rerun constructors, though (which would be a horrible idea, BTW) On Fri, Nov 19, 2010 at 9:25 AM, Peter Ertl pe...@gmx.org wrote: The most annoying thing is when you suddenly decide to anonymously subclass a component - then you have to

Re: [jira] Updated: (WICKET-3147) Servlet 3 Annotation @WebFilter is not supported

2010-11-05 Thread tetsuo
Drop Java 5 support just because of one single annotation? On Fri, Nov 5, 2010 at 3:45 PM, Jeremy Thomerson jer...@wickettraining.comwrote: Since Wicket 1.5 its not yet released, should we make it dependent on Java 1.6? I don't see that being a big problem. Jeremy Thomerson

Re: Making Wicket Fully Compatible with Google App Engine

2010-09-20 Thread tetsuo
dependencies (from the Tree component), but I think nothing one could do would change the classification from semi-compatible to compatible in that listing. Unless, of course, GAE turns to be the main target for Wicket (which I don't think is the case). my 2c, Tetsuo On Mon, Sep 20, 2010 at 9:52 AM

Re: Making Wicket Fully Compatible with Google App Engine

2010-09-20 Thread tetsuo
the classification from semi-compatible to compatible... Sure you can, the defaults could change automatically by detecting that GAE is the container. Regards, Erik. Op 20-09-10 15:05, tetsuo wrote: I think Wicket is listed as semi-compatible because it requires some customization (override some

Re: How to build a Wicket AJAX Portlet in Liferay's Eclipse IDE

2010-09-07 Thread tetsuo
in the page, where is it? Thanks a lot! Tetsuo On Tue, Sep 7, 2010 at 9:36 PM, melom me...@intelliware.ca wrote: Hi everyone, I've posted this on the Liferay forums as well and would like to share it here as well: Our development team has put together a step-by-step document on how to build

Re: [vote] Revert WICKET-2846

2010-05-25 Thread tetsuo
It seems that this memory leak happens only once. I guess the first deploy (the one which will force the creation of the background Java2D thread) will hang around forever, but subsequent redeploys will be correctly cleaned-up. Also, what leaks is the classloader. Only static variables and class

Re: [vote] Release Wicket 1.4.9

2010-05-20 Thread tetsuo
You could use Spring 3's @Async: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/scheduling.html#scheduling-annotation-support-async If you can upgrade to 3.0, that is.. On Thu, May 20, 2010 at 5:17 PM, Alex Objelean alex.objel...@gmail.comwrote: I do not

Re: [vote] Release Wicket 1.4.9

2010-05-20 Thread tetsuo
You can return a Future from the @Async-annotated method. http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/scheduling.html#scheduling-annotation-support-async On Thu, May 20, 2010 at 5:52 PM, Alex Objelean alex.objel...@gmail.comwrote: Thanks for the hint. It

Re: WICKET-2846 - Store Application in InheritableThreadLocal instead of ThreadLocal

2010-05-19 Thread tetsuo
JRebel is intended to be used in development, not in production. In production, you want to undeploy and redeploy your application and, hopefully, leave no old ClassLoader reference behind. I'm not sure if InheritableThreadLocal will create memory leaks, but I know it is something to be very

Re: WICKET-2846 - Store Application in InheritableThreadLocal instead of ThreadLocal

2010-05-19 Thread tetsuo
to think of some problematic case (since I was worried about this, too), but couldn't. Do you have any case with potential to trigger the leak? Tetsuo On Wed, May 19, 2010 at 1:15 PM, Adriano dos Santos Fernandes adrian...@gmail.com wrote: On 19/05/2010 13:06, Alex Objelean wrote: Please, correct

Re: [vote] Release Wicket 1.4.9

2010-05-19 Thread tetsuo
On Wed, May 19, 2010 at 4:20 PM, Adriano dos Santos Fernandes adrian...@gmail.com wrote: I can't, however, do it now. But I would have no reason to do it knowing some folks just consider a normal thing restart the container to update the application. So if Wicket devs are in this way, I could

Re: WICKET-2846 - Store Application in InheritableThreadLocal instead of ThreadLocal

2010-05-19 Thread tetsuo
On Wed, May 19, 2010 at 4:30 PM, Adriano dos Santos Fernandes adrian...@gmail.com wrote: I do not think the application object is general enough to be passed implicitly to threads. Now, this is a valid argument! I agree wholeheartedly that Application.get() shouldn't be accessible to child

Re: WICKET-2846 - Store Application in InheritableThreadLocal instead of ThreadLocal

2010-05-19 Thread tetsuo
onClickOrSomethingSimilar() { final Application app = Application.get(); new Thread(new Runnable() { void run() { doSomethingWith(app); } }).start(); } On Wed, May 19, 2010 at 10:29 PM, Jeremy Thomerson jer...@wickettraining.com wrote: It solves this problem,

Re: spring cleaning wicket?

2010-03-23 Thread tetsuo
Taking specifically your example, 'foo == false' is too similar to 'foo = false', which also compiles, and is probably an error (not just checking the value, but changing it. '!foo' or 'false == foo' ('false = foo' doesn't compile) may be better choices. But yes, most of these warnings are just

Re: IComponentInheritedModel rule exception

2009-11-01 Thread tetsuo
2 - here I have an simple consideration: framework should respect my component design. My view is different: we should respect the framework design. Don't fight your tools, learn how to use them properly. That said, I think that the model is the place where lazy instantiations should occur. I

Re: taking the I out of Interface

2009-10-05 Thread tetsuo
I agree, names like IThing and ThingImpl can be a sign of not thinking too hard about naming things (and even a rush to get coding without enough thought put into design - but that's a long story). I* is just a convention, which some like, others dislike, and *Impl are perfectly fine when

Re: taking the I out of Interface

2009-10-05 Thread tetsuo
What if I have a class for the iPlayer (a BBC service for watching already broadcast TV programs online). If I call my class IPlayer do I need to worry that half the world is going to think it's an interface. Oh, Apple will have a lot of trouble if they try to use Wicket :) Again,

Re: taking the I out of Interface

2009-10-02 Thread tetsuo
-1 It breaks compatibility for absolutely no reason. On Fri, Oct 2, 2009 at 7:45 PM, Johan Edstrom seij...@gmail.com wrote: +1 On Oct 2, 2009, at 17:28, Igor Vaynberg igor.vaynb...@gmail.com wrote: is it perhaps time to take the I out of our interface names? wicket has been the only

Re: Tim Boudreau doesn't like getModel() - getDefaultModel()

2009-07-06 Thread tetsuo
gain anything for adding the angle brackets, since the models in general use reflection (PropertyModel, CompoundPropertyModel, etc.), and don't make any use of the build-time validation at all. sigh... Tetsuo On Mon, Jul 6, 2009 at 3:35 PM, tetsuo ronald.tet...@gmail.com wrote: I understand

Re: Tim Boudreau doesn't like getModel() - getDefaultModel()

2009-07-06 Thread tetsuo
fine. Tetsuo On Mon, Jul 6, 2009 at 3:48 PM, tetsuo ronald.tet...@gmail.com wrote: I've just read the explanation in a Tim's blog post comment. Oh, well, generics definitely isn't easy to grasp... I myself have observed that my (wicket) code is so much readable without most generics

Re: Tim Boudreau doesn't like getModel() - getDefaultModel()

2009-07-06 Thread tetsuo
'IModel? getModel()' instead of 'Object getModel()', and 'IModelT getModel()' instead of 'T getModel()', sorry. And sorry for flooding the mailing list, this is the last one, I promise :) On Mon, Jul 6, 2009 at 3:54 PM, tetsuo ronald.tet...@gmail.com wrote: What if Component

Re: Tim Boudreau doesn't like getModel() - getDefaultModel()

2009-07-06 Thread tetsuo
Now I get it, thanks. Indeed, it's hard to think in a better solution (without ditching generics altogether). Tetsuo On Mon, Jul 6, 2009 at 4:19 PM, Matej Knopp matej.kn...@gmail.com wrote: Problem is setDefaultModelObject(). If you have setModelObject(Object o) you can not override