Re: [Wicket-user] google Web Toolkit

2006-06-17 Thread Eelco Hillenius
There are currently no integration efforts ongoing. I haven't actually played with it - waiting for the mac version - except for reading the docs and a short look at some code, so I don't really know whether it is possible to generate just reusable components, or that GWT only renders whole

Re: [Wicket-user] a complete wicket web application example

2006-06-17 Thread Eelco Hillenius
What are the other parts of you thinking about? ;) Eelco On 6/17/06, Mark Derricutt [EMAIL PROTECTED] wrote: Part of me starts thinking about open sourcing my simple time tracker application, which would be a good demonstration of wicket+spring+hibernate. On 6/17/06, Gwyn Evans [EMAIL

Re: [Wicket-user] a complete wicket web application example

2006-06-17 Thread Eelco Hillenius
For anyone except you? On 6/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote: he didnt say because what those parts are thinking is private -Igor On 6/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote: What are the other parts of you thinking about? ;) Eelco On 6/17/06, Mark Derricutt

Re: [Wicket-user] a complete wicket web application example

2006-06-17 Thread Eelco Hillenius
(if not before) then. I'm currently adding various functions that make it a bit more usefull (like accunt creation!) then will make it available somewhere I guess. On 6/18/06, Eelco Hillenius [EMAIL PROTECTED] wrote: What are the other parts of you thinking about

Re: [Wicket-user] Component To Display Arbitrary HTML

2006-06-18 Thread Eelco Hillenius
add(new Label(foo, h1Hello/h1).setEscapeModelStrings(false)); So, it's the escapeModelStrings flag you're after. Eelco On 6/18/06, Karl M. Davis [EMAIL PROTECTED] wrote: Hello all, I have a control which loads HTML content from a database and then displays it in a page. However, I

Re: [Wicket-user] MSIE error when running AutoCompletePage examples

2006-06-18 Thread Eelco Hillenius
There have been fixes for IE related bugs. I think it is fixed in 1.2's trunk. Eelco On 6/18/06, Javed Sujela [EMAIL PROTECTED] wrote: I'm getting an error when running the AutoCompletePage example (wicket1.2 final) on my WinXP machine . Works fine with Firefox Here is a screen shot of the

Re: [Wicket-user] Its confirmed - Another !!Wicket Book!!

2006-06-19 Thread Eelco Hillenius
Hey, competition :) Kuddos, I think it's only good for Wicket and it's users to have a competing book. When do you think you'll be ready with it? Cheers, Eelco On 6/19/06, karthik Guru [EMAIL PROTECTED] wrote: Hi All, I'm writing a book on Wicket for Apress. Finally - finally I'm allowed

Re: [Wicket-user] AuthenticatedWebApplication only working when deployed in real server

2006-06-20 Thread Eelco Hillenius
No idea. Most of us (people that I know around here) run their Wicket apps straight from the IDE. And there's nothing magical going on in wicket-auth-roles-examples either... Eelco On 6/19/06, Stefan Arentz [EMAIL PROTECTED] wrote: I have a really odd problem here. I'm working on a simple

Re: [Wicket-user] AuthenticatedWebApplication only working when deployed in real server

2006-06-20 Thread Eelco Hillenius
As far as I understand it, all root mapping problems are solved when we use the servlet filter we have in 2.0 instead of the wicket servlet of pre-2.0. It's probably easy to back port, but the only problem is that it breaks the API in some places (like WebApplication.getWicketServlet will be

Re: [Wicket-user] Allow nested components in VelocityPanel

2006-06-20 Thread Eelco Hillenius
I'll look into it tomorrow (going to bed now). Cheers, Eelco On 6/20/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Hello, I'm new to the mailing-list, and very interested in Wicket. I designed recently an application that generates user interface based on a RDF schema. To

Re: [Wicket-user] Cache control for shared resources

2006-06-20 Thread Eelco Hillenius
You can override Resource.configureResponse or WebResource.setHeaders. Additionally, you could consider using Resource.setCacheable(false), and then the IResourceStream's (or actually IModifiable's) lastModifiedTime result is used. Eelco On 6/19/06, jan_bar [EMAIL PROTECTED] wrote: Hi, how

Re: [Wicket-user] Its confirmed - Another !!Wicket Book!!

2006-06-20 Thread Eelco Hillenius
It's not out yet, and it will take some more months to write. It will be published by Manning as part of the ... In Action series (Wicket In Action). Eelco On 6/20/06, Michael Welter [EMAIL PROTECTED] wrote: Is Eelco's book in English, and where can I find it? Thanks, karthik Guru wrote:

Re: [Wicket-user] Its confirmed - Another !!Wicket Book!!

2006-06-20 Thread Eelco Hillenius
I haven't seen Karthik's content, so I can't speak for him. As for the book Martijn and me are writing: we have a bunch of Manning editors and proofreaders making sure we don't make a mess of the book. Wicket In Action will not only explain you how to do things, but also why and tries to give you

Re: [Wicket-user] Cache control for shared resources

2006-06-20 Thread Eelco Hillenius
] wrote: My resource is static file, so naturaly I want to use PackageResource. But I cannot override the configureResponse() or setHeaders() because PackageResource has private contructor. I cannot resue this class. Thanks Jan Eelco Hillenius [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [Wicket-user] errors on servlet init

2006-06-20 Thread Eelco Hillenius
Looks to me like you have some classpath problems. Try cleaning up your projects and make sure you don't have duplicate entries etc. Eelco On 6/20/06, Ittay Dror [EMAIL PROTECTED] wrote: i get this stack trace the first time i try to access a page. the page is a simple form (no ajax/upload)

Re: [Wicket-user] Allow nested components in VelocityPanel

2006-06-20 Thread Eelco Hillenius
into it when he is back. I increased the priority a bit so that it won't slip our attention. Eelco On 6/20/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I'll look into it tomorrow (going to bed now). Cheers, Eelco On 6/20/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Hello, I'm new

Re: [Wicket-user] How to reuse panels with form fields

2006-06-21 Thread Eelco Hillenius
Just put the form components on your panel, and nest that panel in any form you want. Their models will be updated, no matter how deep the components are nested. Eelco On 6/20/06, Hugo Visser [EMAIL PROTECTED] wrote: Hi, As my first wicket exercise I thought I'd create a little utility like

Re: [Wicket-user] Beginner Image question

2006-06-21 Thread Eelco Hillenius
Yep. Or alternatively, use attribute modifiers: WebMarkupContainer c = new WebMarkupContainer(myimage); c.add(new SimpleAttributeModifier(src, http://images.apple.com/macbook/images/macbookglossydisplay20060516.jpg;)); add(c); or public class ExternalImage extends WebMarkupContainer { public

Re: [Wicket-user] How to reuse panels with form fields

2006-06-21 Thread Eelco Hillenius
obvious actually :) Thanks again, Hugo On 6/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Just put the form components on your panel, and nest that panel in any form you want. Their models will be updated, no matter how deep the components are nested. Eelco On 6/20/06, Hugo

Re: [Wicket-user] Embedding video links

2006-06-21 Thread Eelco Hillenius
I'm afraid I have no experience with that. Maybe someone else on the list? Eelco On 6/19/06, Ross Mark [EMAIL PROTECTED] wrote: I've just written my first wicket app and I'm having a small problem. The web app is a simple survey form where the user will navigate a series of video clips and

Re: [Wicket-user] Formatting Dates

2006-06-21 Thread Eelco Hillenius
And if you always/ throughout your whole web application have to format in a certain style, you can register a converter that does that. Eelco On 6/21/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yeah, you pretty much nailed it. although i would extend webmarkupcomponent instead of label since

Re: [Wicket-user] wicket emailaddress validation incorrect

2006-06-22 Thread Eelco Hillenius
I don't think that code will be better readable. But I'm looking forward to what you think it should look like :) Eelco On 6/21/06, cowwoc [EMAIL PROTECTED] wrote: Instead of using some super long regex why not code the logic by hand (the old fashion way without regex). I find that

Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?

2006-06-22 Thread Eelco Hillenius
Yeah, that would be a good idea. Any volunteers for testing and copying? Lots of people with access to wicket-stuff :) Eelco On 6/22/06, John Patterson [EMAIL PROTECTED] wrote: Perhaps all 1.2 compliant stuff could be copied into the wicket-stuff/ WICKET_1_2 branch so we know what should

Re: [Wicket-user] AuthenticatedSpringWebApplication

2006-06-22 Thread Eelco Hillenius
Nope, that's the way. We hope to make it a bit nicer someday, though it's just a one time copy thing anyway. Eelco On 6/22/06, Michiel Trimpe [EMAIL PROTECTED] wrote: Has anyone already built an AuthenticatedSpringWebApplication? Seems like I need to implement Authentication by

Re: [Wicket-user] Wicket and Websphere

2006-06-22 Thread Eelco Hillenius
It's probably less than a day work to convert to 1.3 by hand. But you'd be on your own I'm afraid. We considered 1.3. vs 1.4. long time ago, and thought 1.4. had enough improvements to justify going for that. Eelco On 6/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Wicket is compiled using

Re: [Wicket-user] WicketTester in 1.2 causing internal error cloning object errors.

2006-06-22 Thread Eelco Hillenius
Fixed now. Eelco On 6/22/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: I guess it is a bug. Juergen On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: ITestPageSource is not serializable. If it was, you wouldn't have this problem. I don't use that part of Wicket myself, nor wrote

Re: [Wicket-user] Wicket and Websphere

2006-06-22 Thread Eelco Hillenius
upgraded ;) On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: It's probably less than a day work to convert to 1.3 by hand. But you'd be on your own I'm afraid. We considered 1.3. vs 1.4. long time ago, and thought 1.4. had enough improvements to justify going for that. Eelco On 6

Re: [Wicket-user] Multipleforms good idea?

2006-06-23 Thread Eelco Hillenius
(fieldDefinitionModel)); add(new CheckBox(required)); add(new TextField(maxLength)); } public void onSubmit() { ... } } On 6/23/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Looks like

Re: [Wicket-user] Wait for Wicket 2.0 or not?

2006-06-23 Thread Eelco Hillenius
Agreed with Philip. However, one important note is that of the changing API. Though the constructor change and generics support were huge changes, the rest of the internals of the frameworks pretty much stayed the same. We have a couple of things we really feel should be improved, converters

Re: [Wicket-user] Portlet support checked in the 1.2 branch

2006-06-24 Thread Eelco Hillenius
Thanks Janne! Eelco On 6/24/06, Janne Hietamäki [EMAIL PROTECTED] wrote: Hello everyone, I checked in the Wicket portlet (JSR-168) support into Wicket 1.2 branch. Comments and patches are welcome. Different portlet modes (EDIT,VIEW,HELP) are not yet supported, but coming soon. Also a

Re: [Wicket-user] Call Javascript function after page is loaded

2006-06-24 Thread Eelco Hillenius
Add your javascript function either just in the body, or as a header contribution (see e.g. wicket.extensions.util.resource for some useful utilities), and then call/ initialize that on body onload: myWebComponent.getWebPage().getBodyContainer().addOnLoadModifier(callToFoo();, myWebComponent);

Re: [Wicket-user] Wicket 1.2 and Websphere 5.1.0/JBoss 3.2.7.

2006-06-27 Thread Eelco Hillenius
If you can't profile directly, you might want to put in a inspector page such as the wicket examples have that (see the 'i' icon in the top left corner of wicket-examples apps), and see if there are any extreme things going on. Eelco On 6/27/06, A. Zwaan [EMAIL PROTECTED] wrote: Hi

Re: [Wicket-user] Allow nested components in VelocityPanel

2006-06-27 Thread Eelco Hillenius
people think is logical? johan On 6/20/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I see there is some disagreement on http://sourceforge.net/tracker/index.php?func=detailaid=1485695group_id=119783atid=684977 but that Johan basically wants to adopt the change in a slightly different

Re: [Wicket-user] Wicket fundamentals

2006-06-27 Thread Eelco Hillenius
Hi Frank, What you stumble upon is largely a matter of individual taste of the core developers. There is no overall design strategy for things like this, and you'll find that depending on who wrote classes, the way extension points are setup can be very different. For instance the ListView was

Re: [Wicket-user] wicket developer job opening

2006-06-27 Thread Eelco Hillenius
So where is that job description of yours? :) Eelco On 6/27/06, Martijn Dashorst [EMAIL PROTECTED] wrote: If you stay out of Europe, the market is almost divided. Only South America, the pacific and Africa. And if you eva stick your dirty hands across the pond, we'll have you for

Re: [Wicket-user] wicket developer job opening

2006-06-27 Thread Eelco Hillenius
That's just mean man; you got your diploma and your girlfriend broke up? ;) Eelco finished off my school (Hanze University Groningen) yesterday and I am am a bachelor now. Will send my cv later this week. Using Tomcat but need to do more? Need to support web services, security? Get stuff done

Re: [Wicket-user] Link, ExternalLink, onclick and ampersand

2006-06-27 Thread Eelco Hillenius
I think you're right and external link should do this too. Anyone else an opinion about this? Eelco On 6/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, Link uses a href attribute and an onclick handler: // generate the href attribute tag.put(href, Strings.replaceAll(url, ,

Re: [Wicket-user] Link, ExternalLink, onclick and ampersand

2006-06-28 Thread Eelco Hillenius
/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I think you're right and external link should do this too. Anyone else an opinion about this? Eelco On 6/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, Link uses a href attribute and an onclick handler: // generate

Re: [Wicket-user] Is it possible to embed jsp in wicket ?

2006-06-28 Thread Eelco Hillenius
I think it might help a lot of users to write a WIKI page on this. Ittay and John, it would be welcome to share your experiences :) Eelco On 6/28/06, Ittay Dror [EMAIL PROTECTED] wrote: i have done the reverse: embedding wicket in a jsp page. if that interests you, i'll be glad to help

Re: [Wicket-user] Disabling Palette

2006-06-28 Thread Eelco Hillenius
We reprimanded Igor for fixing the bug without first writing a proposal, organize two meetings about it (with coffee and snacks), making a branch to for his fix, letting our official test comittee loose on it, interpret their results, organize another meeting, changing the proposal from v.0.3.6 to

Re: [Wicket-user] Wicket + Sitemesh - Page truncation problem

2006-06-28 Thread Eelco Hillenius
org.mortbay.jetty.jar #others commons-logging-1.0.4.jar log4j-1.2.13.jar On 11/22/05, Eelco Hillenius [EMAIL PROTECTED] wrote: In case you have a small test project or something, I would be very interested in taking a look at that and see if there's anything we need to do to make Wicket behave better

Re: [Wicket-user] Is it possible to embed jsp in wicket ?

2006-06-28 Thread Eelco Hillenius
to update partial content of result page. err... Both are weird... On 6/29/06, Eelco Hillenius [EMAIL PROTECTED] wrote: There is the Include component, which does stuff like that in a very basic way. There is an open issue for improving the Include component. It's been there for quite

Re: [Wicket-user] Is it possible to embed jsp in wicket ?

2006-06-28 Thread Eelco Hillenius
in YourWebApplication.init Read more about it in IRequestCycleSettings's javadocs. Wouldn't that suit your purposes better? Eelco On 6/28/06, Ittay Dror [EMAIL PROTECTED] wrote: ok, created http://www.wicket-wiki.org.uk/wiki/index.php/Jsp_Integration Eelco Hillenius wrote: I think it might help a lot

Re: [Wicket-user] Is it possible to embed jsp in wicket ?

2006-06-28 Thread Eelco Hillenius
: but doing that will affect all of the app, so if you have pages outside of jsp they will be affected also -Igor On 6/28/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Thanks a lot for the contributions. I haven't looked to deep into the details, but I noticed your way of turning off

Re: [Wicket-user] Is it possible to embed jsp in wicket ?

2006-06-28 Thread Eelco Hillenius
Yeah, ok. I agree with Igor now too. Just wanted to make sure you didn't miss the render strategy. Eelco On 6/28/06, Ittay Dror [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: Thanks a lot for the contributions. I haven't looked to deep into the details, but I noticed your way

Re: [Wicket-user] Wicket + Sitemesh - Page truncation problem

2006-06-29 Thread Eelco Hillenius
I had problems with sourceforge too today. Thanks Ingram, Eelco On 6/28/06, Ingram Chen [EMAIL PROTECTED] wrote: I will post it after sourceforge allow login. On 6/29/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Thanks. Would you mind attaching that to an issue on sourceforge please

Re: [Wicket-user] Button and its model

2006-06-29 Thread Eelco Hillenius
From the javadocs: * The model property is used to set the 'value' attribute. It will * thus be the label of the button that shows up for end users. If you want the * attribute to keep it's markup attribute value, don't provide a model, or let * it return an empty string. If you provide a

Re: [Wicket-user] RequiredTextField not validated and RadioGroup onSelectionChanged method not called

2006-07-03 Thread Eelco Hillenius
I just checked in the fix for the problem I found with Jetty 6 (and which might be an issue in other containers). From the change log: 'Implemented a workaround for an inconsistency between different servlet containers and a bug in the servlet spec which does not seem to state what should happen

Re: [Wicket-user] Disabling FormComponents

2006-07-03 Thread Eelco Hillenius
That all works only for validation - it doesn't prevent components' models from being updated, and it is quite a lot of work. An easier and better way is to override isEnabled (or isVisible, but isEnabled seems better here) and return false if they shouldn't be validated and updated. The only

Re: [Wicket-user] RequiredTextField not validated and RadioGroup onSelectionChanged method not called

2006-07-03 Thread Eelco Hillenius
Btw, it turns out it *was* a bug in Jetty 6. It recently got fixed (svn only now). Anyway, Wicket should now work regardless of that bug or not. Eelco On 7/3/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I just checked in the fix for the problem I found with Jetty 6 (and which might

Re: [Wicket-user] form processing

2006-07-05 Thread Eelco Hillenius
Yeah, the raw input is always updated, so getInput will give the updated value, and it is also used to set the output value of form components. Eelco On 7/5/06, Matej Knopp [EMAIL PROTECTED] wrote: Doesn't setDefaultFormProcessing(false) work for you? The values should be preserved even if

Re: [Wicket-user] Images to button

2006-07-06 Thread Eelco Hillenius
That, or just use a SubmitLink coupled to a a tag with an img tag embedded. Or use CSS. Eelco On 7/6/06, Frank Bille Jensen [EMAIL PROTECTED] wrote: What do you mean? Like the entire button is just your image or that you both have text and an icon? Try taking a look at:

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Eelco Hillenius
It must be in the wrong place somehow, if glassfish doesn't pick it up. You should try to figure out how Glassfish works with commons logging. Typically there is logging configuration for the whole application server, and then for specific web applications. Not all containers behave the same

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Eelco Hillenius
In fact log4j.logger.wicket=INFO should be enough. Eelco On 7/6/06, Vincent Jenks [EMAIL PROTECTED] wrote: log4j.debug=false log4j.rootLogger=INFO log4j.logger.org=INFO log4j.logger.com=INFO log4j.logger.net=INFO log4j.logger.nl=INFO log4j.logger.wicket=INFO

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Eelco Hillenius
to change. ugh :( On 7/6/06, Matej Knopp [EMAIL PROTECTED] wrote: Wicket uses commons-logging. I wonder whether glassfish doesn't have it's own weird logger factory, just like jetty does. -Matej Eelco Hillenius wrote: In fact log4j.logger.wicket=INFO should be enough

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Eelco Hillenius
Why would you want to make logging easy? :) If SUN had just adopted Log4J instead of IBM's kit like the whole world besides IBM asked them to do, we wouldn't have been in this mess. Eelco On 7/6/06, Gwyn Evans [EMAIL PROTECTED] wrote: On 06/07/06, Igor Vaynberg [EMAIL PROTECTED] wrote: so

Re: [Wicket-user] I require Ajax TextArea

2006-07-07 Thread Eelco Hillenius
You should use AjaxFormComponentUpdatingBehavior for this. Then you can just get your model object. Your model object has to be something that is update-able though. Currently you use a string, which is read only. Do e.g. something like this: public class SampleTextArea extends TextArea {

Re: [Wicket-user] Cached list object?

2006-07-07 Thread Eelco Hillenius
If you did listView.setReuseItems(true), which is a good choice when you embed a ListView in a form, you should manually 'update' the list view by calling listView.removeAll, which will trigger the list view to get all the fresh results again and build the list items from scratch. If you use

Re: [Wicket-user] I require Ajax TextArea

2006-07-07 Thread Eelco Hillenius
Thanks for your reply. That would solve my problem partially but create another problem that is it would go to the server for every letter, and I want to send it on a click without submitting the form (forgot to mention it in the previous mail). It doesn't go back for every change, but only

Re: [Wicket-user] Wicket and Swing API

2006-07-07 Thread Eelco Hillenius
A similar discussion came up shortly about the Tree component. What I said there was that it was a nice extra that the tree model can be used in both Swing and Wicket. If there are other concrete cases we can do that, it's something to consider. Remains a fact that desktop widgets and web widgets

Re: [Wicket-user] AbstractConverter and ParsePosition

2006-07-07 Thread Eelco Hillenius
Yeah, that sounds like something we should like. Eelco On 7/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok, Wicket probably wants to prevent that a bogus value '07.07.2006trail' is parsed. But shouldn't is be possible to convert '07.07.2006 '? How about adding a trim()? Sven

Re: [Wicket-user] I require Ajax TextArea

2006-07-07 Thread Eelco Hillenius
Thanks for your reply. That would solve my problem partially but create another problem that is it would go to the server for every letter, and I want to send it on a click without submitting the form (forgot to mention it in the previous mail). It doesn't go back for every change, but only

Re: [Wicket-user] quickstart

2006-07-07 Thread Eelco Hillenius
remembered something about OGNL no longer being needed -- but it seemed far easier to just throw it in the lib directory. Why not manually add the jars to the zip? It seems like a nicer introduction to Wicket that way. None the less, thanks for everything. On 7/7/06, Eelco Hillenius

Re: [Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Eelco Hillenius
Feedback panel typically should display any messages. You added a feedback panel to your page, and you are rendering the same page? Personally, I wouldn't catch exceptions in my models though. If a service fails and it is not designed to fail quietly, I would rather display some error page. But

Re: [Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Eelco Hillenius
: [EMAIL PROTECTED] [mailto:wicket-user- [EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: Friday, July 07, 2006 1:54 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] LoadableDetachableModel question Feedback panel typically should display any messages. You added

Re: [Wicket-user] Is it possible to abort a request?

2006-07-10 Thread Eelco Hillenius
Yep. Look at AbortException and subclasses. You might be looking for AbortWithHttpStatusException. Eelco On 7/10/06, Adam Smyczek [EMAIL PROTECTED] wrote: Hi All, This is probably a simple question, but is it possible to abort a request in e.g. onBeginRequest() method of WebRequestCycle

Re: [Wicket-user] Header contributions

2006-07-13 Thread Eelco Hillenius
Hello, It is not necessary in from 1.2 on to pre-register shared resources. The big reason to loose that requirement - besides convenience - is the constant classloader headache pre-registering gave us. Unfortunately, there is no rock-solid mechanism to get all the contents of a package in Java,

Re: [Wicket-user] tree model

2006-07-14 Thread Eelco Hillenius
It inherited that problem from Swing's Tree component. Don't ask me why, but even though there is this TreeNode interface, Swing's Tree is not really usuable with anything else than DefaultMutableTreeNode. Unless I missed something. Eelco On 7/13/06, Арву Оетук [EMAIL PROTECTED] wrote: When I

Re: [Wicket-user] Mounting the tree component

2006-07-14 Thread Eelco Hillenius
Yeah, that should be doable. Only thing is that the tree has to use bookmarkable links for the selection and fold/unfold items, and - if you really want your tree to be independent from any prior session state - you have to implement that tree such that it can construct itself in the proper state

Re: [Wicket-user] Mark up inheritance question

2006-07-14 Thread Eelco Hillenius
Did you try using the markup inheritance facility of Wicket? http://www.wicket-wiki.org.uk/wiki/index.php/Markup_inheritance Eelco On 7/11/06, Jin Zhu [EMAIL PROTECTED] wrote: Hi, I have a child class B inheriting from a modal window with certain functionality A. With the exception of a

Re: [Wicket-user] Page Expired Error on pages containing Link and PagingNavigator

2006-07-14 Thread Eelco Hillenius
We'd need a bit more detail on your setup/ configuration etc. Does the problem occor with all web browsers, or just a particular? Wicket supports using the back button out-of-the-box, and page expiry certainly points to something going wrong in your web app. Eelco On 7/12/06, [EMAIL PROTECTED]

Re: [Wicket-user] wicket.markup.html.include.Include / encoding error

2006-07-14 Thread Eelco Hillenius
You have to use a reader for that instead of an inputstream. See Java IO's documentation for more on that. Eelco On 7/11/06, Nino Wael [EMAIL PROTECTED] wrote: Hi Im a little curious about this. I have an file stream which is delivered(actually a html file) to me, I then write the file

Re: [Wicket-user] Playing with models:)

2006-07-14 Thread Eelco Hillenius
IModel#getObject is called anytime a component accesses it. Basically, you should never depend on that method getting called a fixed number of times; it is not designed for that. Typically if you need to do heavy operations such as loading data from a database, you should use detachable models. A

Re: [Wicket-user] wicket.markup.html.include.Include / encodingerror

2006-07-14 Thread Eelco Hillenius
Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: 14. juli 2006 09:19 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] wicket.markup.html.include.Include / encodingerror You have to use a reader

Re: [Wicket-user] Application Navigation Control

2006-07-14 Thread Eelco Hillenius
Sorry I couldn't resist, but... JSF's navigation model elegant? I really don't see that. Imo it is in fact one of the best proofs that JSF is ill designed. First of all, there is abstraction. If you want a JSF like navigation model, please go ahead and implement that. A couple of classes are

Re: [Wicket-user] Image processing Error

2006-07-14 Thread Eelco Hillenius
It's annonymous classes biting you. Your instance of RenderedDynamicImageResource has an implicit reference to Image, which isn't serializable (and which isn't something you want to keep as component state anyway). To fix, try to move the image creation to the render method, so that no references

Re: [Wicket-user] DatePicker winns over setOutputMarkupId(true)?

2006-07-14 Thread Eelco Hillenius
Could you please attach that to a bug report? Thanks, Eelco On 7/13/06, Martin Funk [EMAIL PROTECTED] wrote: Hi, I'd like to update a TextField in a Form that is connected to a DatePicker. But somehow this does not work. My first impression is that DatePicker winns over the

Re: [Wicket-user] wicket.markup.html.form.CheckBoxvswicket.ajax.form.AjaxFormComponentUpdatingBehavior = not working?

2006-07-14 Thread Eelco Hillenius
I think you need to use AjaxFormComponentUpdatingBehavior so that your model will automatically updated. Eelco On 7/14/06, Nino Wael [EMAIL PROTECTED] wrote: Ok, np just switched back to checkbox and wrote this: cb_HeleLandet.add(new AjaxEventBehavior(onclick) { protected void

Re: [Wicket-user] Possible session issue in my app?

2006-07-15 Thread Eelco Hillenius
Where do you store which user is currently selected? In the wicket-examples project, there are several examples of how you could do this, e.g. the library example. And maybe wicket-auth-roles might give you some ideas too. Do you maybe use a static reference to your user? A singleton that stores

Re: [Wicket-user] Wicket adoption

2006-07-15 Thread Eelco Hillenius
Hi, I can only give you a couple of sites that I know for sure wouldn't mind to be referenced. Teachscape (in progress): www.teachscape.com (65,000+ users, multiple man years development) Servoy: www.servoy.com Finan: www.finan.nl (financial analyses product, market leader in Holland) Several

Re: [Wicket-user] More CSS support in wicket?

2006-07-15 Thread Eelco Hillenius
Could you please be more specific to what kind kind of additional support you would like to see? Could you give a few end-user (from the perspective of framework users of course) examples of what you'd like? Eelco On 7/15/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: i think wicket needs to

Re: [Wicket-user] Possible session issue in my app?

2006-07-15 Thread Eelco Hillenius
Yeah, like I said, you probably actually work on the same data with different sessions. Likely, you use a static reference or a singleton somewhere for the currently logged on user. Eelco On 7/15/06, Steve Moitozo [EMAIL PROTECTED] wrote: I get the same behavior using two different computers

Re: [Wicket-user] Wicket Hibernate Application Transactions

2006-07-15 Thread Eelco Hillenius
I never actually used 2, so I wouldn't know of problems, but 1 is more space efficient, while 2 is not that much resource (processor, database) efficient, so 1 would have my preference anyway. I think 3 makes sense if you have a good business reason for that. But I haven't seen a lot of actual

Re: [Wicket-user] Fwd: help,

2006-07-15 Thread Eelco Hillenius
You wouldn't do that component by component, but rather for your whole page. One way of setting the encoding of a page is to make this the first line of your page markup: ?xml version=1.0 encoding=UTF-8 ? Some discussion is here http://www.wicket-wiki.org.uk/wiki/index.php/Markup_encoding too,

Re: [Wicket-user] Google IG - How to

2006-07-15 Thread Eelco Hillenius
If you rip the trick they are using, it is trivial to implement such a thing e.g. as a panel or border. No need for extra server side state either, except for if you want to persist the layout for any next session to pick up. Eelco On 7/15/06, Bruno Borges [EMAIL PROTECTED] wrote: The

Re: [Wicket-user] Wicket Hibernate Application Transactions

2006-07-16 Thread Eelco Hillenius
On 7/16/06, Iman Rahmatizadeh [EMAIL PROTECTED] wrote: The problem with #1 is, first its a bit ugly, Working with objects directly is always the nicest of course. In many cases, where you just have to display some read-only information, you don't really need to pass the model all the time

Re: [Wicket-user] Wicket Hibernate Application Transactions

2006-07-16 Thread Eelco Hillenius
But that really depends on how you structure your models. If you use models that do the loading once on attach, cache the results, and then unload on detach, you wouldn't have the double loading if you share the model. Instead of passing ids around, you pass around the model of course. Besides

Re: [Wicket-user] Wicket Hibernate Application Transactions

2006-07-16 Thread Eelco Hillenius
But you can pass the models too. It's not only a choice of either passing in the object or their ids. And even if you would go through the persistence layer, within the same transaction I think Hibernate caches your objects too, so that would just be a very slight overhead. Eelco On 7/16/06,

Re: [Wicket-user] tree model

2006-07-16 Thread Eelco Hillenius
in DefaultMutableTreeNode. Eelco On 7/14/06, Eelco Hillenius [EMAIL PROTECTED] wrote: It inherited that problem from Swing's Tree component. Don't ask me why, but even though there is this TreeNode interface, Swing's Tree is not really usuable with anything else than DefaultMutableTreeNode. Unless I missed

Re: [Wicket-user] Modal Dialog

2006-07-17 Thread Eelco Hillenius
Not at this time. Shouldn't be too hard to do, but we're still waiting for someone to contribute it :) Eelco On 7/17/06, Арву Оетук [EMAIL PROTECTED] wrote: Hi all. Is component like Modal Dialog exist in wicket framework? Dmitry.

Re: [Wicket-user] More CSS support in wicket?

2006-07-17 Thread Eelco Hillenius
to bug yu guys with RFC ...thanks eelco On 7/15/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Could you please be more specific to what kind kind of additional support you would like to see? Could you give a few end-user (from the perspective of framework users of course) examples of what you'd

Re: [Wicket-user] More CSS support in wicket?

2006-07-17 Thread Eelco Hillenius
That package is just a few months old :) If you come up with some useful contributions specific for CSS, I'd be happy to incorporate them. Eelco On 7/17/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: really?...shit!!..thanks On 7/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Did you

Re: [Wicket-user] Playing with models:) / wicket.extensions.markup.html.form.palette.Palette;

2006-07-17 Thread Eelco Hillenius
When is setObject supposed to get called, Cause I only see it get called during construct? Whenever a (form)component has to update it's model contents. Or if you call setObject explicitly of course :() Typically, a component update is done by Form, which visits all it's children and calls

Re: [Wicket-user] WebMarkupContainer

2006-07-17 Thread Eelco Hillenius
I'm not clear on what your question is. Keep in mind that you have to call setOutputMarkupId(true) on any component you want to target (render) with ajax requests. Eelco On 7/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All I am calling WebMarkupContainer on Ajax call . but

Re: [Wicket-user] form's onsubmit handler

2006-07-17 Thread Eelco Hillenius
Yeah do it like that. I wouldn't know why attaching attribute modifiers to your form didn't work though... Eelco On 7/17/06, Matej Knopp [EMAIL PROTECTED] wrote: I think you should add Button(s) to the form and add onclick attribute modifier on them (or right on to the markup input

Re: [Wicket-user] WebMarkupContainer

2006-07-17 Thread Eelco Hillenius
Maybe you could send some code of what you are trying to do... Eelco On 7/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All I have WebMarkupContainer code in this WebMarkupContainer there is list View I am tragting this WebMarkupContainer on Dropdown ajax call but there is previous

Re: [Wicket-user] bookmarkable ajax link

2006-07-17 Thread Eelco Hillenius
I think Matej and Igor have been working on that. Maybe they can comment on this. Eelco On 7/17/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, I have an AjaxLink that opens a modal dialog (which is implemented as an iframe that displays the URL of that link). The link is embedded inside a

Re: [Wicket-user] form's onsubmit handler

2006-07-17 Thread Eelco Hillenius
It works, sorry, I was not paying enough attention. In the first phase I wasn't looking to the right form, the the second phase I forgot to add the 'return' in the 'onsubmit' form handler Correct is *add(new SimpleAttributeModifier(onsubmit, return confirmSubmission()));* and it works with

Re: [Wicket-user] working with plugins

2006-07-17 Thread Eelco Hillenius
I'm afraid I don't get the request. Could you please create a feature request with a patch, clearly explaining what is wrong today and what your patch fixes? Thanks, Eelco On 7/17/06, Ittay Dror [EMAIL PROTECTED] wrote: Hi, We're using plugins similar to Eclipse's to decouple functionality.

Re: [Wicket-user] Wicket Hibernate Application Transactions

2006-07-18 Thread Eelco Hillenius
I don't think models have to be implementation details. Sometimes that makes sense, and in that case I usually like to embed the model class in the component itself. But lots of other times, you can make the model so that it can easily be reused by other components, possibly at the same time. This

<    10   11   12   13   14   15   16   17   18   19   >