Re: [Wicket-user] Logout

2005-08-25 Thread Eelco Hillenius
roach used > > With the link the invalidation of the session and the creating of the > "logout" page are switched so the page is in the pagemap when wicket tries > to process it. > > -Igor > > > > -Original Message- > > From: [EMAIL PROTECTED] &g

Re: [Wicket-User] JSF vs. Tapestry

2005-08-25 Thread Eelco Hillenius
Or put all the energy we have into getting all the rough edges out of Wicket/ make it really great, and then start making noise again :) Eelco On 8/25/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > http://www.theserverside.com/articles/article.tss?l=JSFTapestry > > Maybe someone would like t

Re: [Wicket-user] OT? Tomcat not removing wicket.jar

2005-08-25 Thread Eelco Hillenius
ApplicationSettings.configure("deployment"); / not calling ApplicationSettings.setResourcePollFrequency should do the trick. Putting: deployment true In your web.xml (and not overriding it in your application should work too.

Re: [Wicket-user] OT? Tomcat not removing wicket.jar

2005-08-25 Thread Eelco Hillenius
Or... - I hope this is not the case - do we forget to release resources anywhere else? Eelco On 8/25/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > ApplicationSettings.configure("deployment"); / not calling > ApplicationSettings.setResourcePollFrequency should d

Re: [Wicket-user] OT? Tomcat not removing wicket.jar

2005-08-25 Thread Eelco Hillenius
But... in case it is Wicket's failt, it should be fixed. Eelco On 8/25/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > i have said this before on the list. > You really should look for an integrated solution for this in a IDE > For example use the Tomcat plugin or the Jetty Launcher in eclipse

Re: [Wicket-user] OT? Tomcat not removing wicket.jar

2005-08-25 Thread Eelco Hillenius
Did turning off resource polling solve your problem? Eelco --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Mana

Re: [Wicket-user] OT? Tomcat not removing wicket.jar

2005-08-25 Thread Eelco Hillenius
That sucks. I didn't follow the discussion when it went two weeks ago, but it seems like this isn't fixed yet right? Is it filed as a bug? Eelco On 8/25/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > This isnt just a development-time problem. This also happens when you are > deploying a new versi

Re: [Wicket-user] OT? Tomcat not removing wicket.jar

2005-08-25 Thread Eelco Hillenius
Ok, so... we've identified we have a problem. Any idea's what it might be? Johan? Eelco --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & P

[Wicket-user] Re: expand emty tags

2005-08-26 Thread Eelco Hillenius
So... do we have an issue for this in the issue DB then? Juergen, is that hard to fix? Eelco On 8/26/05, Gili <[EMAIL PROTECTED]> wrote: > > Agreed. We should not fail silently. Furthermore just because sometimes > previews as a no-op does not mean it should not render at runtime when >

[Wicket-user] Re: Hibernate vs Cayenne?

2005-08-26 Thread Eelco Hillenius
I have no experience with Cayenne, but some readers (Jonathan C) have. >From what I understand, Cayenne works with static code generation. I have experience with OJB. I'm not too crazy about it to put it mildly, though I have been working with pre-1.0 versions. Maybe if you want more control, you

[Wicket-user] Re: WebPage can't link to itself (Wicket 1.1 beta2 and beta3)

2005-08-26 Thread Eelco Hillenius
Or just set autolinking off. Personally, I think that would be a better default, as it is pretty common to be able to have such a link as kind of a refresh. If you look at most public sites (Google, Flickr, Yahoo) etc, they all have them just enabled. Eelco On 8/25/05, Igor Vaynberg <[EMAIL PROTE

[Wicket-user] Re: Setting of "hasErrorMessage" on FormComponents

2005-08-26 Thread Eelco Hillenius
No, user list is fine too. I haven't found the time to look at it yet. Could you give us a bit more code? Eelco On 8/26/05, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote: > Should I maybe post this again on the developers list? > > - Johannes > > Johannes Fahrenkrug wrote: > > > Hi, > > > > th

Re: [Wicket-user] Re: Hibernate vs Cayenne?

2005-08-26 Thread Eelco Hillenius
t; content & time - basically a cut-down combination of parts of the > cd-app & table examples, although even that 'needs' contrib-data, > contrib-data-hibernate-3.0 & contrib-dataview support! I'm toying > with the idea of uploading it, but wondering if it&#

Re: [Wicket-user] Re: WebPage can't link to itself (Wicket 1.1 beta2 and beta3)

2005-08-26 Thread Eelco Hillenius
thing...e.g. Home Mortgages Loans Credit Cards Home Mortgages Loans Credit Cards Anyway, I'm slightly dubious about defaulting it to off.../Gwyn On 26/08/05, Eelco Hillenius <[EMAIL PROTECTED] > wrote:> Or just set autolinking off. Personally, I think that would be a> better

Re: [Wicket-user] Poolable pages

2005-08-26 Thread Eelco Hillenius
No! A page is a specific instance of one user. What would you accomplish? Eelco On 8/26/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > you can build it pretty easy. > Just extend WebSession and hold a map with pages you like to pool. > > > Christian Essl wrote: > > I was just following the di

Re: [Wicket-user] Poolable pages

2005-08-26 Thread Eelco Hillenius
I just read a few chapters of Bitter EJB. A large part of the book is about how to avoid state. Allthough stateless session beans were not designed to be that important, they now play a central role in J2EE. The consequence is that large parts of the J2EE community got back to procedural programmin

Re: [Wicket-user] DatePicker and Wicket 1.1b3

2005-08-26 Thread Eelco Hillenius
It seems we have brought out a totally broken build. Applaus to ourselves. Did /anyone/ actually test the recent changes at all? Feedback doesn't work /at all/ it seems (at least not with head, but I tried 1.1b3 too). We need to get out a new build this weekend. One that works. One that is tested.

Re: [Wicket-user] DatePicker and Wicket 1.1b3

2005-08-26 Thread Eelco Hillenius
So: java.lang.IllegalStateException: No Page found for component [MarkupContainer [Component id = messages, page = , path = messages.FeedbackPanel$MessageListView]] Is just in HEAD then? I sure do hope so... Eelco --- SF.Net email is Sponsore

Re: [Wicket-user] DatePicker and Wicket 1.1b3

2005-08-26 Thread Eelco Hillenius
Confirmed. Sorry about the bitter remark. 1.1b3 is fine. The problem is related to the latest change in Component. Eelco On 8/26/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > So: > > java.lang.IllegalStateException: No Page found for component > [MarkupContainer [Compo

Re: [Wicket-user] DatePicker and Wicket 1.1b3

2005-08-26 Thread Eelco Hillenius
I'm looking into it. Eelco On 8/26/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > Anybody have any thoughts about my DatePicker issue? > > > --- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * S

Re: [Wicket-user] TypeValidator doesn't check if a date is valid

2005-08-26 Thread Eelco Hillenius
Actually, it's both. It's on DateFormat, as that is what we use in Wicket. However DateFormat uses an instance of Calendar: public void setLenient(boolean lenient) { calendar.setLenient(lenient); } :) Sorry, couldn't resist being a smart ass. Eelco

Re: [Wicket-user] Unexpected Page Expiration

2005-08-27 Thread Eelco Hillenius
Actually we found the problem yesterday when chatting on IRC. Philip created a lot (more than 10) page instances in his page to use with links later on. The problem with Wicket is, that the pages are/ were registered with the session in the page constructor. Thus, more than 10 means the current is

Re: [Wicket-user] opening a PageLink with javascript

2005-08-28 Thread Eelco Hillenius
Yep, that should work out of the box with any link. Just attach your link component to your DIV (or any other HTML tag). Eelco On 8/28/05, leo <[EMAIL PROTECTED]> wrote: > Hi, > > I have some links on DIV tags. Is it possible to open a wicket page > (trigerring a PageLink) with a javascript > on

Re: [Wicket-user] How do I unit test interactively without container ?

2005-08-28 Thread Eelco Hillenius
You can use them for behavioural tests too. E.g. checking that a certain link handler is executed etc. The mock objects provide you with a minimal simulated web application enivornment. That's the least you need for your tests to be usefull. You usually want to test rendering results, as that is t

Re: [Wicket-user] How do I unit test interactively without container ?

2005-08-28 Thread Eelco Hillenius
If you have concrete examples of how you would like your (Form) tests to work/ look, please tell us or open a feature request for it. Eelco --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Franc

[Wicket-user] anyone using Rico and Wicket?

2005-08-28 Thread Eelco Hillenius
Is anyone using Rico and Wicket as it is delivered with wicket's ajax implementation? If not, I want to remove it - afaik it doesn't work, and I see no easy way of getting it to work either (see comments in implementation). That leaves us with Dojo as our default, and I'd like to integrate scriptac

Re: [Wicket-user] Rich Text Editing Controls...

2005-08-28 Thread Eelco Hillenius
That depends. I started working on one of them some time ago, but stopped as I didn't have enough time. Basic use can added easily, but just as with DatePicker, to make it really good it'll take some effort. More specifically, you want your component to disclose all or most of the flexibility of th

Re: [Wicket-user] Wicket markup in output

2005-08-29 Thread Eelco Hillenius
Lots of times you just want to mutate the tag, like for http://www.sqe.com/bsce5sf ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: [Wicket-user] How to manually set an error message

2005-08-29 Thread Eelco Hillenius
You should call error on your target component, or e.g. on your page. Depends on how your messages are filtered, though I lost track of the latest feedback changes. But validators normally set the messages on the component they are attached to, so setting them manually should have the same effect.

Re: [Wicket-user] How to manually set an error message (SOLVED)

2005-08-29 Thread Eelco Hillenius
:) On 8/29/05, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote: > . nevermind. It's not the feedbackPanel that didn't work, it's > Eclipse's hot code replacement (or my brain, whichever) > --- SF.Net email is Sponsored by the Better Software

Re: [Wicket-user] Announcements mailing list

2005-08-29 Thread Eelco Hillenius
It's not on that list (yet), but all lists are listed here: https://sourceforge.net/mail/?group_id=119783 Eelco On 8/29/05, Jon Carlson <[EMAIL PROTECTED]> wrote: > Isn't your new mailing list supposed to be listed here?: > http://wicket.sourceforge.net/mail-lists.html > > Just wondering how to

[Wicket-user] Re: Setting of "hasErrorMessage" on FormComponents

2005-08-30 Thread Eelco Hillenius
.add(new > > TypeValidator(Date.class, new Locale("de", "DE"; > >} > > }); > > } > > > *** > > > > > > > and I attached the Te

[Wicket-user] Re: ServletWebRequest

2005-08-30 Thread Eelco Hillenius
Indeed, not all Wicket web-request are/ will be servlet based. We need a different structure for portlet requests. Eelco On 8/30/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > Eelco can explain it better i think but this is a refactor for portlets > support. > And if you want to really slim wi

[Wicket-user] Re: Wicket at JavaPolis?

2005-08-30 Thread Eelco Hillenius
Yep, we still have to get the details right, but we have been offered to talk at JavaPolis. Martijn will be there for sure, I might be on the other side of the world by then. Eelco On 8/30/05, Per Ejeklint <[EMAIL PROTECTED]> wrote: > Just wondering, > > are there any plans for a Wicket present

Re: [Wicket-user] Re: Wicket at JavaPolis?

2005-08-30 Thread Eelco Hillenius
gt; Johan Compagner wrote: > > when is it exactly? > > I think if i don't have anything else at that day, i will go with > > martijn. > > > > johan > > > > > > Eelco Hillenius wrote: > >> Yep, we still have to get the details right, but

Re: [Wicket-user] Markup inheritance

2005-08-30 Thread Eelco Hillenius
It think that would make everything much more difficult to understand. The alternative is that you pull the sections out to panels, and use the markup inheritance in each panel. I don't know if markup inheritence allready works for Panels, but that would be the way to do stuff like this imo. Eelco

Re: [Wicket-user] Re: Setting of "hasErrorMessage" on FormComponents

2005-08-30 Thread Eelco Hillenius
We found what it is. Quite logical actually. By default, optimizeItemRemoval is set to false, which means that ListView replaces all child components by new instances. The idea behind this, is that you allways render the fresh data, and as people usually use ListViews for displaying read-only list

Re: [Wicket-user] Reload of modified HTML files

2005-08-30 Thread Eelco Hillenius
Your problem probably is that you call createApplicationSettings, which actually is a method for internal use (I'll update the javadocs right away). You should use getSettings, so you'll get the settings that are created for you, and that will actually be used by Wicket. Furthermore, you don't nee

Re: [Wicket-user] Markup inheritance

2005-08-30 Thread Eelco Hillenius
Good news! And again Juergen, you're working faster than I notice :) Eelco --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven De

Re: [Wicket-user] Re: Wicket at JavaPolis?

2005-08-30 Thread Eelco Hillenius
Pretty cool too! Any plans for promoting Wicket as a side effect? :) Eelco --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven De

Re: [Wicket-user] display html contents

2005-08-31 Thread Eelco Hillenius
Call setEscapeModelStrings(false) on your label. Eelco On 8/31/05, pepone pepone <[EMAIL PROTECTED]> wrote: > Hello > > what i trying to do is display the content of a textarea this textarea > can include basic html tags for text formating, i want to display the > document in a label component

Re: [Wicket-user] Re: Markup inheritance changed?

2005-08-31 Thread Eelco Hillenius
I noticed this too. I think it is a bug. Eelco On 8/31/05, Gili <[EMAIL PROTECTED]> wrote: > > Furthermore, from a previewability point of view this makes no sense. > > Currently I defined both in the child and parent page. Now I > get two tags at runtime in my rendered page,

Re: [Wicket-user] NPE loading my app

2005-08-31 Thread Eelco Hillenius
That's strange?! The line that fails: final String key = scope.getPackage().getName() + '/' + SharedResources.path(path, locale, style); So, either scope is null, or package is null. In this case, the scope is certainly not null, so scope.getPackage() must return null. That's weird. Anyone knows

Re: [Wicket-user] main CSS file

2005-09-01 Thread Eelco Hillenius
Yeah, that's the problem here. I had a problem last week where I forgot to put the * in the path. Took me about an hour before I figured out that was the problem. It would be great if we could somehow detect this early on, and - when we detect it - either start loggin tons of warnings, or fail rig

Re: [Wicket-user] NPE loading my app

2005-09-01 Thread Eelco Hillenius
Scope can't be null from that initializer. The treeinitializer passes Tree.class. Eelco On 9/1/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > no this can't happen. > it looks like it happens on this line: > > final String key = scope.getPackage().getName() + '/' + > SharedResources.path(path,

Re: [Wicket-user] Integrating FCKeditor

2005-09-01 Thread Eelco Hillenius
That would be a very nice component to have in extensions. So if you make it really nice... I think an API like DatePicker works for a component like this. The 'problem' is that components like these are very configurable. You don't want to loose too much of this flexibility, but you have to choose

Re: [Wicket-user] NPE loading my app

2005-09-01 Thread Eelco Hillenius
Yeah, it does now (from 1.1). Maybe Martijn didn't use Tree or DatePicker yet, or was not aware that these component load resources from the jars. Any idea how the package might be null Timothy? Tree is not in the default package, so it shouldn't be. It must be classloader thing. Eelco > Doesn'

Re: [Wicket-user] Best Practices?

2005-09-01 Thread Eelco Hillenius
It would be easier, and more the Wicket way - not to change your components, but to acchieve the same through the way you use models. Changing the component hierarchy in your page should not happen that often, as that would usually be done with a new page (e.g. editing an address instead of a custo

Re: [Wicket-user] main CSS file

2005-09-01 Thread Eelco Hillenius
That code is fine, as it shouldn't render a page, but just stream the resoure. Did you put '/*' in your web.xml (not just '*') ? Eelco On 9/1/05, Jim McBeath <[EMAIL PROTECTED]> wrote: > I tried adding the "*" to my web.xml file, that didn't make any > difference. I ran a debugger on the wicke

Re: [Wicket-user] Integrating FCKeditor

2005-09-01 Thread Eelco Hillenius
Yeah, I don't know. I allways hated the licencing stuff. Wish there were just two licences. However, we allready depend on some LGPL licences and I have seen a lot of other Apache 2 style projects do that too. I can't imagine this becomming an actual problem. But if someone would be so kind to expl

Re: [Wicket-user] Link components not rendering in 1.1 b4

2005-09-01 Thread Eelco Hillenius
I just tested it, and everything works fine here. Here's the patch of what I tried on wicket-examples. I think your problems is somewhere else. Could you give us some more information? Eelco Index: src/java/wicket/examples/helloworld/HelloWorld.html

Re: [Wicket-user] Integrating FCKeditor

2005-09-02 Thread Eelco Hillenius
Jonathan introduced the Apache 2.0 licence from the start of the (public) project. Eelco On 9/2/05, Jonathan Carlson <[EMAIL PROTECTED]> wrote: > Personally, I don't see what the hundreds of words in the Apache 2.0 license > buys Wicket. Maybe someone can explain.

Re: [Wicket-user] Integrating FCKeditor

2005-09-02 Thread Eelco Hillenius
ly from the ASF itself > >>> and not purely based on > >>> the ASL 2.0 license of Wicket (it *is* allowed to bind to LGPL if you > >>> want), many companies > >>> won't allow using the Wicket extensions anymore because they don't > &g

Re: [Wicket-user] a little bit of AJAX

2005-09-03 Thread Eelco Hillenius
I'll take a look at some of the things you propose later today. A few notes: 1) I chose not to let ajax be components as that wouldn't be as flexible (you can now attach 0..n handlers to one component) and it would certainly mean having a lot of new components. A good example of this is the - not

Re: [Wicket-user] a little bit of AJAX

2005-09-03 Thread Eelco Hillenius
eModifiers, > which is indeed better. Sorry for the beginner mistakes. > > What remains is than the url thing. Is there also something I overlooked? > > Thanks, > Christian > > On Sat, 3 Sep 2005 16:14:25 +0200, Eelco Hillenius > <[EMAIL PROTECTED]> wrote: > &

Re: [Wicket-user] TreeView open in new window sencond time internal error

2005-09-04 Thread Eelco Hillenius
What kind of exception do you get? Eelco On 9/4/05, pepone pepone <[EMAIL PROTECTED]> wrote: > Hello all > > > I have a page that display a TreeView component when you click a node > the node selected is displayet in other label this sems to work well > > my problem is that if i open a tree v

Re: [Wicket-user] new autocomplete components

2005-09-04 Thread Eelco Hillenius
Smart! So you got around the problem of not being able yet to render just one component by just rendering a whole page. It is something Juergen is working on (he created a branch for it). When that works, we could just render components directly, switch it on/ off etc. Why not use IModels instead

Re: [Wicket-user] TreeView open in new window sencond time internal error

2005-09-05 Thread Eelco Hillenius
ssages > > On 9/4/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > What kind of exception do you get? > > > > Eelco > > > > > > On 9/4/05, pepone pepone <[EMAIL PROTECTED]> wrote: > > > Hello all > > > > > > > >

Re: [Wicket-user] resource links etc

2005-09-05 Thread Eelco Hillenius
I think Juergen means he would like you to check whether they are fixed in HEAD now, correct? Eelco On 9/5/05, Gili <[EMAIL PROTECTED]> wrote: > > Yes, I reviewed the open RFEs and bug reports and I think they still > make sense. I believe all the filed bugs are still valid. The only on

Re: [Wicket-user] Do form components have to contain page id in their names?

2005-09-05 Thread Eelco Hillenius
I made getInput non-final, as this seems a reasonable flexibility to want. I'n not sure whether it is a good default to work with names without ids. I looks like a good idea as it supports the autocomplete feature you want, and there isn't anything we actually do with the page id. Can anyone think

Re: [Wicket-user] Style of development (many web pages vs many panels)

2005-09-05 Thread Eelco Hillenius
I prefer to work with pages. With this approach, you can still reuse panels ofcourse. But my experience is that allthough it is nice to have your pages componentized to the max by breaking it up in smaller, possibly reusable parts, it is also easy to loose track. I like to work with pages as I can

Re: [Wicket-user] Wicket and OSGi

2005-09-05 Thread Eelco Hillenius
There are a couple of people on this list that use OSGi & Wicket. They seem to have missed this thread. At least one of them is a committer on Oscar, so you might ask around over there what they think is the best pattern for using Wicket & OSGi. I don't know much about this myself. Eelco On 9/5

Re: [Wicket-user] Do form components have to contain page id in their names?

2005-09-05 Thread Eelco Hillenius
reating urls (like onChange of > Radio Choice) > And then we do need the id else we can't get the page. > > So tag.put("name", getPathWithoutPageId()); > and then getInput(): > return getRequest().getParameter(getPathWithoutPageId()); > > > > >

Re: [Wicket-user] new autocomplete components

2005-09-05 Thread Eelco Hillenius
Yeah, I can see that working with a page has advantages too. Another reason to want to have pages that are not put in the session in some future. I think you'll hit problems once you do more than 10 ajax roundtrips. Eelco > If there is a way to use just a panel instead of an entire page, I > wou

Re: [Wicket-user] Do form components have to contain page id in their names?

2005-09-06 Thread Eelco Hillenius
Ah, yes :) Do you want to start a vote as a new message? It seems that votes are only picked up by people when there is a large VOTE: in the subject. Eelco On 9/6/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Eelco Hillenius wrote: > > Yep. We could just strip the first nbr + &#

Re: [Wicket-user] Do form components have to contain page id in their names?

2005-09-06 Thread Eelco Hillenius
; i will make it so that it goes until the form.. Thet it is unique.. and > hopefully not that big. > And i don't make that method final (getInputName()). So that users can > override it so they can generate > there own names in a form if they want that (if they know that getId() >

Re: [Wicket-user] Do form components have to contain page id in their names?

2005-09-06 Thread Eelco Hillenius
we don't need the rest > > we only need from the form (not included) to the component. > > > > And if people are sure that id is also unique (what i know with servoy) > > then we can just > > put the id in it. > > > > Because now the names are to long.

Re: [Wicket-user] Re: Button.setDefaultFormProcessing inverted logic

2005-09-06 Thread Eelco Hillenius
More nitpicking... I still think 'immediate' was a better name. I don't recall voting for the name change. Eelco On 9/6/05, Jan Bares <[EMAIL PROTECTED]> wrote: > I did not looked into the sources. You are right, but javadoc is wrong: > "Sets the defaultFormProcessing property. When true (defaul

Re: [Wicket-user] Re: Button.setDefaultFormProcessing inverted logic

2005-09-06 Thread Eelco Hillenius
s doing. > I don't know any reason why we should change the name again... > > Cu, > Dave > > Eelco Hillenius wrote: > > >More nitpicking... I still think 'immediate' was a better name. I > >don't recall voting for the name change. > > >

Re: [Wicket-user] How do I protect re-submission ?

2005-09-06 Thread Eelco Hillenius
Versioning should work out-of-the-box and roll back changes. A lot of times this is not what you want though. Your best option then is to turn off versioning, by overriding method isVersioned and let it return false (e.g. on your Page). This additionally has the effect that your url won't change, s

Re: [Wicket-user] How do I protect re-submission ?

2005-09-06 Thread Eelco Hillenius
I've been thinking about the whole versioning thing longer actually: wouldn't it be a better (certainly more efficient) default to turn it off? If you really want the rollback behaviour, you can easily turn it on. Eelco On 9/6/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: >

Re: [Wicket-user] How do I protect re-submission ?

2005-09-06 Thread Eelco Hillenius
n front of me before i did go back) > > I think default on is better. Only we have to have a invalidate on the > page so that is > immediately expired (then you shouldn't redirect to that same page > ofcourse because then it is added back) > > johan > > &g

Re: [Wicket-user] How do I protect re-submission ?

2005-09-06 Thread Eelco Hillenius
Yep. Which is the case with form submissions :) Eelco On 9/6/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > as long as it is the same page... > > > Eelco Hillenius wrote: > > The nice thing - which we didn't have in the past - of turning it off, > > is

Re: [Wicket-user] How do I protect re-submission ?

2005-09-06 Thread Eelco Hillenius
Ok, ok, you win :) Eelco On 9/6/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > doesn't have to. > What is the redirect page after you submit a form? > That can be another page. Then the back button is used to go back > > > Eelco Hillenius wrote: > &g

Re: [Wicket-user] Re: OT? Tomcat not removing wicket.jar

2005-09-06 Thread Eelco Hillenius
I've had that with a bunch of Struts/ Maverick apps too. That's really Tomcat in fault imo. Eelco > A minor problem is that after some reloading of the web app Tomcat > goes out of memory... --- SF.Net email is Sponsored by the Better Software

Re: [Wicket-user] Two-list swapping widget

2005-09-06 Thread Eelco Hillenius
Yeah, as a matter of fact there is... It was contributed by Igor Vaynberg and lives in Wicket Stuff as wicket-contrib-palette. CVS only at this time. I was thinking, if some people would like to review it, and Igor agrees, we could move it to wicket-extensions. Looks like a good place for it. Eel

Re: [Wicket-user] TreeView and BookMarkablePage

2005-09-07 Thread Eelco Hillenius
Use a bookmarkable page link. If you want to keep you tree, while loading a complete page, you could best work with (i)frames. Eelco On 9/7/05, pepone pepone <[EMAIL PROTECTED]> wrote: > Hello i wan to create a new BookMarkablePage when a user clikc on a > treeViewItem but i have not idea of how

Re: [Wicket-user] Dynamic Forwards With Wicket

2005-09-07 Thread Eelco Hillenius
Isn't your second model derivable? If so, just create and set the model just in time/ when you do the navigation or panel replacement. Eelco On 9/7/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > I want to provide the user with the option of selecting the next screen they > go to after a form i

Re: [Wicket-user] PageParameters and Null Values

2005-09-07 Thread Eelco Hillenius
Agreed. Could you open a bug for this please? Eelco On 9/8/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi. > > I don't know if this has been discussed yet. Using PageParameters and > BookmarkablePageLinks I just found a strange feature. If there is null > in PageParameters for argument foo, the

Re: [Wicket-user] Wicket Tools

2005-09-08 Thread Eelco Hillenius
I'd like to help out sometime. Unfortunately too bussy with other stuff (like the Wicket core project;)) And please let us know if you find anything we can do in Wicket to make your life as a plugin writer easier. Eelco On 9/8/05, Joni Suominen <[EMAIL PROTECTED]> wrote: > On Thu, 2005-09-08 at

Re: [Wicket-user] Wicket Tools

2005-09-08 Thread Eelco Hillenius
Would be nice to put links you your projects on the site. Eelco On 9/8/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > I'd like to help out sometime. Unfortunately too bussy with other > stuff (like the Wicket core project;)) > > And please let us know if you find anyth

Re: [Wicket-user] How can I pass a detached component the MarkupStream, or a forced parent? - Found word(s) list error in the Text body

2005-09-08 Thread Eelco Hillenius
I can see that's a valid use case. The danger - probably what Juergen means - is that the runtime code will differ from the design code, while it is one of Wicket's goals to keep things clean and consistent. Otoh however, it /is/ quite powerful to be able to change the actual tag programatically. I

[Wicket-user] Re: Processing of in Include

2005-09-09 Thread Eelco Hillenius
The Include tag is very raw indeed. Ideally it would be more like Sitemesh (but without the XML configuration and without it being a filter) in that it actually parses what it recieves, and tries to clean up/ merge/ etc. There's a big note about this in the comments. It's something I'd like to bui

Re: [Wicket-user] Dynamic Forwards With Wicket

2005-09-10 Thread Eelco Hillenius
Yeah, that's a good solution. Another clean solution is to use the decorator pattern. class Foo { private String bar; public void setBar(String bar) { this.bar = bar; }; public String getBar() { return bar; } } class Wrapper { private final Foo foo; private String formProperty; public

Re: [Wicket-user] Dynamic Forwards With Wicket

2005-09-10 Thread Eelco Hillenius
he acessors, but that might just be that I've not > understood the question... > > /Gwyn > > On 09/09/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > > I don't follow you here. Can you provide some pseudocode? > > > > > > On 9/7/05, Eelco Hillenius <

Re: [Wicket-user] Re: Datepicker Madness again

2005-09-10 Thread Eelco Hillenius
The plan is to release tomorrow. Eelco On 9/10/05, Gwyn Evans <[EMAIL PROTECTED]> wrote: > Glad it helps - I'm afraid that I can't easily investigate the details > though, as Johan just found & fixed it (in CVS) and I've updated to > that to check it was fixed for me, which it is. > If I'm loo

[Wicket-user] Re: [Wicket-announce] Wicket 1.1-rc1 available for testing!

2005-09-11 Thread Eelco Hillenius
I'd like to say a big thanks to all the people that have been testing with us: THANK YOU! It really helps to have you guys watching and testing and sending in patches. Eelco On 9/11/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > The first release candidate for Wicket 1.1 is available f

[Wicket-user] Re: Wicket Tools

2005-09-12 Thread Eelco Hillenius
; > Joni: > > > > Do you think your plugin could be ported to IDEA? I'm not an Eclipse > > user. > > > > On 9/8/05, Joni Suominen <[EMAIL PROTECTED]> wrote: > > That would be good. > > > > -- > >

Re: [Wicket-user] Stateless web applications

2005-09-12 Thread Eelco Hillenius
Not yet. Currently Wicket insists on creating session object. We want to take a look at this for 1.2, but that will take a couple of months probably. Eelco On 9/12/05, Eric Jain <[EMAIL PROTECTED]> wrote: > Can Wicket be used for stateless web applications? (Or does it insist on > creating sessi

Re: [Wicket-user] Streaming a PDF to the client

2005-09-13 Thread Eelco Hillenius
You could easily do it without Wicket, but otoh, it is nice to have all your stuff together. The JasperReports integration I'm working on is based on resources, and lets you create links to reports (so you'll get a download dialog or a PDF in the full browser) or embed them in your page using frame

Re: [Wicket-user] Add/Edit Strategy

2005-09-13 Thread Eelco Hillenius
That's what Google is for, people like us with bad memory :). The latter approach is similar to the one in cdapp. We definitively need to give that package more visibility when we release the wicket-stuff projects next week, even though not everyone agrees with the way Hibernate is used. Eelco

Re: [Wicket-user] multiple wicket borders

2005-09-13 Thread Eelco Hillenius
Yep, what error do you get? Eelco On 9/13/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > no. Providing the markup and java code however might help looking into it. > > juergen > > On 9/12/05, Justin Lee <[EMAIL PROTECTED]> wrote: > > Does anyone know what would cause me to get errors about

Re: [Wicket-user] How to disable a form component ?

2005-09-13 Thread Eelco Hillenius
Usually, you want the disable attribute to not show up at when the tag is /not/ disabled. You can do this by not putting the attribute in your markup (), provide the second AttributeModifier argument 'true' (so attributes will be added when they do not exist yet), and - important - let your replace

Re: [Wicket-user] How to disable a form component ?

2005-09-13 Thread Eelco Hillenius
> It is great if API provides a convenient method like setDisabled(boolean) > for all form components > instead of creating 3 object likes new AttributeModifier("disable", true, > new Model("disable"))) Please open an RFE for it. That way we can track and not forget what you want. Eelco -

Re: [Wicket-user] Licecycle, forms, instantiation

2005-09-13 Thread Eelco Hillenius
1) Depends on what objects you mean. Components? Models? 2) Unlike some other frameworks, form processing is not a central thing in Wicket. With that I mean that the normal cycle doesn't do anything special for forms; the form behaviour is fully encapsulated in the Form class and handler interface

Re: [Wicket-user] Streaming a PDF to the client

2005-09-13 Thread Eelco Hillenius
t allows the user to define the report criteria. Either should > work with what you have. > > > On 9/13/05, Eelco Hillenius <[EMAIL PROTECTED] > wrote: > > > > You could easily do it without Wicket, but otoh, it is nice to have > > all your stuff together. The Ja

Re: [Wicket-user] Central Controller

2005-09-13 Thread Eelco Hillenius
I'm not sure I understand what you want to do. Maybe to get this clear: what/ how would you do this if it was a Swing application? Eelco On 13 Sep 2005 15:47:00 +0200, Voors Paul <[EMAIL PROTECTED]> wrote: > Hello Wicket Users, > > After examining the documentation and examples for some time,

Re: [Wicket-user] Central Controller

2005-09-13 Thread Eelco Hillenius
You can easily use setResponsePage or use Panels. Eelco On 13 Sep 2005 15:47:00 +0200, Voors Paul <[EMAIL PROTECTED]> wrote: > Hello Wicket Users, > > After examining the documentation and examples for some time, i am missing > one aspect in Wicket. That is a 'Central Controller'. Let me explai

Re: Re(2): [Wicket-user] Central Controller

2005-09-13 Thread Eelco Hillenius
Yep. Either that, or - if you don't want to use pages you can use panels, and replace one for the other. Or if you think replacing is too expensive (everything that is replaced is serialized and saved in order to support the back button by default), place all panels you want and switch the visible

Re: [Wicket-user] Creating Embedded Object via Form

2005-09-13 Thread Eelco Hillenius
In the end, (Bound)CompoundPropertyModels are IModels. IModel just has get/setObject, where you can implement anything you want, including object creation etc. CompoundPropertyModels are meant to make your life easier in the sense that you need less code to acchieve model/property binding. The bas

<    1   2   3   4   5   6   7   8   9   10   >