Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Eelco Hillenius
On Nov 16, 2007 10:33 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: you can still cluster 1.3.1 easily. either use httpsessionstore or tell wicket to save pages to a shared drive Or use that project Matej is working on. It works. Eelco

Re: Feedback messages and setResponsePage

2007-11-16 Thread Eelco Hillenius
On Nov 16, 2007 11:36 AM, narup [EMAIL PROTECTED] wrote: hello i am upgrading from wicket 1.2.6 to 1.3 rc1, and feedback messaging is not showing up with setResponse page. i am doing Page userPage = getUserPage(); //1.2.6 version code which was fine //

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Eelco Hillenius
Oh, and type-safe models are a must, I was surprised to read in this thread not everybody agrees with that. Especially since type erasure ensures backwards compatibility, and lets the cast-fans stick to their habits :-) The problem that I have with type safe models is that in order to fit

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Eelco Hillenius
You could also explain some of the details of what should be returned by our override of WebApplication.newSessionStore(). The javadoc for this method reads typically not something clients reimplement so I assume we really need to know what we're doing if we override this method. This in your

Re: Is there an example for text validation and feedback border?

2007-11-15 Thread Eelco Hillenius
See the library example. Eelco On Nov 15, 2007 12:40 AM, Newgro [EMAIL PROTECTED] wrote: Hi *, i would like to add a feedback textfield to my page. The input should be validated and if it fails a red border has to be drawn around the invalid textfield. I checked the examples and couldn't

Re: Is there an example for text validation and feedback border?

2007-11-15 Thread Eelco Hillenius
Thanks for the hint. Now i got it to work. Can i change the behavior of the feedback. I would like to paint a border around the textfield instead of the presented asterisk (It kills my layout :-). Sure. Just look at how the feedback border is implemented and build something similar from

Re: Matt Raible's ApacheCon presentation

2007-11-15 Thread Eelco Hillenius
no default native (httpsessionbased) failover cluster strategy yet - coming in 1.4 right matej? by default failover only works if the user does not press the backbutton right after failover event We have to decide how to best wrap this in projects etc, but the cluster code worked well when I

Re: Matt Raible's ApacheCon presentation

2007-11-15 Thread Eelco Hillenius
On Nov 15, 2007 12:48 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Nov 15, 2007 12:27 PM, Gwyn Evans [EMAIL PROTECTED] wrote: I think that I'd have to say that the main cons are:- (a) It does demand a certain level of OO coding, in terms of being happy to override classes typically

Re: wicket-contrib Access

2007-11-15 Thread Eelco Hillenius
On Nov 15, 2007 12:09 PM, Michael Laccetti [EMAIL PROTECTED] wrote: I've been working with the TinyMCE package, and would like to update it (both in Subversion and the Maven repo) to bring it in line with wicket 1.3 (rc1). It seems to have languished without any love for a few months. Is

Re: Matt Raible's ApacheCon presentation

2007-11-15 Thread Eelco Hillenius
On Nov 15, 2007 12:27 PM, Gwyn Evans [EMAIL PROTECTED] wrote: I think that I'd have to say that the main cons are:- (a) It does demand a certain level of OO coding, in terms of being happy to override classes typically to be able to create anonymous classes - not a huge amount, but coders

Re: Disabling serialization/storage of pages in session?

2007-11-15 Thread Eelco Hillenius
What is the recommended deployment model to support back-button usage via undoable changes and disk-based serialized storage with Wicket? Is it only possible using a load balancer configured to be sticky (keep sessions on the same node during the lifetime of the session)? Recommended is to

Re: Matt Raible's ApacheCon presentation

2007-11-15 Thread Eelco Hillenius
Example would be a link on a table... columns.add(new LinkPropertyColumn(new Model(Delivery), new Model( change)) { @Override public Link createLink(final Item item, String componentId,

[jira] Commented: (WICKET-1138) Better warning of design errors during development

2007-11-14 Thread Eelco Hillenius (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542639 ] Eelco Hillenius commented on WICKET-1138: - But the exception is thrown as a ConversionException which

Re: data tables and debugging session serialization

2007-11-13 Thread Eelco Hillenius
Using Wicket 1.3? Try setting break points in DiskPageStore (#getPage for instance) and see if that gets you any further. Eelco On Nov 13, 2007 6:59 AM, Evan Chooly [EMAIL PROTECTED] wrote: I'm having some strange behavior with a DataTable and the back button. When I back up to the page with

Re: Leaf menus stop responding after collapse and expand

2007-11-13 Thread Eelco Hillenius
On Nov 13, 2007 3:31 PM, yadubi [EMAIL PROTECTED] wrote: I have an application which is modeled on ajax SimpleTreePage example. Navigation is handled by overriding the onNodeLinkClicked of the LinkTree class. There are tree levels of nesting in the menu, the second level has multiple leaf

Re: framework dependencies

2007-11-13 Thread Eelco Hillenius
This doesn't seem to be related to dependencies, certainly not anything Wicket related. Did you update Hibernate and/ or your JDBC driver recently? Btw, if you're just starting out with Wicket, I'd recommend you pick up Wicket 1.3. Eelco On Nov 13, 2007 10:23 PM, Yevgeni Kovelman [EMAIL

Re: framework dependencies

2007-11-13 Thread Eelco Hillenius
On Nov 13, 2007 10:52 PM, Yevgeni Kovelman [EMAIL PROTECTED] wrote: Eelco, I've been using oracle jdbc driver for about 3 weeks consistently as well as libraries below. Then I spent a few days building up my dataset programmatically and decided to create a list of dependencies for the

[jira] Resolved: (WICKET-1148) AbstractTree utilizes Collections.EMPTY_LIST for a node's children container which causes errors when adding children

2007-11-12 Thread Eelco Hillenius (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eelco Hillenius resolved WICKET-1148. - Resolution: Fixed AbstractTree utilizes Collections.EMPTY_LIST for a node's children

Re: On resource bundles and component path's

2007-11-12 Thread Eelco Hillenius
On 11/4/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 10/28/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Makes sense. And I see it works now perfectly. Thanks! Actually, it doesn't seem to work for me. I have DiscountsPage and UserPanel. The UserPanel is added to the page

Re: Attempted summary of multiple wicket:child / thread

2007-11-12 Thread Eelco Hillenius
I hope people don't start thinking that this damn newbie comes and wants to change a proven framework without knowing it really. But as owner of the patch I am very interested in this discussion and probably even responsible for it - or maybe eelco was, when he said And hey, maybe some working

Re: How do others include their browser specific styles in Wicket?

2007-11-12 Thread Eelco Hillenius
On Nov 11, 2007 2:24 AM, Johan Compagner [EMAIL PROTECTED] wrote: Session.getClientInfo() ? See also the HelloBrowser example (http://wicketstuff.org/wicket13/hellobrowser/). Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Serialization of pages in a cluster/load-balancer environment ?

2007-11-12 Thread Eelco Hillenius
On Nov 12, 2007 6:21 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: afaik the current pagestore will save the page to disk after its been replicated...or was that another pagestore subclass you were working on matej? Also see

Re: Serialization of pages in a cluster/load-balancer environment ?

2007-11-12 Thread Eelco Hillenius
On Nov 12, 2007 9:23 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Nov 12, 2007 6:21 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: afaik the current pagestore will save the page to disk after its been replicated...or was that another pagestore subclass you were working on matej? Also see

Re: Problem with DefaultDataTable filtering?

2007-11-12 Thread Eelco Hillenius
On Nov 12, 2007 6:33 PM, anita nichols [EMAIL PROTECTED] wrote: Please unsubscribe Nah. Nick is a good guy. Let's keep him around ;-) Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[jira] Commented: (WICKET-1138) Better warning of design errors during development

2007-11-10 Thread Eelco Hillenius (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541529 ] Eelco Hillenius commented on WICKET-1138: - But it is working. Validation is executing like it should

[jira] Commented: (WICKET-1138) Better warning of design errors during development

2007-11-09 Thread Eelco Hillenius (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541500 ] Eelco Hillenius commented on WICKET-1138: - Validation errors of user input is nothing exceptional though

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread Eelco Hillenius
You should use a second level cache to cache objects and queries from your database; and that's not Wicket's job, Wicket is a Web framework. For example, use Hibernate + ehcache. Yep. That way you'll avoid redundancy in caching, and have caching regardless of whatever UI framework you're

Re: Page Expired issue

2007-11-09 Thread Eelco Hillenius
On Nov 8, 2007 11:46 PM, Joshua Jackson [EMAIL PROTECTED] wrote: Darn it doesn't work. I guess this is a problem with Websphere :( Igor was referring to putting something like: session-config session-timeout60/session-timeout /session-config somewhere at the end

Re: Adding a component dynamically

2007-11-09 Thread Eelco Hillenius
On Nov 9, 2007 4:08 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Search the archives. There are hundreds of these questions answered. Learn how you can use Panels particularly. Eelco - To unsubscribe, e-mail: [EMAIL

Re: Wicket session

2007-11-09 Thread Eelco Hillenius
In various posts I read that one should refrain from working directly with the servlet api, but use the wicket abstraction instead, because it is more powerful. Hm. Is it? It is better to use Wicket's abstraction Two behaviors seem to be missing in that abstraction. There seems to be no

Re: packaging images/css in a jar?

2007-11-09 Thread Eelco Hillenius
Thanks Eelco..so that means the image cant just be anywhere in the classpath, it has to be either 1) In the same directory as the page-component or 2) In the webapp folder in case of a war and can be accesed via ContextImage... It can be arbitrary as long as you have a class relative to it you

Re: [PROPOSAL] Shindig, an OpenSocial Container

2007-11-09 Thread Eelco Hillenius
+1 Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[jira] Commented: (WICKET-1138) Better warning of design errors during development

2007-11-08 Thread Eelco Hillenius (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541224 ] Eelco Hillenius commented on WICKET-1138: - The question is *when* to do this. You are not obliged to have

Re: Multiple wicket:child / tags on a single base page?

2007-11-08 Thread Eelco Hillenius
On Nov 7, 2007 5:53 PM, Chris Colman [EMAIL PROTECTED] wrote: heh, wellyou can be against this, but i think if we take a vote right now most core-devs with binding votes will vote this down I still can't see the reason for the negativity of some of the core-devs: this is an existing

Re: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Eelco Hillenius
In conclusion, the proposed change: - is useful - does not have to be used if you don't like it - is 100% backwards compatible - it introduces no new tags (if using child/extends) The thing is though, even though it is 100% backwards compatible, it is

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 10:02 AM, mfs [EMAIL PROTECTED] wrote: Guys, Wondering as to where would i be packaging my images/css in case of a jar ? Typically relative to where you use it. Eelco - To unsubscribe, e-mail: [EMAIL

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
Guys I am on the same project so I can speak a bit more. The real issue is that on Redhat the default max directories is something like 32K. We ran out of file descriptors. Basically for every unique session there is a directory created for the second level cache. But the file handles are

Re: Wicket Servlet Filters

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 8:55 AM, William Hoover [EMAIL PROTECTED] wrote: Well, I was thinking more in lines of a request listener (similar to a JSF phase listener). As Wicket enters internal phases of execution a listener can be added to perform some operations on the event. Just thought it would be

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
src/main/resources?..lets say if its a maven structure.. No, just in the classpath. Look at wicket-examples/ images example for instance. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread Eelco Hillenius
Now there would be certain use-cases/pages in our application which would have alot of data in it (lets say in mbs), and in that scenario storing the entire model-data/components would probably bring in too much of a load on the system (in my opinion...given high volume of users..) so with

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
but i am wondering as to how would i make it work wicket such that image gets fetched from the classpath and not relative to the application root.. So basically here is my scenario, i have jar bundled with the page components and in them i want to refer to the images (bundled within the jar

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 3:31 PM, Chris Lintz [EMAIL PROTECTED] wrote: We get dangling cache files. I have the sessions set to expire in 1 hour. I check one of my servers and i see cache files from over a week old. This could of only have occurred because of the multiple restarts. Maybe its a bad

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 11:16 AM, mfs [EMAIL PROTECTED] wrote: Actually it does work when the image is in the same directory as that of the page (same with the example u pointed out)..how would i refer to an image which is altogether is a different structure... lets say my page is at org.xyz.util

Re: Wicket Servlet Filters

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 10:26 AM, William Hoover [EMAIL PROTECTED] wrote: So in theory it can be accomplished, but is not recommended to do so... What is the common practice when dealing with wicket related data in a servlet filter? Try to forget how other frameworks do things and look for solutions

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
No we can't do that, If you as you should terminate your web container gracefully then the web container will save all the sessions to disk. Then if you restart it again all the sessions are loaded again. And yes the application works just as it was never restarted. But if we throw away all

Re: Wicket Servlet Filters

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 11:14 AM, William Hoover [EMAIL PROTECTED] wrote: It's not for authorization... It's for running reports. I realize that the Wicket stratagy is to work with components, but in this instance its not a practical option. The business requirement dictates that from any page in the

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
Anyways actually i dont have a webapp directory and dont want to have that in my jar project...just want the .class files and the images (and may be css)..both residing it a different folders structure... basically below is the resulting jar structure i have and would want to keep

Re: Form: onSubmit not called

2007-11-08 Thread Eelco Hillenius
Although it was my own fault hands down (silly me didn't write a test first) I'm thinking that I could have saved hours with some sort of indication... now that its happened once the lesson is pretty clear, but a lot of people are going to stumble over stuff like that when they first get into

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
Ok here is a bit more clarity after digging further. Timed out sessions do trigger a removal of the of the PageStore file. However if Tomcat is restarted there is no cleanup of the PageStore files on disk. In other words the Page Store will leak those cache files and never clean them up.

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 3:09 PM, Johan Compagner [EMAIL PROTECTED] wrote: 1) Shall we file a Jira for a enhancement to the DiskPageStore which would be a cleanup of any dangling cache files not part of the current DiskPageStore instance? and which are dangling?? How do you know that? If i

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 3:29 PM, Matej Knopp [EMAIL PROTECTED] wrote: We could read the session timeout from web.xml and delete what is older. But should we really do that? When session timeouts, the data is deleted anyway. These dangling files seem to be a caused by something else. If the sessions

Re: eHour migrated to Wicket

2007-11-07 Thread Eelco Hillenius
I've finally migrated my time tracking tool, eHour, from Struts to Wicket ! eHour is a webbased time tracking tool for consultancy companies and other project based businesses. The primary objective is to keep time tracking as simple and user friendly as possible while still being very

Re: 1.2 or 1.3 beta 4 ?

2007-11-07 Thread Eelco Hillenius
On Nov 7, 2007 12:37 PM, Christofer Jennings [EMAIL PROTECTED] wrote: I want to pitch Wicket for a new project at work. Is 1.3 beta 4 stable enough? Is there a ballpark idea of when 1.3 final will be out? ... I know that's a dumb question on an open source project but I guy can dream. We're

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Eelco Hillenius
On Nov 7, 2007 11:19 AM, Scott Swank [EMAIL PROTECTED] wrote: I can see how wicket:abstract and wicket:implements tags could be a nice enhancement to the current wicket:extend and wicket:child tags. Do you have a working, or mostly working, patch? What I think we should do with this is make

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Eelco Hillenius
On Nov 7, 2007 1:32 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: this cannot be an option. it always has to be enabled. if i write a component that uses this and someone drops it into application where this is disabled what should happen? You wouldn't write such a component for general purposes

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Eelco Hillenius
On Nov 7, 2007 2:02 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: On Nov 7, 2007 1:39 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: You wouldn't write such a component for general purposes obviously. ok, that right there i really really dont like. define general purpose? so now we have features

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Eelco Hillenius
some here like it and others dont like it, so wouldnt be an different project like wicket-extension the part for this? That's what I'm arguing. Though thinking about it a little bit longer, it should probably not even be a core project, but rather a wicket-stuff one. couldn't this be applied

Re: Preloading BreadCrumbBar

2007-11-06 Thread Eelco Hillenius
On Nov 6, 2007 7:01 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: if you are using this for a directory then i would build your own component. in the directory there is only one way in to something. breadcrumb bar as it is is defiend to support multiple ways of getting to something so there is a

Re: Wicket meetup (the netherlands) ideas

2007-11-05 Thread Eelco Hillenius
we are already in the month of the great Wicket meetup in the netherlands So does anybody have idea's what you would like to see ? Do you want to see some short presentations? What would be good topics? This is your chance to do some practicing on presenting Johan! One idea that comes in mind

Re: Wicket meetup (the netherlands) ideas

2007-11-05 Thread Eelco Hillenius
On 11/5/07, Johan Compagner [EMAIL PROTECTED] wrote: yeah yeah, i already did some practicing on servoywold with 2 sessions.. But the thing is what should it be about. An intoduction doesn't look vey needfull.. :) Tell how you used Wicket it for Servoy. Or have a tips tricks for production

Re: Wicket meetup (the netherlands) ideas

2007-11-05 Thread Eelco Hillenius
Also a tips and tricks kinda thing would be great. To show some nice tricks to my employer and fellow colleges. I haven't been using Wicket professionally jet. I only used it to build my own blog with it. I'm trying to get my employer to look at Wicket but I need working portlet support for

Re: Wicket meetup (the netherlands) ideas

2007-11-05 Thread Eelco Hillenius
On 11/5/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Also a tips and tricks kinda thing would be great. To show some nice tricks to my employer and fellow colleges. I haven't been using Wicket professionally jet. I only used it to build my own blog with it. I'm trying to get my employer

Re: Is Beta5 coming soon? Beta4 has caused these issues for us....

2007-11-05 Thread Eelco Hillenius
I finally won't take your time anymore with my problem of dependencies : it was a simple PEBCAK ! I got the following error : Exception in thread ModificationWatcher Task java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z It was coming from log4j.Logger, not from

Re: [ANNOUNCE] Eventful Launches

2007-11-05 Thread Eelco Hillenius
After quite a bit of development, I'm happy to announce Eventful ( http://www.eventfulhq.com) has launched to the general public. Eventful is an online registration and event management application. With Eventful, you can: - Import your contact database - Send personalized email

Re: Localizer cache

2007-11-04 Thread Eelco Hillenius
Best to open a proper feature request for this in JIRA. Eelco On 11/4/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Hi, I was wondering if I could somehow turn off caching of the localizer in development mode (from the current source it doesn't look like it). The reason I ask is because

Re: Replacing div/ with div/div

2007-11-03 Thread Eelco Hillenius
On 11/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 11/3/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Though I'm not pro on this change, I suggest putting it in before rc1. Why aren't you pro? Because you don't agree with the idea, or because it is too late in the game? Ugh, nevermind

Re: Replacing div/ with div/div

2007-11-03 Thread Eelco Hillenius
On 11/3/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Though I'm not pro on this change, I suggest putting it in before rc1. Why aren't you pro? Because you don't agree with the idea, or because it is too late in the game? Eelco

Re: wicket:message error when using custom namespace (xmlns:w=http://wicket.apache.org)

2007-11-03 Thread Eelco Hillenius
On 10/18/07, Otan [EMAIL PROTECTED] wrote: wicket:message does not honor defined namespace (for example, xmlns:w= http://wicket.apache.org) With the following markup, html xmlns= http://www.w3.org/1999/xhtml xmlns:w= http://wicket.apache.org; ... img src=images/mainmenu-home.jpg

Re: Wicket jBPM

2007-11-03 Thread Eelco Hillenius
On 11/3/07, William Hoover [EMAIL PROTECTED] wrote: When you download jBPM (http://www.jboss.com/products/jbpm/downloads) the deploy directory contains the jBPM Web Console Application (http://docs.jboss.com/jbpm/v3/userguide/introduction.html#d0e100) that... The jBPM console web

Re: empty wicket:message

2007-11-03 Thread Eelco Hillenius
Mmmm. I must say I agree with this. I'd actually prefer it to throw an exception. ;-) I'm surprised we don't do this already! I would have expected that if IResourceSettings#getThrowExceptionOnMissingResource returns true, an exception would be thrown here as well. I think we should fix it.

Re: Jira issue moved to the list: constructors and init of components

2007-11-03 Thread Eelco Hillenius
IMHO it does make sense. When I see several different super(...) calls in constructors the first thing that crosses my mind is that these superclass constructors have different logic. But it's not true for wicket and in most Component subclasses I can call super(id, (IModel)null). Can I? Yep,

Re: empty wicket:message

2007-11-03 Thread Eelco Hillenius
the key as the body or throwing an exception is way better imho. However, I wouldn't vote against people wanting to stick with the current pattern as it is quite late in the game to change this. Eelco On 11/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 11/3/07, Igor Vaynberg [EMAIL PROTECTED

Re: WebWork and Wicket in the same application - session sharing?

2007-11-03 Thread Eelco Hillenius
I have a large application written in WebWork, Spring and iBATIS. After having started working with Wicket it really pains me that I have to continue developing with WebWork, so I want to start migrating this application on a page-by-page basis :) I'm thinking I'd add a filter for wicket

Re: empty wicket:message

2007-11-03 Thread Eelco Hillenius
The easiest solution would be this: Index: /Users/eelcohillenius/Documents/workspace_wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/WicketMessageResolver.java === ---

Re: empty wicket:message

2007-11-03 Thread Eelco Hillenius
On 11/3/07, Johan Compagner [EMAIL PROTECTED] wrote: Yes we could do that. Just remove that default value. But what i would like to have IF you have a body specified then we don't throw anything This way we keep old behavior and we have the new one Because if i specifiy a body then thats the

Re: empty wicket:message

2007-11-03 Thread Eelco Hillenius
On 11/3/07, Al Maw [EMAIL PROTECTED] wrote: Johan Compagner wrote: Yes we could do that. Just remove that default value. But what i would like to have IF you have a body specified then we don't throw anything This way we keep old behavior and we have the new one FWIW, I entirely agree

Re: WebWork and Wicket in the same application - session sharing?

2007-11-03 Thread Eelco Hillenius
Sessions in WebWork are stored in the HttpSession like this: ActionContext.getContext().getSession().put(key, value); so this should be trivial. Thanks a lot! I have never needed to override newRequestCycle() in the WebApplication class before, and it seems getHttpSession() is not

Re: WebWork and Wicket in the same application - session sharing?

2007-11-03 Thread Eelco Hillenius
On 11/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Sessions in WebWork are stored in the HttpSession like this: ActionContext.getContext().getSession().put(key, value); so this should be trivial. Thanks a lot! I have never needed to override newRequestCycle() in the WebApplication

Re: Jira issue moved to the list: constructors and init of components

2007-11-03 Thread Eelco Hillenius
Yep, you could. Though some constructors in other classes (in or outside Wicket) might expect not-null arguments passed in in constructors. It just depends on who implemented it. There is no golden pattern that everyone follows; if there was, it should probably be enforced in the

Re: {wicket 1.3 beta 4} Error handling (Internal error page)

2007-11-03 Thread Eelco Hillenius
Whatever you set in setInternalErrorPage is ignored if you override onRuntimeException in a custom request cycle. Eelco On 11/1/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Appears I was wrong. This is actually working. I would still like to know if this is the correct way

Re: wicket-contrib-input-events : keyboard shortcuts for wicket

2007-11-03 Thread Eelco Hillenius
Im wondering if we(wickeers) would need an integration for a window manager possibly: http://www.vegui.org/ ? Havent checked it enough to see how complex it are and how easy it would be to make an simple integration. I don't know. It looks fancy, but I wonder how many people will actually

Re: wicket:enclosure and authorization

2007-11-02 Thread Eelco Hillenius
On 11/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if we rename it then we should also rename Component.RENDER action to Component.VISIBLE Do you really think it is worth it renaming this late in the game? Eelco - To

Re: Wicket jBPM

2007-11-02 Thread Eelco Hillenius
On 11/2/07, William Hoover [EMAIL PROTECTED] wrote: Has anyone successfully setup JBoss jBPM with Wicket? Several people who I know. You can use jBPM like any regular Java API. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: WICKET-606 Broken Again in beta4?

2007-11-02 Thread Eelco Hillenius
If you see that it is broken, then please open the issue again. If it is, before fixing we really need to create a test case for this so that when we fix it, it stays fixed. Eelco On 11/2/07, Dan Syrstad [EMAIL PROTECTED] wrote: It appears that the issue

Re: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Eelco Hillenius
It would be quite feasible to add support for multiple overridden sections using the above tag names while remaining backwards compatible with existing markup by continuing to support the old child/extends tags working the way they always have. It's kind of a predictable answer, but the best

Re: Why is LoadableDetachableModel read-only?

2007-11-02 Thread Eelco Hillenius
setObject() is not supported on LoadableDetachableModel because it extends AbstractReadOnlyModel. What is the reason for this? Because load is an algorithm to get the value; if you set the value you have two different ways of getting that value which gets inconsistent easily. This way

Re: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Eelco Hillenius
There's nothing I would love more right now than to have to time to implement a patch to support multiple overridden sections in a wicket page but unfortunately time is one thing I don't seem to have much of these days. I can't believe 2007 is almost over - heck, where did this year go? Tell

Re: trouble attaching source

2007-11-01 Thread Eelco Hillenius
I've used source attachements through mvn eclipse:eclipse with beta 3 and 4 without problems. Eelco On 11/1/07, Devin Venable [EMAIL PROTECTED] wrote: Has anyone encountered a problem attacheing wicket-1.3.0-beta2 source to Eclipse Europa (3.3)? Each time I attempt Eclipse gives me An error

Re: Just 1 hour to introduce Wicket (Friday)

2007-10-31 Thread Eelco Hillenius
I like these points. 1. All code is Java, which enables end-to-end refactoring and gives you clean html. And static typing gives you also good means to navigate your code. Use your IDE to find the uses, overrides, etc. Make unsupported (due to API breaks) methods final so that your clients

Re: wicket:enclosure and authorization

2007-10-31 Thread Eelco Hillenius
On 10/31/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there seems to be a bit of a disconnect between render in auth and our general component visibility concept. perhaps it might be an improvement to aligh auth strategy with visibility rather then render...what do others think? Yeah. Eelco

Re: EqualInputValidator inside WizardStep

2007-10-30 Thread Eelco Hillenius
On 10/29/07, Igor Vaynberg [EMAIL PROTECTED] wrote: hrm, i think a good solution to this would be to create a fresh inner form for every new step. so the outer form contains the wizard buttons, and an inner form contains the user's panel. i think for now you can do that yourself, simply embed

Re: YUI vs Wicket AutoComplete

2007-10-30 Thread Eelco Hillenius
I want to use an auto complete component on stateless pages and in theory there should not be a problem with this. Currently the wicket implementation uses the AJAX behaviour functionality which ... waiting for the next episode :-) Eelco

[jira] Commented: (WICKET-1002) Add lifecycle methods for Session

2007-10-29 Thread Eelco Hillenius (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538597 ] Eelco Hillenius commented on WICKET-1002: - We can't really guarantee this, since we don't guarantee

Re: recommend a CMS to integrate w/our wicket-based webapp?

2007-10-29 Thread Eelco Hillenius
You wish :( On jetspeed based portals maybee. I haven't really tried it in there. However in the biggest opensource portal Liferay it's not really working. (See http://www.nabble.com/Portlet-howto-tf4587073.html) I have no real experience with it I'm afraid. Maybe Ate has some good

Re: How to manage multiple versions of data?

2007-10-29 Thread Eelco Hillenius
On 10/29/07, Tauren Mills [EMAIL PROTECTED] wrote: I have a wicket/hibernate/spring project that manages a set of live data. Users of the system view the live version of the data. Currently, administrative CRUD alters the live data as well. Changes by an admin are immediately reflected on

Re: Is Beta5 coming soon? Beta4 has caused these issues for us....

2007-10-29 Thread Eelco Hillenius
4) Pages are stateful now because of - http://www.nabble.com/Stateless-page-creating-session-tf4604432.html#a13147396 Ah, I missed this. I fixed the example yesterday, thinking I missed a deliberate change. But turns out it was a bug after all. Also here, we need to have a test case. Anyone

Re: AutoCompleteTextField excessive serialisation

2007-10-29 Thread Eelco Hillenius
On 10/29/07, Matej Knopp [EMAIL PROTECTED] wrote: I doubt it would prevent the page from being serialized. Versioning doesn't spot all changes to page (e.g. setting a property) so we can't rely on it, therefore we serialize it on every request. However, if you really want to get around the

Re: [VOTE] Accept project Buildr for incubation

2007-10-29 Thread Eelco Hillenius
[ x ] +1 Accept Buildr project for incubation [ ] 0 Don't care [ ] -1 Reject for the following reason : Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: recommend a CMS to integrate w/our wicket-based webapp?

2007-10-28 Thread Eelco Hillenius
We're developing our (social networking ;- ) site using wicket talking to our Spring-managed services layer. We're going to need to provide content management features for our internal users (admins, moderators, marketers) and I'm exploring possible solutions. I realize we can build our own

Re: handling static content

2007-10-28 Thread Eelco Hillenius
On 10/28/07, Brill Pappin [EMAIL PROTECTED] wrote: I'm attempting to have wicket run from the base directory filter mapping is /*. The trouble is that I have a lot of static content I don't want in the classpath. i.e. I want it in the normal place content is located, in src/main/webapp. Just

<    3   4   5   6   7   8   9   10   11   12   >