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

2008-06-04 Thread Eelco Hillenius
On Wed, Jun 4, 2008 at 11:48 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i dont think it exposes anything, or that anything is flawed. the > component provides a slot for a default model - it is there totally > out of convinience. i think what is flawed here is that we tied the > two types via g

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

2008-06-04 Thread Eelco Hillenius
> Well... I haven't actually hooked into the SessionStore but instead have > implemented a special PageMapEntry that stores a serialized page with my > "special serialization" (hooked in by overridden getPageMapEntry(...) in my > BasePage). The special serialization takes place when the page is put

Re: Does wicket favor composite session obj?

2008-06-04 Thread Eelco Hillenius
> My question is , if I don't want to use HttpSession (string property is > error-prone) > I prefer the wicket way. > I found if I go the wicket way , it results in the "composite session > object" , it is correct ? > > PageAsetting settingA = ((MySession)getSession()).getPageAsetting(); > PageBset

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

2008-06-05 Thread Eelco Hillenius
ere is wrapping since we no longer have a setmodel...something to >>>> think about >>>> >>>> -igor >>>> >>>> On Thu, Jun 5, 2008 at 12:53 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: >>>>> like matej already

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

2008-06-05 Thread Eelco Hillenius
On Thu, Jun 5, 2008 at 10:20 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > yes. thats what i meant by wrapping. when/if we evaluate this we can > obviously put more thought into what it will effect and how to make it > all work. right now it was just a two minute idea i had, and it may > yet forev

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

2008-06-05 Thread Eelco Hillenius
> Right, we need to figure out what we're going to do for 1.4. Have we > decided on that? It seems like a lot of folks like the idea of making > the model methods non-final on Component, thereby allowing components > to "type themselves" by overriding them (using JDK5 covariant return > types) wh

Re: ListChoice Crashing on 13th Load

2008-06-05 Thread Eelco Hillenius
On Thu, Jun 5, 2008 at 8:44 AM, John Krasnay <[EMAIL PROTECTED]> wrote: > You are not closing your JDBC connections, and are therefore you are > running out of connections in your connection pool. Yep, probably something like that. > I would STRONGLY advise against using raw JDBC. You have no ide

Re: How reliable Validators are?

2008-06-06 Thread Eelco Hillenius
> But can you please explain, why wouldn't you use validator for this? I think that's just personal preference. Validators are reusable, while putting a check in onSubmit isn't. Whether that matters depends on your project and the context you do the check in. Eelco --

Re: How reliable Validators are?

2008-06-06 Thread Eelco Hillenius
On Fri, Jun 6, 2008 at 1:22 PM, Sergey Podatelev <[EMAIL PROTECTED]> wrote: > Well yeah, actually, I'm using Wicket-Spring, so onValidate() takes just > about two lines: > > protected void onValidate(validatable) { > if (((MyApplication) > Application.get()).getUserDao().verifyPassword(userId, pas

Re: Ajax Only application - ffeedback appriciated

2008-06-06 Thread Eelco Hillenius
> Ive been developing an ajax only application in wicket for a little more > than 3 months. Users can open "windows" in a multidocument desktop-style > fashion for various entities and in these "windows/tabs" perform different > actions and apply different views. Further they can change views forth

Re: Status of Wicket and Groovy?

2008-06-08 Thread Eelco Hillenius
> I know Wicket makes it very easy to develop components and there are some > component libraries (e.g. Wicket Stuff) but it doesn't seem like there are > as many (high level components) as Django or that they are as easy to > integrate (that's just my perception). I don't know about Django, but I

Re: PackageResource - why does'nt get Locale directly from Session ?

2008-06-08 Thread Eelco Hillenius
That's just by design to not make the assumption where the locale comes from. But you can override the class and pass Session.get().getLocale() and you're done :-) Eelco On Fri, Jun 6, 2008 at 9:17 AM, Stefan Simik <[EMAIL PROTECTED]> wrote: > > Hi boys, > > I would like to ask, why PackageResour

Re: Create WebPage inside a TimerTask Class

2008-06-08 Thread Eelco Hillenius
You'll need to set the whole thread up like you would regularly do when you want to construct and render a Wicket page in a separate thread. After that, it should just work. If it doesn't even execute your log statement, I suspect something else is wrong. Do you have a stack trace to share? Eelco

Re: Wizard Form problems in IE

2008-06-08 Thread Eelco Hillenius
No ideas, sorry. Wizard seems to be working fine for us. I'm afraid you'll have to dig deeper. Eelco On Thu, Jun 5, 2008 at 4:34 PM, Michael Laccetti <[EMAIL PROTECTED]> wrote: > > I've implemented a Wizard that uses dynamic steps to process things based on > user input. Everything works under

Re: Redirect problem

2008-06-08 Thread Eelco Hillenius
No idea. Check if the source looks good and what the proxy does. It sounds like the problem is with the proxy somehow. Eelco On Fri, Jun 6, 2008 at 4:12 AM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > Hi all, > > Has anyone ever deployed a Wicket app at EATJ (www.eatj.com)? I did > last week an

Re: How can I customize Autocomplete?

2008-06-08 Thread Eelco Hillenius
> I am bumping this because this is an issue I know people are interested in. I > am not the only one wanting the choices for autocomplete to be shown on a > null value. I know technically you have this fixed in 1.4-m2 but you still > have to press the down arrow. I would like the choices to show u

Re: Stateless AutoComplete

2008-06-08 Thread Eelco Hillenius
On Thu, Jun 5, 2008 at 1:53 PM, nate roe <[EMAIL PROTECTED]> wrote: > I'm using Wicket 1.2, and it appears that when a user's session times out, > my implementation of AbstractAutoCompleteTextRenderer stops working. I > assume that when the session times out, the server returns errors and the > pa

Re: Status of Wicket and Groovy?

2008-06-08 Thread Eelco Hillenius
> IMHO they cannot be easily used together at the moment. Hmmm, interesting. My only experience with Groovy is years ago, and back then we abandoned and switched to PNuts (which I guess should work with Wicket as well) due to Groovy's immaturity back then. Dima, are these problems hard to overcom

Re: Bookmarkable pages and wicket session life-cycle

2008-06-08 Thread Eelco Hillenius
> I have got a question on bookmarkable page and if wicket session's > life-cycle has any relation with it. > > Actually i have a couple of bookmarkable pages in my application (mounted > through queryurlcodingstrategy). > > For scenarios where the session-expiry has reached, invoking any action on

Re: Status of Wicket and Groovy?

2008-06-09 Thread Eelco Hillenius
> Anonymous classes aren't needed in Groovy. In Groovy, you have closures. Dmitry hinted in his reply that closures can't be serialized by default... Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: PackageResource - why does'nt get Locale directly from Session ?

2008-06-09 Thread Eelco Hillenius
We'd have to have a good reason the break the API. And it's just something you'd prefer to be different, but it doesn't give you troubles you can't get around, right? :-) Eelco On Mon, Jun 9, 2008 at 3:21 AM, Stefan Simik <[EMAIL PROTECTED]> wrote: > > Oh yes :-) > I think, that taking Locale fro

Re: AutoCompleteTextField scrolls entire page

2008-06-09 Thread Eelco Hillenius
On Mon, Jun 9, 2008 at 10:58 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > Marcus - I did NOT resolve it yet - not getting much help here except > for talk about some mystical 1.3.4 release I can't get my hands on. It > breaks with everything we wrote here involving AutoComplete - and all of > it

Re: Status of Wicket and Groovy?

2008-06-10 Thread Eelco Hillenius
> Sorry, I used the wrong term there. I didn't mean specifically components > as in "parts of a dynamic Web page" but rather what Django calls > "applications" (which really are components in the more general sense of the > word - how's that for confusing ;-). > > Django Web applications can be co

Re: Status of Wicket and Groovy?

2008-06-10 Thread Eelco Hillenius
>> If there's any framework that let's you develop mini-applications >> seamlessly, it's Wicket. > > If one can easily build a group of components that will appear on different > pages and work together collaboratively as a whole functional unit that's > great. You certainly can, it's all a matter

Re: wicket url links

2008-06-11 Thread Eelco Hillenius
> wicket 1.2 has component#forUrl(). what to use in 1.3? urlFor(Component) (can also be found on RequestCycle). Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Replace a fragment with AjaxLink

2008-06-12 Thread Eelco Hillenius
> OK I figured out what the problem is. > If you want to replace one fragment with another over AJAX, then they must > have the same "markupId"s. Yep. Not just for Ajax though... this is true for all component replacement. Eelco ---

Re: Making Component easier to Generify

2008-06-12 Thread Eelco Hillenius
> However, I am *in no way asking* the developers to reverse the "final" > policy. We actually relaxed that way more as we felt more confident about Wicket's API and as motivated requests came in. Personally, I think using final or not should be a deliberate choice (not automatic). If you never us

Re: Making Component easier to Generify

2008-06-13 Thread Eelco Hillenius
On Thu, Jun 12, 2008 at 2:06 PM, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: > Some useful design patterns like Decorator don't work with final methods. > Wicket components sometimes have overridable factory methods for child > components. The decorator pattern could be very useful here, because y

Re: Making Component easier to Generify

2008-06-13 Thread Eelco Hillenius
... > this into consideration with the next major API ... revision (1.5) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Making Component easier to Generify

2008-06-13 Thread Eelco Hillenius
> True, it's been weighing the disadvantages vs the advantages, and so > far, ensuring that we wouldn't paint ourselves in the corner too > quickly won over flexibility. To make this 'painless' though, we'd probably need a whole bunch of interfaces. We've looked into moving to a more interface bas

Re: Making Component easier to Generify

2008-06-13 Thread Eelco Hillenius
> It's good to know that when you reach the same conclusion it is a deliberate > one. > BTW, interfaces are useful for this, but not a necessity. Or am I the only > one thinking that No, I agree with you mostly. However, I was trying (back then) to define separate dimensions of components (the fac

Re: isVisible vs. setVisible

2008-06-16 Thread Eelco Hillenius
> http://www.javaworld.com/javaworld/jw-09-2003/jw-0905-toolbox.html Personally, I think that article is a bit far fetched. For a whole bunch of reasons, immutability should often be preferred, but at the same time Wicket is an example of a framework where mutability plays a big role (or we would

Wicket + Scala + Eclipse hack

2007-12-13 Thread Eelco Hillenius
Hi, I saw on message from someone having problems to get Wicket + Scala + Eclipse working together on one of the zillion mailing lists I'm on, but I don't remember which one, nor can I find it back with Google. Anyway, in case that person or anyone else with the same problems is reading this list,

Re: Session.invalidate()

2007-12-16 Thread Eelco Hillenius
> Cool, thanks! As you can probably tell, I am new to Wicket, and haven't quite > figured out all its nuances yet! So far, I love it though! Is there a good > article about nuances such as the difference between > setResponsePage(MyPage.class) and setResponsePage(new MyPage()) and/or one > that exp

Re: DatePickerSettings and Time?

2007-12-16 Thread Eelco Hillenius
On Dec 16, 2007 1:55 PM, Karen Schaper <[EMAIL PROTECTED]> wrote: > Hello, > > I am looking for a component that I can use that will allow users to enter a > date and a time. > > I was hoping to use the following 2 classes to accomplish this. > > wicket.extensions.markup.html.datepicker.Dat

Re: dynamic url

2007-12-17 Thread Eelco Hillenius
> I'm using wicket to develop an online exam system and its important that > users dont open new tabs in the same browser and start answering different > question papers. Is there a way to stop this with wicket. You're really talking about a limitation (or lack thereof) of how browsers work. An at

Re: AjaxEditableLabel not saving

2007-12-19 Thread Eelco Hillenius
> > > > I am this exception when editing an AjaxEditableLabel : > > > > java.lang.IllegalAccessError: tried to access method > > org.apache.wicket.Component.onModelChanging()V from class > > org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1 > > at > > > > I had the same problem

Re: Wicket: Deliver Your Webapp On Time

2007-12-21 Thread Eelco Hillenius
Nice. You mind adding that reference to the WIKI? Eelco On Dec 21, 2007 4:20 AM, William Hoover <[EMAIL PROTECTED]> wrote: > http://www.alphacsp.com/Events/JavaEdge-2007/Presentations/wicket-deliver-your-webapp-on-time.pdf > > >

Re: How to call the clear() method on MarkupCache class from my webpage

2007-12-21 Thread Eelco Hillenius
Sounds like you should look at the CustomResourceLoadingApplication example, particularly at PageWithCustomLoading. Eelco On Dec 19, 2007 3:15 PM, venky221 <[EMAIL PROTECTED]> wrote: > > Hi, > I am trying to clear the markupstream as my markup content will keep > changing but the container remai

Re: [OT] Merry Christmas to the wicket community

2007-12-21 Thread Eelco Hillenius
On Dec 21, 2007 11:05 AM, Per Newgro <[EMAIL PROTECTED]> wrote: > I had alot fun with you this year. Wicket seems to become a real important > framework (Maybe it is already :-). I'm new to web-development and i tried a > bit with jsf, jsp, and and and. But since i found wicket, it's realy fun to >

Re: File browser component in wicket

2007-12-24 Thread Eelco Hillenius
> To save time (or if you need some hints), you should be able to find several > implementations of some sort of "FileSystemTreeModel" on Swing related sites > via Google: http://java.sun.com/products/jfc/tsc/articles/jtree/ this is > quite good, iirc, but it's many years since I read it, probabl

Re: wicket.WicketRuntimeException: Unable to decrypt the text ... ???

2007-12-24 Thread Eelco Hillenius
On Dec 21, 2007 9:29 AM, fattymelt <[EMAIL PROTECTED]> wrote: > > running wicket 1.2.6 and getting the following error. This is somehow > triggered (I wish I had a more specific test case) by my login form. But > what is really strange is that it isn't just appearing on form submission. > Once I se

Re: Turbine and Wicket co-existence while migrating frameworks

2007-12-24 Thread Eelco Hillenius
> About 3 1/2 yrs ago we chose Turbine as our web application framework. It has > served us well and we've grown an application using it. Last summer we > evaluated our options and have decided to give wicket a try. > > Given the complexity of our app it's not very desirable to make a clean > switc

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-28 Thread Eelco Hillenius
> I start tomcat with: > -Xms512M -Xmx768M > > Should I consider something else? Yes, use a profiler. Everyone who is working on a production system should regularly use a profiler and load testing tool to ensure there are no memory leaks etc. In my experience and if you search threads in this lis

Re: Happy new year list!

2008-01-01 Thread Eelco Hillenius
Cheers! Same to you. Eelco On Jan 1, 2008 12:36 PM, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]> wrote: > Happy NEW YEAR 2008 WICKET > > f(t) > > > On Jan 1, 2008 1:02 AM, Jörgen Persson <[EMAIL PROTECTED]> wrote: > > > Regards, > > > > Jörgen > > > >

Re: Wickettester and session?

2008-01-02 Thread Eelco Hillenius
On Jan 2, 2008 2:28 PM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Bump on this one.. If no-one is reacting, you can best open a JIRA issue for it. It helps to have a test case that proves the issue attached to it. Cheers, Eelco ---

Re: jetty and eclipse

2008-01-02 Thread Eelco Hillenius
On Jan 2, 2008 2:48 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > why dont you follow the directions on this page [1], it works for me every > time > > http://wicket.apache.org/quickstart.html Alternatively, you could look at http://chillenious.wordpress.com/2007/12/23/and-finally-here-is-a-new-

Re: Wicket Session and threading

2008-01-03 Thread Eelco Hillenius
> Am I right in concluding that I must make my wicket session thread-safe? > > That is, if I want to store an "int" value in the session, I should use > a volatile or AtomicInteger? Yes. We try our best to make pages/ components as thread safe as possible, but making the session thread safe would

Re: Wicket Session and threading

2008-01-03 Thread Eelco Hillenius
You're right, we should mention this in WIA. Would you mind leaving a comment on the author forum? http://www.manning-sandbox.com/forum.jspa?forumID=328 Cheers, Eelco On Jan 3, 2008 11:10 PM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: > > Eelco Hillenius wrote: > >>

Re: Is it possible to use wicket without having any html page?

2008-01-04 Thread Eelco Hillenius
On Jan 4, 2008 7:35 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > then just use Echo2. Why make Wicket into Echo2 when you can use that? > > Wicket has a particular niche and Echo2 has its niche. There is no > sense into turning one into the other. +1! Eelco -

Re: Wicket Session and threading

2008-01-04 Thread Eelco Hillenius
On Jan 5, 2008 5:02 AM, Frank Bille <[EMAIL PROTECTED]> wrote: > What about (i)frames with pages being loaded in every one of them at the > same time? Or images that are resources for instance. Eelco - To unsubscribe, e-mail: [E

Re: Wicket Session and threading

2008-01-04 Thread Eelco Hillenius
On Jan 5, 2008 5:15 AM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > Yeah that makes sense. Since we're sorta on the topic, I thought I would > ask this question. As the User object goes from being initially registered > to its profile being edited, how does one update the User in the session and > th

Re: Problems Refreshin a Image from AjaxLink

2008-01-04 Thread Eelco Hillenius
> Wicket in Action is definitely a long way from finished Not really... we're working on the last chapter now. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANNOUNCE] Apache Wicket 1.3 released

2008-01-04 Thread Eelco Hillenius
And thanks team and community. I feel that Apache Wicket is a text book example of a successful open source project: a diverse and enthusiastic team who don't feel above the rest of the community, and a user base with plenty of people helping out with the lists, issues, WIKI, etc. Thanks all! Eelc

Re: Clear Localizer Cache

2008-01-05 Thread Eelco Hillenius
Btw, that method is also exposed via JMX if you use that. Eelco On Jan 5, 2008 9:12 PM, marcus dickerhof <[EMAIL PROTECTED]> wrote: > Thanks! It worked! > > Marcus > > 2008/1/5, Matej Knopp <[EMAIL PROTECTED]>: > > > > > Application.getResourceSettings().getLocalizer().clearCache() might do > > t

Re: [Wicket 1.2.6] How to get Wizard's form from inside a WizardStep?

2008-01-05 Thread Eelco Hillenius
Yeah, the form is initialized in the Wizard's init method, not right away during construction. You could try patching the wizard and creating the form in the constructor instead and see if that solves your problem and propose a patch if it does. I wouldn't mind having another wizard example in wick

Re: [Wicket 1.2.6] How to get Wizard's form from inside a WizardStep?

2008-01-05 Thread Eelco Hillenius
Btw, typically you get the form from the Wizard (getForm). But obviously, it has to be created before that gives anything other than null :-) Eelco On 1/5/08, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Yeah, the form is initialized in the Wizard's init method, not right

Re: Overriding panel markup

2008-01-05 Thread Eelco Hillenius
> I wondering what's the best approach to overriding the markup for a > panel. Is there a method I can override or should I just extend the > Panel? You should extend it. You *could* use a custom resolution (see the custom markup example in wicket-examples), but extending the class is easier to im

Re: Bug in MultiFileUploadField

2008-01-05 Thread Eelco Hillenius
If you have a reproducible case, please attach this to an issue. Cheers, Eelco On 1/5/08, Suad AlShamsi <[EMAIL PROTECTED]> wrote: > I was able to reproduce the same bug as well. I am using IE 6 > > > Igor Vaynberg wrote: > > On Jan 5, 2008 1:03 AM, Franklin Antony <[EMAIL PROTECTED]> wrote: > >

Re: Wicket/Ajax history support

2008-01-05 Thread Eelco Hillenius
On 1/4/08, Sam Hough <[EMAIL PROTECTED]> wrote: > > What is the best bet for supporting the back button and bookmarking in Ajax > heavy Wicket 1.3? > > I saw this ticket which I think covers what I'm on about: > http://issues.apache.org/jira/browse/WICKET-271 > > So far we are thinking about markin

Re: Wicket/Ajax history support

2008-01-06 Thread Eelco Hillenius
> Anyway, all I can say is I really like Wicket and I'm sorry if I offended > anybody. I don't think you did. We've got thick skin most of the time :-) > I love a frank tech debate We too. No worries. Eelco - To unsubscribe, e

Re: wicket bench 0.5.0

2008-01-06 Thread Eelco Hillenius
Thanks for keep working on this! Eelco On Jan 6, 2008 7:57 PM, Joni Freeman <[EMAIL PROTECTED]> wrote: > Hello! > > There's a new version of a plugin: > http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench > > This is mostly a maintenance release: Eclipse 3.3 support and Wicket > depende

Re: consistent layout ( layout manager )

2008-01-07 Thread Eelco Hillenius
On Jan 7, 2008 7:01 PM, Danilo Barsotti <[EMAIL PROTECTED]> wrote: > Exist other method do make this, Without using *inheritance of objects.* > Like tiles, sitemash or other method. Yeah, using panels. See the template example. Other than that... you can use sitemash if you want, but it is not ho

Re: Date validation

2008-01-08 Thread Eelco Hillenius
What version of Wicket/ which component? Eelco On Jan 8, 2008 9:34 PM, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > Hi > > I'm having problems with validation on a date field. Is there a easy > way to validate user input on date fields? If user types a invalid > date like "32-01-2008" I got a

Re: Date validation

2008-01-08 Thread Eelco Hillenius
> Object date = > converter.convert(component.getModelObject(),Locale.getDefault()); > } catch (Exception e){ > error(component); > > } > } > } > > > On Jan 8, 2008 12:11 PM, Eelco Hillenius <[EMAIL

Re: Force page rendering ?

2008-01-10 Thread Eelco Hillenius
You use those exceptions when you want to interrupt the flow/ when you don't want the code beyond your choice to be executed. Eelco On Jan 10, 2008 12:15 PM, mfs <[EMAIL PROTECTED]> wrote: > > Thanks... > > So what i would want to know as well is to when would it be recommended to > use this to f

Re: Resizable and reorderable grid components

2008-01-10 Thread Eelco Hillenius
Very nice components! Does it come with a user guide? Eelco On Jan 10, 2008 12:42 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > I am pleased to announce that the first beta version of TreeGrid and > DataGrid components is available. > > Amongst other things these support column resizing and reorde

Re: Adding breadcrumbs

2008-01-11 Thread Eelco Hillenius
> Hello Alan, > > yes, I know that example. But as I wrote I'm not using Panels but Pages. And > I don't understand that example very well anyway. Maybe a simpler example > would help. It depends on what you think are breadcrumbs. The breadcrumbs component in wicket-extensions (which is used in th

Re: WicketServlet vs. WicketFilter

2008-01-11 Thread Eelco Hillenius
On Jan 11, 2008 5:33 PM, Maris Orbidans <[EMAIL PROTECTED]> wrote: > > > also wicket filter is much better at handling /* mapping > > > The only problem with this mapping is that filter is invoked for all > requests that fetch static web resources (css, images, etc). > I may be wrong but I don't th

Re: Adding breadcrumbs

2008-01-11 Thread Eelco Hillenius
> Could you give me code examples how to do that? Not without having to spend a couple of hours on it, and I'm afraid I don't have time for that now, sorry. Best rest assured, it is doable... just fire up that grey matter of yours ;-) Eelco ---

Re: TreeGrid and DataGrid open source

2008-01-11 Thread Eelco Hillenius
On Jan 11, 2008 5:08 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I just want to let you know that the TreeGrid and DataGrid components > have been released under the Apache 2.0 license. That was very quick! Already rich after one day? Eelco -

Re: Adding breadcrumbs

2008-01-12 Thread Eelco Hillenius
On Jan 12, 2008 3:25 AM, Thomas Singer <[EMAIL PROTECTED]> wrote: > Breadcrumbs should not list the history, but the hierarchy of the pages. See > http://www.useit.com/alertbox/breadcrumbs.html Interesting. Had I read the article before, it would probably have had a big effect on the design of the

Re: Resizable and reorderable grid components

2008-01-12 Thread Eelco Hillenius
On Jan 12, 2008 12:50 PM, Evan Chooly <[EMAIL PROTECTED]> wrote: > I completely agree, actually. I'm not opposed to the idea it just kinda > struck me as odd at the time. I'm not entirely sure why, but there it is. > Having one place even as a jumping off point would certainly help adoption. > I

Re: IConverterLocatorFactory no longer exists?

2008-01-12 Thread Eelco Hillenius
Yup, in your application override newConverterLocator and let it return the IConverterLocator instance you want. Eelco On Jan 12, 2008 3:28 PM, Karen Schaper <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying upgrade some code from the wicket-1.3.0-incubating-SNAPSHOT.jar > to the latest wicket.

Re: IConverterLocatorFactory no longer exists?

2008-01-12 Thread Eelco Hillenius
On Jan 12, 2008 3:52 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Yup, in your application override newConverterLocator and let it > return the IConverterLocator instance you want. http://cwiki.apache.org/WICKET/migrate-13.html states this btw. In case you run into other thing

Re: IConverterLocatorFactory no longer exists?

2008-01-12 Thread Eelco Hillenius
On Jan 12, 2008 5:20 PM, Karen Schaper <[EMAIL PROTECTED]> wrote: > Thanks for pointing out this reference. Sorry though I should have been > able to find this myself. No problem. Just mentioned that to save you some time in case you stumble against more such cases. Eelco --

Re: Problem with Wicket and Guice

2008-01-13 Thread Eelco Hillenius
> I'm not sure about your other suggestion: InjectionHolder.inject(this), > mainly because I somehow need to get hold of the Injector to pass it to the > InjectionHolder first, and I don't know how (it's not set by Wicket). InjectorHolder.getInjector().inject(this); It is set by Wicket if you ini

Re: InjectorHolder has not been assigned an injector error

2008-01-13 Thread Eelco Hillenius
> I'm guessing that the call to newConverterLocater happens before Spring > injection. Yeah. Too bad, maybe in hind sight it would have been better to create it lazily. > Any ideas on how to fix this? I think just creating the SpringComponentInjector in your webapp's constructor instead of in th

Re: InjectorHolder has not been assigned an injector error

2008-01-13 Thread Eelco Hillenius
> Tried putting "addComponentInstantiationListener( new > SpringComponentInjector(this );" > > into the constructor of Application which extends > AuthentationWebApplication... but I now get the following error. > > java.lang.IllegalStateException: servletContext is not set yet. Any code in > your

Re: AjaxEditableLabel onClick

2008-01-13 Thread Eelco Hillenius
> Is there a way for me to go into "Edit Mode" on an AjaxEditableLabel without > clicking on the actual label? I would like to have an Edit link or button > somewhere that will put the field in edit mode when clicked by the user. The best thing to do for you is to dig into how the component is imp

Re: InjectorHolder has not been assigned an injector error

2008-01-13 Thread Eelco Hillenius
> > Could you please open a JIRA issue for this? We should probably create > > the converterLocator and possibly the session store lazily instead of > > in Application#internalInit. > > Sure. Thanks. I looked into it (https://issues.apache.org/jira/browse/WICKET-1279) and came to t

Re: the flow of wicket

2008-01-13 Thread Eelco Hillenius
> > Documenting Wicket's inner implementations and strategies, beyond its > > API, is desirable and a huge plus for hardcore developers. > > i wouldnt think hardcore developers would be afraid of setting a > breakpoint and walking the code. maybe one of them could even create a > wiki page - open s

Re: "java.lang.OutOfMemoryError: PermGen space" in tree table example

2008-01-14 Thread Eelco Hillenius
> This message comes from the fact the JVM can't allocate enough memory > to start the application. Or more specifically: to load your classes (which is the typical case). This also often happens when you e.g. use tomcat and deploy on a live instance time after time. Eelco --

Re: Wicket Web Beans 1.0 (final) Released

2008-01-14 Thread Eelco Hillenius
Congrats! Eelco On Jan 14, 2008 4:57 AM, Dan Syrstad <[EMAIL PROTECTED]> wrote: > Wicket Web Beans 1.0 (final) has been released. Wicket Web Beans (WWB) is an > Apache Wicket component toolkit for displaying and editing POJOs that > conform to the JavaBeans specification. Web pages are automatica

Re: Shout more about security advantages of Wicket?

2008-01-14 Thread Eelco Hillenius
Hi Sam, I'm actually trying to point this out in Wicket In Action. But go ahead and write a few blog entries ;-) Eelco On Jan 14, 2008 4:43 AM, Sam Hough <[EMAIL PROTECTED]> wrote: > > It has only just struck me how much more secure Wicket is out of the box than > struts, spring, GWT etc. The fe

Re: ServerSide Java Symposium

2008-01-14 Thread Eelco Hillenius
On Jan 14, 2008 2:00 PM, Nick Heudecker <[EMAIL PROTECTED]> wrote: > Looks like I'm going, probably to talk about Wicket. Ah, so you'll be in Matt's framework fight then? :-) Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Markup of type 'html' for component not found

2008-01-14 Thread Eelco Hillenius
On Jan 14, 2008 3:49 PM, ckuehne <[EMAIL PROTECTED]> wrote: > > Hi, > > I don't quite know what to do with the following debug message. The > AddPanel.html is definetely where > it should be (wicket bench finds it as well). I am also curious where the $3 > comes from? That means Wicket tries (but

Re: Replacement for 1.2's IApplicationSettings.getContextPath()?

2008-01-14 Thread Eelco Hillenius
The context path should automatically be resolved for you. Could you give just using relative paths a try? Eelco On Jan 14, 2008 1:35 PM, Scott Sauyet <[EMAIL PROTECTED]> wrote: > I'm finally converting from 1.2 to 1.3 and have gotten down to one > compilation error! > > I need to find a way to r

Re: image uploads and file locations

2008-01-14 Thread Eelco Hillenius
On Jan 14, 2008 11:21 AM, Sam Barnum <[EMAIL PROTECTED]> wrote: > Any suggestions or best practices on how to handle image uploads? > I'm planning on saving uploaded images as files (not BLOBs) and > serving up resized versions of the images. > > In particular: > > Is there a good "standard" place

Re: Problem with Wicket and Guice

2008-01-15 Thread Eelco Hillenius
> As it turns out in this case (see previous messages) it's not as easy as > this. The GuiceInjectorHolder that is created is stored in the metadata of > the application, and the only way to access it is something like: > > ((GuiceInjectorHolder) ((MyApplication) > MyApplication.get()).getMetaData(

Re: Wicket blog software

2008-01-17 Thread Eelco Hillenius
Nathan's blog - http://technically.us/code - is written with Wicket and Scala. I think you can get the source from his public SVN repo. Might make a good example/ starting point if you don't mind the Scala part :-) Eelco On Jan 17, 2008 8:09 AM, C. Bergström <[EMAIL PROTECTED]> wrote: > > On Thu,

Re: Update to wicketstuff-jquery - commit access?

2008-01-17 Thread Eelco Hillenius
You should give us your sourceforge id (the name, not the number), and if the original developers of wicketstuff-jquery (David Bernard and Xavier Hanin) agree, you can commit (probably a good idea to chat with with them first if they don't react on this thread). Thanks, Eelco On Jan 17, 2008 3:0

Re: Our experience with Wicket

2008-01-17 Thread Eelco Hillenius
Thanks for the write-up! And stay around for promoting the features you want :-) Eelco On Jan 17, 2008 3:37 PM, JulianS <[EMAIL PROTECTED]> wrote: > > We recently released the first version of our product based on Wicket (woo > hoo!). I've blogged about the experience > http://javathoughts.capesu

Re: Update to wicketstuff-jquery - commit access?

2008-01-17 Thread Eelco Hillenius
On Jan 17, 2008 4:04 PM, Edvin Syse <[EMAIL PROTECTED]> wrote: > > You should give us your sourceforge id (the name, not the number), and > > My id is: edvinsyse You're in. Cheers, Eelco - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Stateless pages and performance

2008-01-19 Thread Eelco Hillenius
On Jan 19, 2008 5:18 AM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > Hi guys, > > In the release notes, I read: "stateless pages and components for those > parts of your application that needs to scale to extremely large numbers of > users". > > Does somebody use this feature or is it somewhere d

Re: Update to wicketstuff-jquery - commit access?

2008-01-19 Thread Eelco Hillenius
> I'd also like to setup Bamboo for wicketstuff-jquery. Can you point me > in the right direction? We'd have to give you an account on that server I think. I'm not sure what our policy is when it comes to this. Martijn/ others? Eelco --

Re: We are adopting Wicket in our Organization

2008-01-20 Thread Eelco Hillenius
> I'd like to thank the authors of the framework for building such a fine > tool. After years of struts development, developing web applications with > Wicket is a breath of fresh air. Keep up the fine work. Good to hear it works well for you Robert. > I'll update this forum with our experience

Re: Different views in wicket

2008-01-21 Thread Eelco Hillenius
On Jan 21, 2008 9:29 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Mathias P.W Nilsson schreef: > > I don't understand your reply. Can you please explain? > > > > Each template (html) file can come in variations. E.g > HomePage_green.html. In HomePage.java you can call setVariation("green"). Ye

Re: create new model object of a Form from one of its FormComp values??

2008-01-21 Thread Eelco Hillenius
> personally i would map the form to a bean, and then in onsubmit() > > transfer those properties to an instance of your domain object. > > > > > Igor, could you please tell in short how is this better than just get data > form the models of each component in onsubmit()? > I'm doing same thing with

Re: Security violations and "ERROR: filterStart" with Tomcat deployment on Debian Etch

2008-01-21 Thread Eelco Hillenius
OT... > 1) I don't use debian (and was trying to be helpful) Always welcome. > 2) My distro of choice *does* have tc 6 (which I'm not sure matters in > this case) Just curious, what is your distro of choice? > 3) I don't use tc for production Again just curious, what i

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