[Wicket-user] Re: multi-window support and deadlocks

2006-05-01 Thread Christian Essl
Ofcourse this is all doable but what is the real gain? If you do ajax on the clientside and the chance is pretty great that it gets hit then don't do clientside for that page. Or we could use the SecondLevelCacheSessionStore we now have in our branch then we also have unlimited backbutton

[Wicket-user] Re: multi-window support and deadlocks

2006-04-30 Thread Christian Essl
Matej Knopp schrieb: Johan Compagner wrote: this is pretyt much all in place. I don't believe in a cookie and or url state what is that? storing a page in an url? We have a branch where we have a first draft of ClientSide Page saving (in an javascript variable that is then set in a hidden

Re: [Wicket-user] Re: multi-window support and deadlocks

2006-04-30 Thread Christian Essl
Johan Compagner schrieb: Ajax don't have back button problems because the history doesn't change in the browser (at least as long as the client doesn't do that through javascript) That's what I said. But of course you can intercept the back-button in AJAX and I just did not know wheter this is

Re: [Wicket-user] Special characters in form TextFields and TextAreas

2005-12-23 Thread Christian Essl
Hi Juergen, Thanks for trying it out. Yes I use the same browser for the online examples. Good to hear that it works on other computers - so it is certainly my setup-problem and should work on a production comp. I for now have changed to ISO-8859-1, which makes no problems. If you are

Re: [Wicket-user] Special characters in form TextFields and TextAreas

2005-12-22 Thread Christian Essl
there. And it returns the pages in UTF-8 i can see that in the page info in my firefox browser. johan On 12/22/05, Christian Essl [EMAIL PROTECTED] wrote: Hi, When I type in 'ü' (the german uuml) in the Guestbook example than something strange gets set as the text on the Comment. The same happens

[Wicket-user] Special characters in form TextFields and TextAreas

2005-12-21 Thread Christian Essl
Hi, When I type in 'ü' (the german uuml) in the Guestbook example than something strange gets set as the text on the Comment. The same happens with my own forms where the template is UTF-8 and the html encoding meta-attr is set to UTF-8 as well. The

Re: [Wicket-user] Spring 2.0 Integration

2005-12-14 Thread Christian Essl
With AspectJ you can use good citizen as well. I saw the wiki and a nice solution was found. With AspectJ is you can code naturally like (if you do not use the service in constructor): MyPage page = new MyPage(); page.setService(mockService); tester.startPage(page);

Re: [Wicket-user] Spring 2.0 Integration

2005-12-14 Thread Christian Essl
I use the Injector only on BookmarkablePages otherwise I inject by hand - a lot of real DI citicens. And for the BookmarkablePages I have two constructors one which calls the Injector the other one which does not. So I don't even have to set context mock. There is no difference to AspectJ.

Re: [Wicket-user] FormComponents which can render on any span tags

2005-12-14 Thread Christian Essl
. Just a thought. Christian On Wed, 14 Dec 2005 21:00:37 +0100, Juergen Donnerstag [EMAIL PROTECTED] wrote: On 12/14/05, Christian Essl [EMAIL PROTECTED] wrote: Hi, Im just trying to make a special FromPanel where you just add FormComponents and their labels and it will render those in a two

Re: [Wicket-user] wicket-contrib-dojo 0.31

2005-12-13 Thread Christian Essl
! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl

Re: [Wicket-user] wicket-strutsnested demo availability question

2005-12-13 Thread Christian Essl
I did not put this strategy in extensions on purpose. The reason being is that this can really get you in trouble when dealing with detachable models. Imagine changing a page and having all the model's from last page load as well as all the models on this page. The idea behind ifmodelequals was

Re: [Wicket-user] Some remarks on templates

2005-12-09 Thread Christian Essl
problem because those will not be moved around (i think) johan On 12/9/05, Christian Essl [EMAIL PROTECTED] wrote: I am against this. Since we have 1:1 we dont have id collissions, etc, etc. If you restrict it to Page and Panel actually this would be quite the same as with variable scoping

Re: [Wicket-user] wicket-extensions repeaters refactoring

2005-12-09 Thread Christian Essl
. wicket-phonebook has been updated and now sports an example of the filter toolbar. its still a little bit dirty as far as an example of best practices goes, cleaning it up is next on my list. any suggestions/questions/feedback/etc are welcome. -Igor -- Christian Essl

Re: [Wicket-user] wicket-contrib-dojo 0.31

2005-12-08 Thread Christian Essl
://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl

Re: [Wicket-user] Link LinkListener

2005-12-08 Thread Christian Essl
___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl ___ Gesendet von Yahoo! Mail

[Wicket-user] Some remarks on templates

2005-12-08 Thread Christian Essl
Hi, I like the way wicket handles templates. However when I worked with it the last few weeks I found one thing which could be realy improved: I had the case where the html-designer wanted to move a Label, which was first inside a Form outside of the Form. To do that I had to change the

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-07 Thread Christian Essl
it does not get duplicated like you suggest. -Igor On 12/6/05, Christian Essl [EMAIL PROTECTED] wrote: I think they are wicket-specific, because where outside of wicket would you need a wicket interface? And if you implement it yourself you will have to think of versioning, otherwise you

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-07 Thread Christian Essl
we could move it completely to the model itself but then the burden is completely to the developer of that model. On 12/6/05, Christian Essl [EMAIL PROTECTED] wrote: Here our opionions clash. I don't want to get in a religous discussion, but let me explain. And if there is a public way

Re: [Wicket-user] Wicket, Spring and Hibernate

2005-12-07 Thread Christian Essl
There is a wiki entry describing the spring integratoin here: http://www.wicket-wiki.org.uk/wiki/index.php/Spring Christian On Wed, 07 Dec 2005 15:27:53 +, John Moore [EMAIL PROTECTED] wrote: Martijn Dashorst wrote: John, For the true demonstrator, you need to check out (from

Re: [Wicket-user] Re: Wicket, Spring and Hibernate

2005-12-07 Thread Christian Essl
on this. John -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-07 Thread Christian Essl
this sound like a good idea? and then while we are at it we can consider the IVersionable and add that in. -Igor On 12/7/05, Christian Essl [EMAIL PROTECTED] wrote: Right your locators do not have this problem. But why don't have a plain IFilterState{getFilterBean()} and if it implements

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-07 Thread Christian Essl
? and then while we are at it we can consider the IVersionable and add that in. -Igor On 12/7/05, Christian Essl [EMAIL PROTECTED] wrote: Right your locators do not have this problem. But why don't have a plain IFilterState{getFilterBean()} and if it implements IVersionable call before

Re: [Wicket-user] model / model object versioning

2005-12-07 Thread Christian Essl
On Wed, 7 Dec 2005 15:23:22 -0800, Igor Vaynberg [EMAIL PROTECTED] wrote: I still do not think we need to provide a public setStateChange() method, but maybe i am wrong. I think if pojo wants to implement its own versioning it is out of scope of wicket. you can always call Page.getVersion() and

Re: [Wicket-user] Using head in a border

2005-12-07 Thread Christian Essl
/lists/listinfo/wicket-user -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Christian Essl
(), like Christian suggested. I don't think redirecting to an HTTPS page would work in checkAccess() because I believe form properties from a POST would be lost. On 12/6/05, Christian Essl [EMAIL PROTECTED] wrote: There was some discussion on the lists where Phil recommended a method

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-05 Thread Christian Essl
(); addstatechange(new change() { undo() { getlocator().setstate(oldstate); } } i think that will work. -Igor On 12/4/05, Christian Essl [EMAIL PROTECTED] wrote: On Sat, 3 Dec 2005 13:21:15 -0800, Igor Vaynberg [EMAIL PROTECTED] wrote: the problem im having is that something somewhere has to version

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-03 Thread Christian Essl
subclass IModel to my heart's content? Nathan Christian Essl wrote: On Thu, 1 Dec 2005 14:24:20 -0500, Andrew Berman [EMAIL PROTECTED] wrote: Honestly, I don't think there ever was a Spring Integration problem. I think people were just looking for a cookie-cutter approach to using Spring

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-03 Thread Christian Essl
, Christian Essl [EMAIL PROTECTED] wrote: On Fri, 2 Dec 2005 22:51:05 +0100, Johan Compagner [EMAIL PROTECTED] wrote: Maybe we should build something that it is easier for models to version themselfs. Like an interface IVersionable with a method Serializeable getVersionData() Which a model

Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-12-01 Thread Christian Essl
On Thu, 1 Dec 2005 14:24:20 -0500, Andrew Berman [EMAIL PROTECTED] wrote: Honestly, I don't think there ever was a Spring Integration problem. I think people were just looking for a cookie-cutter approach to using Spring within Wicket. It's actually quite easy to do without using any of

Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-11-30 Thread Christian Essl
/?ad_idv37alloc_id865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl

Re: [Wicket-user] comment about spring interation

2005-11-30 Thread Christian Essl
; } } In test class I test through a stub implementation which provides the dependency in getter: public class MyPanelStub extends MyPanel { @Override protected ContactDao getContactDao() { return new ContactDaoStub(); } } -- Christian Essl

Re: [Wicket-user] comment about spring interation

2005-11-29 Thread Christian Essl
test virtual machines. -- Joni Suominen -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-26 Thread Christian Essl
want to do a real submit then we should make it easy to call Form.process() or something. johan On 11/21/05, Christian Essl [EMAIL PROTECTED] wrote: Will check youre code out. i hope this week. The problem now is that now always should the form completely be processed and other times

Re: [Wicket-user] One class, several html templates (setVariation()?)

2005-11-22 Thread Christian Essl
-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http

Re: [Wicket-user] Updating a model using DropDownChoice

2005-11-22 Thread Christian Essl
the Object must be serializable, because than the Object gets saved into the session. Please read the wiki how-to entry. This and the above is well explaind there. http://www.wicket-wiki.org.uk/wiki/index.php/Models Christian. /Anders -- Christian Essl

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-21 Thread Christian Essl
nice! Thanks what you do in the submit link i want to do in the form itself (so the form generates a hidden input) Then everything in that form, Links, onChange listenerers will/can use that one to do the form submit but then dispatch the event) johan That's much better. Enclosed is the

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-21 Thread Christian Essl
there to receive onSubmit() notificatons. It can be triggered with the script gotten from JSButton.getTriggerJavaScript() ie by the DrowDownChoice-onClick. Christian johan On 11/21/05, Christian Essl [EMAIL PROTECTED] wrote: nice! Thanks what you do in the submit link i want to do in the form

Re: [Wicket-user] Re: There must be some docs somewhere?

2005-11-21 Thread Christian Essl
=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl ___ Gesendet

Re: [Wicket-user] Re: There must be some docs somewhere?

2005-11-21 Thread Christian Essl
= _productsDAO.loadProducts(); for(Product prod:list){ Model model = new HibernateModel(prod,_hibernateDAO); WebMarkupContainer cont = addContainer(new CompoundPropertyModel(model)); cont.add(new Label(name)); } } }); -Igor -- Christian Essl

Re: [Wicket-user] Re: There must be some docs somewhere?

2005-11-21 Thread Christian Essl
with removeAll()? Christian On Mon, 21 Nov 2005 10:29:15 -0800, Igor Vaynberg [EMAIL PROTECTED] wrote: that would do it :] -Igor On 11/21/05, Christian Essl [EMAIL PROTECTED] wrote: dont know how useful an ordered repeating view would be for database driven lists since it doesnt

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-21 Thread Christian Essl
to call Form.process() or something. johan On 11/21/05, Christian Essl [EMAIL PROTECTED] wrote: Will check youre code out. i hope this week. The problem now is that now always should the form completely be processed and other times is should for example a Submit Link should i think

Re: [Wicket-user] Re: There must be some docs somewhere?

2005-11-21 Thread Christian Essl
That clears it up thanks Christian On Mon, 21 Nov 2005 12:04:26 -0800, Igor Vaynberg [EMAIL PROTECTED] wrote: On 11/21/05, Christian Essl [EMAIL PROTECTED] wrote: A question: is the ItemReuseStrategy (OIR) still needed for forms and feebackpanels, because it seems also to work

Re: [Wicket-user] Formatting numbers in Labels

2005-11-20 Thread Christian Essl
1.2381223801081599E-6 In the generated page this just appears as 0 or -0. I want it to be 0.012381223801081599 How can I create Labels that know how to format these small numbers? /Anders -- Christian Essl

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-20 Thread Christian Essl
that when a link is clicked, get some data of the form. How can i achieve this? Thanks. -- Christian Essl SubmitLink.java Description: Binary data

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-20 Thread Christian Essl
Sorry I just realized that the SubmitLink before had a bug (test, test, test ;)).Enclosed is something which should work - at least for FireFox and IE it does. Please test it if you need it - at all. Thanks, Christian On Mon, 21 Nov 2005 04:43:26 +0100, Christian Essl [EMAIL PROTECTED

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Christian Essl
Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28alloc_id845op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Christian Essl
I don't think this is what setPersistent() is intended for, and more than that, using it for re-displaying old values doesn't work, at least with wicket-1.1 (I tried it). I just wanted to use setPersistend() for setting a cookie which remembers ie the username for the next login. if you

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Christian Essl
Of course not. Quote: BTW: when I did the 'custom form processing' I also wanted to call Form.persistFormComponentData() but this is private. Should this be called when Button.defaultFormProcessing = false. I understood it to be a side note to your question (because of BTW). You can not call

[Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-18 Thread Christian Essl
I've just implemented a form where the user can choose between different payment-types through a RadioGroup. Depending on the payment-type different textfields on the same form are required. So I did 'custom-form-processing' and for validation I had to get first to the value of the

Re: Re: [Wicket-user] My take on Spring integration

2005-11-17 Thread Christian Essl
some flag in getInjector() that returns a noop implementation. -Igor -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

Re: Re: [Wicket-user] My take on Spring integration

2005-11-16 Thread Christian Essl
:56:45 -0800, Igor Vaynberg [EMAIL PROTECTED] wrote: decisions decisions -Igor On 11/11/05, Christian Essl [EMAIL PROTECTED] wrote: Igor made it quite easy to add your own way to inject things (not just SpringBeans). You just implement your own IObjectLocatorFactory and extend

Re: Re: [Wicket-user] My take on Spring integration

2005-11-16 Thread Christian Essl
) and if there is none return the singelton instance. An alternative could be that there is a generic injector which loads a list of IFieldValueFactories from the WebApplication. Christian -Igor On 11/16/05, Christian Essl [EMAIL PROTECTED] wrote: Sorry for my late replay and thanks for fixing

Re: Re: [Wicket-user] My take on Spring integration

2005-11-12 Thread Christian Essl
and IFieldValueFactory. So now you can inject arbitrary values using the injector, not just proxies. created CompoundFieldValueFactory to allow injection from multiple IFieldValueFactories. -Igor On 11/11/05, Christian Essl [EMAIL PROTECTED] wrote: On Fri, 11 Nov 2005 14:51:16 -0800, Igor

Re: Re: [Wicket-user] My take on Spring integration

2005-11-11 Thread Christian Essl
as yours, dont know if that a plus or a minus at this point. I liked the lazyinitproxy interface so i just added that to my code. im attaching the code to make it easier to find. -Igor On 11/9/05, Christian Essl [EMAIL PROTECTED] wrote: Unfortunately the public cvs is late so I can't see your

Re: Re: [Wicket-user] My take on Spring integration

2005-11-11 Thread Christian Essl
On Fri, 11 Nov 2005 14:34:28 -0600, Ryan Sonnek [EMAIL PROTECTED] wrote: I would be very interested in a 1.4 port of this. Do you think it could use the same annotation based approach, but using Qdox to process instead of the built in 1.5 annotation functionality? On 11/11/05, Christian Essl

Re: Re: [Wicket-user] My take on Spring integration

2005-11-11 Thread Christian Essl
On Fri, 11 Nov 2005 14:51:16 -0800, Igor Vaynberg [EMAIL PROTECTED] wrote: i was actually thinking of creating a CompoundObjectLocatorFactory which would try its children until one returns a non-null. will try to get to that tonight as well :) That's better than my suggestion - Thank you.

Re: Re: [Wicket-user] My take on Spring integration

2005-11-09 Thread Christian Essl
Unfortunately the public cvs is late so I can't see your changes yet. Anyway before I've read this mail I started on reworking the proxing code (attached). SerializableLazyProxyCreator is the only thing with content the others are interfaces and one (basic) test. There are quite some changes:

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Christian Essl
Thanks for the response. How are your questions related to i18n messages? Sorry I missunderstood the i18n question. I read the preprocessing of the tag-body you mentioned and thought - well the wrong thing. Thanks, Christian

Re: Re: [Wicket-user] My take on Spring integration

2005-11-09 Thread Christian Essl
to play: http://sourceforge.net/geronimo.php ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl

Re: Re: [Wicket-user] My take on Spring integration

2005-11-08 Thread Christian Essl
with this approach. Let me try and get some of it going tonight and we can move from there. -Igor On 11/7/05, Christian Essl [EMAIL PROTECTED] wrote: I think there should be both of your implementations. IMO the constructor based impl should have the protected doInject method, because to me

Re: Re: [Wicket-user] My take on Spring integration

2005-11-08 Thread Christian Essl
because they are not initialized yet by the sub class (when having a super class that does the injections) -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier

Re: Re: [Wicket-user] My take on Spring integration

2005-11-08 Thread Christian Essl
on now is an ApplicationContext which wrapps the 'real' ApplicationContext and does create for getBean() etc automatically the proxies. I think this way I'll never have to worry about the serialization problem for such beans. but what will inject your pages? -Igor -- Christian Essl

Re: Re: [Wicket-user] My take on Spring integration

2005-11-08 Thread Christian Essl
? That seems reasonable. I'll post a question on the spring list and see what they say. Christian -Igor On 11/8/05, Christian Essl [EMAIL PROTECTED] wrote: I do not know wheter read/writeObject is called on objects referenced from session attributes (full serialization closure). However the spec

Re: Re: [Wicket-user] My take on Spring integration

2005-11-08 Thread Christian Essl
/05, Igor Vaynberg [EMAIL PROTECTED] wrote: I would rather weave it in using cglib and stay away from a spring-specific proxy impl, becuase this thing can easily be generalized to things beyound spring, like jndi lookups, etc. -Igor On 11/8/05, Christian Essl [EMAIL PROTECTED] wrote: On Tue

Re: Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Christian Essl
-- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de --- SF.Net email is sponsored

Re: Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Christian Essl
closure of their attributes will be preserved. And if readObject() gets called on Pages can I than acess somehow the ApplicationContext to get to the BeanContext? Please help. Thanks, Christian On 11/7/05, Christian Essl [EMAIL PROTECTED] wrote: Hi Igor, I looked through your code. Thanks

Re: Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Christian Essl
thread? Maybe in readObject() a dynamic proxy could be injected which triggers on first access the onInject() method. Christian -Igor On 11/7/05, Christian Essl [EMAIL PROTECTED] wrote: On Mon, 7 Nov 2005 15:25:29 +0100, Johan Compagner [EMAIL PROTECTED] wrote: And there is also

Re: Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Christian Essl
On 11/7/05, Christian Essl [EMAIL PROTECTED] wrote: Thanks for the clarification and sorry for the confusion. So readObject() as you have it in your code is fine. To get the bean context i simply make my applicationbean implement applicationcontextaware and then i use ((MyApplication

Re: Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Christian Essl
and extract at runtime never used cglib before though that way you just wrap the page with the proxy after you create it and there is no need to worry about serialization/deserialiation garbage -Igor On 11/7/05, Christian Essl [EMAIL PROTECTED] wrote: The interface of the setter parameter

Re: [Wicket-user] where do I put controller/dispatcher logic?

2005-11-07 Thread Christian Essl
with the method names and calls and where they where on. (We have also a Page begin and end request which is called in the response phase) On 11/7/05, Christian Essl [EMAIL PROTECTED] wrote: I do not understand this now. But when I just went through the code I think RequestCycle.onBeginRequest

Re: Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Christian Essl
context and set targetobject to the lookup } forward call to targetobject; this way the class need not be aware of the fact that its decorated with proxies or implement anything special. the proxies get serialized and deserialized normally. -Igor On 11/7/05, Christian Essl [EMAIL PROTECTED

Re: Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Christian Essl
, and if so we can create a regular proxy, but if its not we try to create a cglib proxy? Do we hit the same final method drawbacks? -Igor On 11/7/05, Christian Essl [EMAIL PROTECTED] wrote: That's right. That's propably the cleanest way and you can use it on each component. The problem why I

Re: [Wicket-user] My take on Spring integration

2005-10-27 Thread Christian Essl
://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl

Re: [Wicket-user] My take on Spring integration

2005-10-27 Thread Christian Essl
(){ return _xy == null ? somewhere.getService(xy) : _xy; } Christian -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Essl Sent: Thursday, October 27, 2005 3:55 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] My take

Re: [Wicket-user] My take on Spring integration

2005-10-27 Thread Christian Essl
of this overriding is generaly a bit dangerous if you don't read the comment well and don't know when it is called. Anyway it was just an idea. I like this 'injection' thing just not AOP. Christian Eelco On 10/27/05, Alexandru Popescu [EMAIL PROTECTED] wrote: #: Christian Essl changed the world

Re: [Wicket-user] PageableGridDataView

2005-09-03 Thread Christian Essl
/wicket-user -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de --- SF.Net

[Wicket-user] a little bit of AJAX

2005-09-03 Thread Christian Essl
I just managed to write my first little AJAX page. Nothing greate - I just used the prototype Ajax.Updater to load a peace of text after clicking on a span. After a bit of browsing the docs and source of wicket it was thanks to ScriptaculousAjaxHandler not realy difficult. I still have some

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

2005-09-03 Thread Christian Essl
content for Ajax (no Panel or Page). Will try to improve it and report you on my expiriences. Christian On Sat, 03 Sep 2005 16:00:57 +0200, Martijn Dashorst [EMAIL PROTECTED] wrote: Christian Essl wrote: I just managed to write my first little AJAX page. Nothing greate - I just used

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

2005-09-03 Thread Christian Essl
that are ajax enabled and edit attributes directly. One of Wicket's main goals is to make creating custom components easy. Eelco On 9/3/05, Christian Essl [EMAIL PROTECTED] wrote: I just managed to write my first little AJAX page. Nothing greate - I just used the prototype Ajax.Updater to load a peace

Re: [Wicket-user] PageableGridDataView

2005-09-03 Thread Christian Essl
://www.sqe.com/bsce5sf ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl

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

2005-09-03 Thread Christian Essl
Also, instead of overriding onRequest, consider using one of the more specific methods like onComponentTagBody or onComponentTag. You could take a look at how other components are implements. Eelco On 9/3/05, Christian Essl [EMAIL PROTECTED] wrote: Thanks for the answers. I understand know

Re: [Wicket-user] PageableGridDataView

2005-08-31 Thread Christian Essl
Hi Igor, Thanks for the compliments. I am happy you like it. I was also thinking of getting rid of pageable dataview and introducing enablePaging(int rowsperpage)/disablePaging() into dataview directly. What do you think? +1 That's a very good idea. I also do not like PageableDataView

Re: [Wicket-user] Poolable pages

2005-08-26 Thread Christian Essl
instance of one user. What would you accomplish? Eelco On 8/26/05, Johan Compagner [EMAIL PROTECTED] wrote: you can build it pretty easy. Just extend WebSession and hold a map with pages you like to pool. Christian Essl wrote: I was just following the discussion on the Tapestry and JSF

Re: [Wicket-user] Poolable pages

2005-08-26 Thread Christian Essl
build it pretty easy. Just extend WebSession and hold a map with pages you like to pool. Christian Essl wrote: I was just following the discussion on the Tapestry and JSF comparision. I wonder if it is possible to use in wicket pooled pages. Something like a detachable-model for pages which gets

[Wicket-user] Poolable pages

2005-08-26 Thread Christian Essl
I was just following the discussion on the Tapestry and JSF comparision. I wonder if it is possible to use in wicket pooled pages. Something like a detachable-model for pages which gets stored in the Session instead of the actual page. Can something similar be achieved in wicket? I don't

Re: [Wicket-user] IPageable

2005-08-23 Thread Christian Essl
just indicate that there is no current page, because there are no pages. Similar to InputStream.read() or String.indexOf() etc. Christian johan Christian Essl wrote: Thanks Johan foor providing IPageable, it looks realy good. I just tried to implement it and had a border-line question

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-20 Thread Christian Essl
Christian Essl wrote: I do not know about ListView, but I think DataView and PagableDataView could be merged quite easaly. It already has the data-set size and the rows-count per page. All we would need is to add a currentPage property and than we just render from the startIndex+offsetOfPage

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-20 Thread Christian Essl
so whats set in the dataview is always shown in the navigator. -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Essl Sent: Saturday, August 20, 2005 2:41 AM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Re

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-20 Thread Christian Essl
because the view you get in the browser is very strange. You see nothing in the list, You don't see any selection in the navigator (because the 'currentpage' isn't listed anymore) I prefer to go the the last page. Because it wanted to show data that was further on. johan Christian Essl wrote

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-20 Thread Christian Essl
; if (page=pagecount) page=pagecount-1; currentpage=page; } This handles the out of bounds quietly instead of always throwing an exception. -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Essl Sent: Saturday, August 20, 2005 12

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-19 Thread Christian Essl
___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl ___ Gesendet von Yahoo

Re: [Wicket-user] PageableDataView and column cells

2005-08-18 Thread Christian Essl
that PageableListView must be configured. I think i will go for the last. johan Christian Essl wrote: Thanks, I can not realy help you. I just browsed the discussion and I am not sure how the interface should look like: Is it: getCurrentPage() setCurrentPage(int) getPageCount

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-18 Thread Christian Essl
Improvement Measurement * http://www.sqe.com/bsce5sf ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-17 Thread Christian Essl
In fact the add() function in the dataview should probably throw an unsupported operation exception. Or just add to the current data-item if present. Christian ___ Gesendet von Yahoo! Mail - Jetzt

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-16 Thread Christian Essl
___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-16 Thread Christian Essl
___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt

Re: [Wicket-user] PageableDataView and column cells

2005-08-16 Thread Christian Essl
have a first impl now but i am still not totally convinced what we should do johan Christian Essl wrote: Hi Johan, Thank you. I did not want to press you so. Sorry for sending this now. I wanted to send it last Friday but accidentially kept it in my out box and didn't think of it anymore

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-16 Thread Christian Essl
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems

2005-08-16 Thread Christian Essl
https://lists.sourceforge.net/lists/listinfo/wicket-user -- Christian Essl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

Re: [Wicket-user] [Wicket] DataView and optimized item removal

2005-08-15 Thread Christian Essl
Initially I was not sure (anymore), but after reading Phil's comment I also think model.equals(model) is better. I also think the identity definition (wheter through equals or string uniquekey) belongs to the data side, because you can only do this with knowledge about the data. And I belief

  1   2   >