Re: Best Wicket Books or Tutorials

2008-03-31 Thread Eelco Hillenius
On Mon, Mar 31, 2008 at 7:45 AM, Gareth Segree <[EMAIL PROTECTED]> wrote: > Is "Enjoying Web Development with Wicket" any good? Easiest way to start reading yourself, as you can download the first three chapters for free. And the first chapter of both Wicket In Action and Pro Wicket are freely dow

Re: How to use an action level authorization?

2008-03-31 Thread Eelco Hillenius
>My question is simple... :) How to use an action level > authorization. I cannot find any info or example. There is an example of it in wicket-examples that uses wicket-auth (which in itself is mainly an example project). Eelco --

Re: "Wicket in Action" (Amazon & MEAP)

2008-04-22 Thread Eelco Hillenius
Hi, This is something for Manning to answer, as they are in charge of all the commercial aspects of it. Cheers, Eelco On Tue, Apr 22, 2008 at 6:04 AM, Alex Objelean <[EMAIL PROTECTED]> wrote: > > This question is for the Wicket in Action authors. > The company I'm working for have ordered the

Re: VOTE: Generics of IDataProvider

2008-04-24 Thread Eelco Hillenius
I would have a better idea if I would have had the chance to actually play with it, but here is mine: [ ] IDataProvider [ x ] Iterator> , drop model [ ] Leave as is. Looks most elegant to me, and it is immediately clear what T is for. Also, I think that generics are bloody verbose anyway, so I'm

Re: Wicket 2.0 time frame

2008-05-01 Thread Eelco Hillenius
Hi, See reaction inline. > Stateless Sites > - > > For example, Google's search is apparently stateless. I can bookmark any > search result, go away for hours, days or weeks and re-visit the link > without experiencing a session-expired message. I shop at Amazon quite a >

Re: questions about Matt Raible's web framework comparison

2008-05-02 Thread Eelco Hillenius
On Fri, May 2, 2008 at 6:48 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > yes but you also can mount 1 package is 1 go. Or use a custom encoding strategy. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: WicketStuff.org Is Down

2008-05-02 Thread Eelco Hillenius
On Fri, May 2, 2008 at 1:10 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > On 5/2/08, Andrew Broderick <[EMAIL PROTECTED]> wrote: > > Also see http://www.wicket-library.com/wicket-examples/ > > Please don't. These examples are *OLD* and not maintained much. We > have been telling folks to not

Re: South African Wicket Users?

2008-05-03 Thread Eelco Hillenius
> I was wondering if you know of any companies in the Netherlands that do > Wicket web development? > I am looking to immigrate to the Netherlands Try out for a year first and see whether you can cope with the weather and small housing ;-) > and it would be great if I > could continue to work

Re: Advisory question

2008-05-03 Thread Eelco Hillenius
> My web app background is from page oriented frameworks, and now while > using wicket, I find myself creating pages over and over. > I think I can miss many of them, because most of the time all I do is > adding an intelligent reusable component to it. I'm mostly using panels/ go for the smal

Re: validation: Wicket does the right thing? Or right tool?

2008-05-04 Thread Eelco Hillenius
> 1. It is too much coding. Anybody used Valang in > Spring Module? By using Valang, the validation code is > much clean and a lot fewer and you dont need to create > a class simply for this simple validation. The example you quoted is an example of a reusable validator that checks the values

Re: validation: Wicket does the right thing? Or right tool?

2008-05-04 Thread Eelco Hillenius
> Thanks so much for your input! I am still seriously > learning Wicket now and will see if I will change my > mind. > > BTW, what is the best Wicket example website? Best to download the Wicket examples distribution or check out from our subversion repo, so that you can browse through the sou

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-05-04 Thread Eelco Hillenius
> So you are saying re-direction isn't supported in the constructor ? It should be supported. But throwing an abort exception is better, if only because whatever else you're doing in your constructor will be skipped. Eelco - To

Re: Is there a setGatherAbbreviatedBrowserInfo(true) as appose to setGatherExtendedBrowserInfo(true)?

2008-05-04 Thread Eelco Hillenius
On Fri, May 2, 2008 at 4:59 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > I only want to find out the user's timezone. > setGatherExtendedBrowserInfo(true) redirect page take too long, sometimes it > stays on the screen many seconds. You can often best do this in a custom way by either creating

Re: How to avoid Lazy loading exception

2008-05-04 Thread Eelco Hillenius
Fwiw Mathias, here is a model class that I like to use in the project I work on: /** * LDM for domain objects. Detaches (nulls) object after each request. */ public class DomainObjectModel extendsLoadableDetachableModel { @SpringBean private GenericHibernateDao dao; private final C

Re: How to lookup Page or Class from a URI path ?

2008-05-04 Thread Eelco Hillenius
> Because I need the Class so i can check for the presence of an annotation > (@InternalPage). If that annotation is present, only internal requests from > 10.x.x.x are allowed. Otherwise a 403 (Forbidden) will be generated. > > Obviously i can control access with Apache, or a ServletFilter..heck

Re: way to traverse / get all form validators

2008-05-04 Thread Eelco Hillenius
On Fri, May 2, 2008 at 11:56 AM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > there is > final List getValidators() {...} on FormComponent which you can use like this: Use a visitor, like: visitChildren(FormComponent.class, new IVisitor() { public Object component(final Component c) { FormCo

Re: validation: Wicket does the right thing? Or right tool?

2008-05-05 Thread Eelco Hillenius
> How is your Wicket in Action? Download the first chapter and see for yourself :-) It's free after all, and no registration required (I think). Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-05-05 Thread Eelco Hillenius
On Mon, May 5, 2008 at 8:20 AM, Iman Rahmatizadeh <[EMAIL PROTECTED]> wrote: > I'm also experiencing this with jetty. Is everybody else the same ? It would be great if we would have this reproducible as a test case or something. I created wicket-threadtest in the past because we needed to reproduc

Re: way to traverse / get all form validators

2008-05-05 Thread Eelco Hillenius
Good point. Looks to me like it is something we overlooked. We should probably add a method to get the form validators of a form. Could you open an RFE for that please? Eelco On Mon, May 5, 2008 at 2:31 AM, michalb_cz <[EMAIL PROTECTED]> wrote: > > thank you for response, but I need it for Form

Re: converter can not convert org.myproject.Something to a string

2008-05-05 Thread Eelco Hillenius
On Mon, May 5, 2008 at 5:56 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > that is a wrong check yes > its removed. JIRA? Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: London Wicket Event - June 4th, at Google UK

2008-05-05 Thread Eelco Hillenius
> I'm pleased to confirm that our next London Wicket Event will be held on June > 4th, again at Google's London offices. And again it is very nice of you guys to organize this, and of Google to host. Thanks! Eelco - To unsubsc

Re: Comet and Wicket

2008-05-05 Thread Eelco Hillenius
> Hello, > I deploy the wicket-push example on tomcat latest version and it > worked...and also i will test in JBoss 4.2.x...hoping to work as well bcoz > JBoss use tomcat container...anyway, you can embed jetty container in JBoss > too :) Actually, for all I know JBoss doesn't provide it's o

Re: Comet and Wicket

2008-05-06 Thread Eelco Hillenius
On Mon, May 5, 2008 at 11:47 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > They are busy making it a standaard in the next servlet spec Let's hope they can agree on how to do that. Eelco - To unsubscribe, e-mail: [EMAIL PROTE

Re: Private Homepage Redirection

2008-05-06 Thread Eelco Hillenius
> I tried both AbortException and RestartResponseException. They didn't work. > AbortException basically causes Wicket to show a blank page instead of > redirecting to the external site while RestartResponseException caused stack > overflow error. The exceptions were thrown in > onUnauthorized

Re: Comet and Wicket

2008-05-06 Thread Eelco Hillenius
> Hello eelco, > Anyway JBoss default servlet container is tomcat, but they are replacing it > with their own container which is jboss-web i dont know if they already > did... Ah, I didn't know that. > anyway, im experementing on wicket-push bcoz the cleint wants some > sort of messaging on

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Eelco Hillenius
Nice job! Great that you added a WIKI page and a proper build config etc. Cheers, Eelco On Tue, May 6, 2008 at 12:33 PM, Doug Donohoe <[EMAIL PROTECTED]> wrote: > > I am pleased to announce the 1.0 release of wicketstuff-annotation. > > Full documentation and explanation (e.g., what, why, how)

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Eelco Hillenius
On Tue, May 6, 2008 at 2:24 PM, Hoover, William <[EMAIL PROTECTED]> wrote: > Would it be better if there were a core wicket-annotation project that > provides the basics (such as the scanner) and another project called > wicket-automount (with wicket-annotation dependency)? That way other > "fut

Re: How to generate 403 Forbidden?

2008-05-07 Thread Eelco Hillenius
> and we have 2: > AbortWithWebErrorCodeException Uses HttpServletResponse#sendError > AbortWithHttpStatusException Uses HttpServletResponse#setStatus > why 2? i dont know i think we need to clean up here (eelco? igor? who > was first ;) ) >From HttpServletResponse#setStatus: *

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-07 Thread Eelco Hillenius
On Wed, May 7, 2008 at 12:20 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > if the scanning of the classpath is expensive (i guess all classes are > loaded that are scanned..) > cant there be an option that the scanning is only done once? > When you create the jar so with maven/ant? > When cr

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-07 Thread Eelco Hillenius
> > if the scanning of the classpath is expensive (i guess all classes are > > loaded that are scanned..) > > It says: "Note that Spring does not load the class to determine this > information. Instead, it uses a meta-data reader to determine this (which is > faster than going through class lo

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-07 Thread Eelco Hillenius
> In my project, I have 60+ jar files in the classpath and the scan only took > 255 milliseconds (on a 1.66 ghz core duo mac). Yeah, that sounds perfectly acceptable. > Also note that anything JAR-based > would not easily work in development environments where you don't JAR after > each chan

Re: PageParameters request-for-enhancement

2008-05-07 Thread Eelco Hillenius
Hi, You can best file an RFE in JIRA for things like this. The list is primarily for questions and discussions, and adding it to JIRA will at least make sure it stays on the list of things to look at. Cheers, Eelco On Thu, Apr 24, 2008 at 3:00 PM, Doug Donohoe <[EMAIL PROTECTED]> wrote: > > Hi

Re: Label to Uppercase

2008-05-07 Thread Eelco Hillenius
> I need your suggestion on, what are the ways I can get Label to print in > Uppercase. Several ways. An easy one: public class UpperCaseLabel extends Label { public UpperCaseLabel(String id) { super(id); } public UpperCaseLabel(String id, String label)

Re: Label to Uppercase

2008-05-07 Thread Eelco Hillenius
obj = mNestedModel.getObject(); > return obj == null ? obj : obj.toUpperCase();; > } > > public void setObject(String object) { > mNestedModel.setObject(object); > } > > public void detach() { > mNestedModel.detach(); > } >

Re: Ajax and Loop

2008-05-07 Thread Eelco Hillenius
> I have a Loop on my page (creates Components from a List ot Objects). > Now I have an AjaxFallbackLink on my page. This link adds an Object to > my List and as a reaction to this action I want my Loop to be repainted > (showing the new object). What must I do? A simple > "target.addComponent

Re: Ajax and Loop

2008-05-07 Thread Eelco Hillenius
> Have you tried using a ListView in combination with a model (rather than > passing a List to the constructor of ListView)? That won't trigger a re-population of the child components (ListItem and everything you add to it). For that, you need to call setReuseItems(false). Note that this can caus

Re: IDataProvider and grouping

2008-05-07 Thread Eelco Hillenius
On Tue, May 6, 2008 at 10:51 AM, Scott Swank <[EMAIL PROTECTED]> wrote: > Has anyone implemented grouping of items, i.e. sort/group items by > location and thereby add a location-level grouping. I'm considering > implementing this as a Border around groups of items. Basically any > lessons lea

Re: IDataProvider and grouping

2008-05-07 Thread Eelco Hillenius
from a > performance/scalability perspective. > > Once I have it working in a reaonsably nice way with UI components > I'll send something along. > > Cheers, > Scott > > > > On Wed, May 7, 2008 at 4:18 PM, Eelco Hillenius > <[EMAIL PROTECTED]> wr

Re: Label to Uppercase

2008-05-07 Thread Eelco Hillenius
> When we finally get commons-functor generified, I'm going to create an > IModel implementation that takes a UnaryFunction and wraps another > IModel. Sounds cool, looking forward to it. Eelco - To unsubscribe, e-mail: [EMAIL

Re: Wicket javascripts - reloading every one hour

2008-05-07 Thread Eelco Hillenius
> It is really needed to repeatedly once an hour download these wicket > javascripts ? > These are static wicket javascripts, they are not subject of changes, so > why could they not be cached for longer time, for example - 1 week, or > longer. Yeah, I think that was chosen arbitrarily. > I

Re: behavior for onComponentTagBody

2008-05-08 Thread Eelco Hillenius
On Wed, May 7, 2008 at 8:42 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > doesnt Label do this already? Yeah, I think just using getModelValueAsString would give the same results. Also, Label is the only (or one of the few at most) class(es) where overriding onComponentTagBody makes sense. Why n

Re: South African Wicket Users?

2008-05-08 Thread Eelco Hillenius
> Actually, since I changed jobs, Finalist no longer uses Wicket but now > JTeam (www.jteam.nl) does :) Now it's all up to Remco then :-) Good luck with your new job though. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: "unmount" sub url

2008-05-08 Thread Eelco Hillenius
On Thu, May 8, 2008 at 3:15 PM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I've got a page mounted on "/path1". >> >> I've got some files in a directory in my webapp root on "/path1/dir" >> >> How can I tell Wicket to give control back to the servlet container for >> dir? Currently

Re: behavior for onComponentTagBody

2008-05-09 Thread Eelco Hillenius
> Johan, Eelco, What do you mean by "Converters"? Is there a special class / > interface I'm not aware of? IConverter. See the forminput example of wicket-examples for an idea. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Overriding panel markup: close tag not found for tag

2008-05-11 Thread Eelco Hillenius
> Instead, I want the MyPage.html to contain the panel markup: In a > similar manner to how the feedbackpanel markup is given in that > example in the book "created the component component structure inside > the page". You should use a Fragment instead of a Panel in that case. Eelco

Re: encapsulation, extension and transparent resolvers

2008-05-12 Thread Eelco Hillenius
> I know transparent resolvers are currently a major issue and can't be > really handled in a proper way due to the hierarchy concept. But if things > can be fixed with a workaround (until a new transparent resolver model is > established) and which has no impact on the overall functionality - why

Re: JPA suggestions?

2008-05-13 Thread Eelco Hillenius
It really depends on your preferences. Either a databinder (using JPA related classes directly in your UI code) or a DAO/ services based approach will work. Eelco On Tue, May 13, 2008 at 8:29 AM, David Nedrow <[EMAIL PROTECTED]> wrote: > I have a data "driver" package built around JPA and an Enti

Re: A question about IHeaderContributor

2008-05-13 Thread Eelco Hillenius
I'm not sure, but I think in 1.2 you can only use this interface for behaviors. Am I right Matej/ others? Nate, can you try adding what you want as a behavior to the form? Eelco On Tue, May 13, 2008 at 4:33 PM, nate roe <[EMAIL PROTECTED]> wrote: > I'm using Wicket 1.2. > > I have a Form that im

Re: Processing a form before page components are created

2008-05-13 Thread Eelco Hillenius
> The reason I want to do this is that my pages are stateless, and I want to > process the submitted form before all the components on the page are > initialised, incase I need to load different data models, or redirect the > request to another page, thus saving unnecessary database calls and > co

Re: A question about IHeaderContributor

2008-05-13 Thread Eelco Hillenius
On Tue, May 13, 2008 at 5:28 PM, nate roe <[EMAIL PROTECTED]> wrote: > I can try that I suppose. > > The Javadoc for 1.2 seems to mention Component quite a lot though: > > http://wicket.sourceforge.net/apidocs/wicket/markup/html/IHeaderContributor.html Right. I guess I just lost track of what w

Re: getBodyContainer replacement for appending attributes to body tag

2008-05-13 Thread Eelco Hillenius
Hi, That's described in the migration document here: [quote] Replacement for getBodyContainer If you had code like this: public void renderHead(HtmlHeaderContainer container) { ((WebPage) getPage()).getBodyContainer().addOnLoadModifier("foo();", null); super.renderHead(container); } you sho

Re: getBodyContainer replacement for appending attributes to body tag

2008-05-13 Thread Eelco Hillenius
> That's described in the migration document here: I meant: http://cwiki.apache.org/WICKET/migrate-13.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to reset the feedback panel

2008-05-13 Thread Eelco Hillenius
In 1.3 and up (so this won't work for 1.2): You can use Session.get().getFeedbackMessages().clear() (or call clear using a filter to just clear specific ones). Component specific feedback messages are also temporarily stored in the session, so you'll get those as well. Btw, Session#getFeedbackMes

Re: Terracotta and PatternValidator

2008-05-13 Thread Eelco Hillenius
> I have run into the same issue. I solved it with brute force by > writing a regexp to capture all the inner classes from the Pattern > class and inserting them into my terracotta config's dso section. It > is not the most elegant solution but it will get you past this issue. Why not just wri

Re: FYI: new wicket site

2008-05-14 Thread Eelco Hillenius
> A new Wicket site is born! It's a Dutch site on which you can search for day > trips and such. See: www.eropuit.nl. Nice. I like the 'history of Ajax' event. So soon ;-) Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: A question about IHeaderContributor

2008-05-14 Thread Eelco Hillenius
>> If you think it is a bug, please open a JIRA >> issue for it. > > > didn't we EOL Wicket 1.2.x? > http://martijndashorst.com/blog/2008/03/23/wicket-127-the-last-maintenance-release/ Yeah, I actually meant for Wicket 1.3 and up, because the bug is in there as well. Eelco --

Re: Processing a form before page components are created

2008-05-14 Thread Eelco Hillenius
On Wed, May 14, 2008 at 8:21 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > What about the situation where one of the components on the Page is a > BookmarkeablePageLink and you need to pass it in some PageParameters? In > this case how do you load the page parameters from the model in a lazy > fash

Re: Processing a form before page components are created

2008-05-14 Thread Eelco Hillenius
On Wed, May 14, 2008 at 8:24 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > unless, i suppose, if you override getPageParameters, something like this: > >private void getLinkToUserProfile(final RatingModel r) { >return new BookmarkablePageLink("username", > ViewDetails.class)

Re: Using generics with some non-generic classes in Wicket

2008-05-14 Thread Eelco Hillenius
> the whole generics thing turned out to be > quiet a lot crappier then i thought it would. :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using generics with some non-generic classes in Wicket

2008-05-14 Thread Eelco Hillenius
On Wed, May 14, 2008 at 2:25 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: >> the whole generics thing turned out to be >> quiet a lot crappier then i thought it would. > > :-) Generics for models: great. Generics for components: awful. Too bad that stu

Re: Scheduler in wicket

2008-05-15 Thread Eelco Hillenius
>> I am planning to use quartz, but before starting to integrate it in my >> wicket's app i would like to know if anybody have used it or another >> scheduler with >> wicket. > > we used Quartz, works like a charm. I wonder, though, what it has to do with > Wicket - your scheduling probably (or rat

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Eelco Hillenius
> turns out that there are some new images being added to the page, but the > image url had been messed up, specifically, was '', so when the page loads, Ugh, that's still a very tricky error it seems. I thought Igor recently checked something in for that, that at least prints a warning? I can't f

Re: Wicket Visibility vs. CSS visibility

2008-05-16 Thread Eelco Hillenius
> If you wanted to just a cosmetic, DHTM/CSS "display: none" type of > visibility, is there something you can do other than > making a new AttributeModifier (with a custom Visibility Model kind of > thing) or a SimplleAttributeModifier with a CSS > "display:none" String there? Well, if the compone

Re: Thread safety for components

2008-05-16 Thread Eelco Hillenius
On Fri, May 16, 2008 at 7:50 PM, Brill Pappin <[EMAIL PROTECTED]> wrote: > Does that mean that under heavy load, hitting the index page for instance, I > can expect clients to block as each request is processed? Yes, requests to pages/ components that belong to the same pagemap in a session are ha

Re: Wicket Visibility vs. CSS visibility

2008-05-17 Thread Eelco Hillenius
On Sat, May 17, 2008 at 5:28 AM, Kirk Israel <[EMAIL PROTECTED]> wrote: > On Sat, May 17, 2008 at 2:46 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: >> Many people expect that is the component is not visible also the >> models and the data ias not called or touched. Because there state >> cant be

Re: Page pooling (for stateless pages)

2008-05-18 Thread Eelco Hillenius
> I was wondering whether it was possible to implement "pooling" of stateless > pages? Possibly using a custom PageMap implementation? I think you can just implement the pooling mechanism yourself, and provide a custom version of IPageFactory (which is to be set in session settings). > Although

Re: How to reset the feedback panel

2008-05-18 Thread Eelco Hillenius
On Sun, May 18, 2008 at 6:15 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > This works - thanks a lot. Cool. > BTW, was the JIRA request directed to me? Yes please. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: Page pooling (for stateless pages)

2008-05-18 Thread Eelco Hillenius
> I think it would probably make more sense to cache the /result/ of stateless > pages. Yeah, that might make quite the difference. The best place for that would be a filter, probably defined before the Wicket filter. Tons of different options as well though. And definitively something I would onl

Re: Page pooling (for stateless pages)

2008-05-18 Thread Eelco Hillenius
On Sun, May 18, 2008 at 11:04 PM, James Carman <[EMAIL PROTECTED]> wrote: > stateless != static, though > > If you cache the results of a stateless page, you could show stale > information from the database, correct? True, so it depends on your use case. And obviously it wouldn't work for form pro

Re: ReloadingWicketFilter for Classes in a referenced project?

2008-05-19 Thread Eelco Hillenius
> i'm trying to create a ReloadingWicketFilter. I've tried a lot especially > reading (WICKET-685) ReloadingWicketFilter not working with markup > inheritance ( > http://www.mail-archive.com/[EMAIL PROTECTED]/msg01938.html) but > nothing worked for me. I think a better way to go is to use JavaRebe

Re: Problem with Wicket and MySQL

2008-05-19 Thread Eelco Hillenius
> and i have made sure i have this jar > "mysql-connector-java-5.1.6-bin.jar" to my buid path... but the > problem goes on... Build path != runtime path. Make sure the jar is in your runtime path as well. FWIW, never ever write such code for a production application because you'll run into scalab

Re: (Class>) casting troubles

2008-05-20 Thread Eelco Hillenius
On Tue, May 20, 2008 at 9:44 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > i have the fix for that in my local checkout and > will commit it sometime today. Cool. I just found out Wicket In Action's code (http://code.google.com/p/wicketinaction/) had compile errors. Ideally, Wicket 1.4 it should b

Re: (Class>) casting troubles

2008-05-21 Thread Eelco Hillenius
On Wed, May 21, 2008 at 12:24 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > ok so we pretty much have some core people wanting to back out the > generics support. I hate to say it, and I kept myself on the background because I don't want to be a pita, but I still feel the same as I did last year:

Re: [PROPOSAL] wicketstuff SVN reorganization...

2008-05-22 Thread Eelco Hillenius
> p.s. Sorry to be such a stickler, but I'm one of those folks who has > to have order. I can't work until I clean my desk up first! :) Haha. You must be popular with girls (at least the ones I know would love a guy like that)! ;-) +1 for doing a vote. Eelco ---

Re: how can ..

2008-05-23 Thread Eelco Hillenius
On Fri, May 23, 2008 at 3:03 AM, Tomasz Prus <[EMAIL PROTECTED]> wrote: > What strategy should i use to achive such url: > http://isport.eu/en/premier-league/liverpool-fc/news-19-2008-0.html ? Please take a look at QueryStringUrlCodingStrategy and MixedParamUrlCodingStrategy. Wicket-examples has t

Re: Wicket i18n options

2008-05-25 Thread Eelco Hillenius
Excellent! I didn't even know about that new feature (nested tags nested in wicket:message). Is that really only in 1.4? Eelco On Sun, May 25, 2008 at 6:09 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Hi, > > As there was no complete overview of Wicket's i18n options (even Wicket in > Action

Re: Wicket i18n options

2008-05-25 Thread Eelco Hillenius
> Its in the release notes! Yeah, I should've read those better. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wicket i18n options

2008-05-25 Thread Eelco Hillenius
On Sun, May 25, 2008 at 1:58 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: >> Its in the release notes! > > Yeah, I should've read those better. Though it surprises me that there would be anything other than generics in 1.4. The deal was very explicitly to only add gene

Re: IVisitor bug?

2008-05-27 Thread Eelco Hillenius
ic InfoLabel(String id, IModel model) { >super(id, model); >} > >public InfoLabel(String id, String label) { >super(id, label); > } > > @Override >protected void onComponentTag(ComponentTag tag) { >super.onComponentTag(tag); >tag.

Re: more getting started documents

2008-05-28 Thread Eelco Hillenius
> is there any step by step CRUD for wicket? The phonebook example in wicket-stuff. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Back button problem with form

2008-05-31 Thread Eelco Hillenius
> After some debugging I solved it in a ugly way. I used PropertyModel() for > the form and when I > pressed submit the object did'nt update in a correct manner. I think it has > to do with that the object is in the session. Weird. Did you check that the target of the property model was the one yo

users, please give us your opinion: what is your take on generics with Wicket

2008-06-01 Thread Eelco Hillenius
Hi all, We have had several threads in this and the dev list, and some discussions in the public on how to incorporate generics in Wicket. I'd like to use this thread to gather the opinions of as many regular Wicket users as we can. Please help us get an impression of what our users think about t

Re: What is Wicket? from WIA

2008-06-01 Thread Eelco Hillenius
Wicket supports private state for individual components, whereas the traditional (REST) pattern assumes to take the state out (to string based request parameters) and up to the request level. The big difference is that without using a framework like Wicket, you can't really create self contained co

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-01 Thread Eelco Hillenius
On Sun, Jun 1, 2008 at 2:46 PM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > scan this user forum, you will realize that there is no high demand for > generics in wicket from users. I am yet to see one user or thread here of > wicket users screeming out for generics addition. I think users has be

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-02 Thread Eelco Hillenius
> IMHO storing a model in a Component is more a convenience than a > fundamental part of component-ness. This may be part of the reason that > genericizing Component is so contentious. I agree. Eelco - To unsubscribe, e-mail: [E

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-02 Thread Eelco Hillenius
On Mon, Jun 2, 2008 at 7:45 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: > I'm not sure I like where this discussion is going. I don't see anyone > having any particular objections against current state. I think before > we even think of (partially) reverting generics we have to discuss > what's wron

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-02 Thread Eelco Hillenius
> Question is, how many of those users actually use generified wicket on > day-to-day basis. Common, a quick glance and comparing some of the code/ examples you see with the code you write now (with 1.2/ 1.3) is enough to get a good - and as far as I am concerned informed well enough - idea. Eelc

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-03 Thread Eelco Hillenius
On Tue, Jun 3, 2008 at 8:54 PM, Mike Comb <[EMAIL PROTECTED]> wrote: > Well, in our case it would almost never be: > > MyComponent mycom = new MyComponent(); > > We don't have many of our own models, we use CompoundPropertyModel pretty > much exclusively (wrapping DAOs or javabeans). So the verbos

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-03 Thread Eelco Hillenius
On Tue, Jun 3, 2008 at 10:37 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i think we should have qualified this rfi with a requirement that > responders use 1.4 on a non-trivial project...these things only become > apparent from real-world day-to-day usage. anything else is pretty > much speculat

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Eelco Hillenius
> it all depends, on how and what you're developing. Yeah. I actually use less and less models in the regular way nowadays. I use plenty of panels (the app I work on hardly uses separate pages) that nest other panels in them (typically detail views or dialogs) that reuse models of the parent. But

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Eelco Hillenius
> Having multiple models is rare, however, having one model that can > (but doesn't have to) be used is more common imho. Not that rare if I look at my code, especially if you take panels and fragments into account. I have plenty of places where I use two or three models. > Wicket is kinda optimi

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Eelco Hillenius
On Wed, Jun 4, 2008 at 9:43 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you still have ondetach()...but for convinience we can automatically > detach any imodel fields, i actually wanted to do this for a while... I tried to write this two days ago, but wasn't able to pull it off... I wrote an i

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Eelco Hillenius
On Wed, Jun 4, 2008 at 9:52 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: > I was talking about the model slot. If you don't have a model in > component it doesn't cost you anything. The cost in this case is the fact that having the model slot, even when not used, results in the assumption that a com

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Eelco Hillenius
On Wed, Jun 4, 2008 at 10:05 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > but IModel implementations can have Imodels inside too Whether done automatically or by components as we do now, ultimately the calls to detach will be the same, right? Eelco --

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Eelco Hillenius
On Wed, Jun 4, 2008 at 10:10 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > sounds way too complicated to me dude... > > component.detach() { > for (field:fields) { >if (imodel.class.isassignablefrom(field.gettype)) { >((imodel)field.get(this)).detach(); >} > } > onDetach(); > }

Re: [FINALISED SCHEDULE] London Wicket Event at Google UK, tonight

2008-06-04 Thread Eelco Hillenius
> Is there a webcast? I'm interested in the Stateless vs. Stateful Me too. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Does wicket favor composite session obj?

2008-06-04 Thread Eelco Hillenius
By default, Wicket will create separate session objects for each application. If you want to share info between multiple Wicket sessions, you'll have to access the underlying HttpSession object. Should be relatively easy to create an abstraction for that yourself. Eelco On Wed, Jun 4, 2008 at 11:

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Eelco Hillenius
On Wed, Jun 4, 2008 at 11:35 AM, Brill Pappin <[EMAIL PROTECTED]> wrote: > Thats a pretty major api change (although it looks simple) maybe that > should be in the next major release? It's something we can consider yeah. We'll have to think it through and get back to the drawing board to see what

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Eelco Hillenius
> I implemented this by hooking in to serialization, just checking each object > in ObjectOutputStream.replaceObject and ObjectInputStream.resolveObject. > Also had to use my own PageMapEntries to get a suitable hook. Might work as > an idea for your implementation perhaps? That's a cool idea for

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Eelco Hillenius
> Also, 1.3's default session store > serializes on each request, but does not reuse that serialized > instance until the back button is used (or if you're doing session > replication and come in through another node I guess). It keeps the 'current' page in memory, and reuses that when it can. Ee

  1   2   3   4   5   6   7   8   9   10   >