Re: Mounting page at root

2008-02-06 Thread Janos Cserep
> > Is it possible at all to have content at / ? Trying to mount something at > "/" > results in an error and I'm wondering of there's a workaround. By default it displays your home page (actually the page represented by the page class returned by WebApplication's getHomePage() method) if you con

Re: Short Design Question

2008-02-06 Thread Johan Compagner
But that is not the problem or the question here. There is only talk that it must look nice I even heard somebody saying yes it looks nice it is a bookmarkable url but it is not really bookmarkable... (because the page state isn't preserved in the url) Whats the point for that? nothing. I agre

Re: Ajax Feedback Problem in 1.3

2008-02-06 Thread Johan Compagner
can't you attach those to a jira issue. Then it is not getting lost. On Feb 6, 2008 8:16 AM, SantiagoA <[EMAIL PROTECTED]> wrote: > > http://www.nabble.com/file/p15306186/ValidationTest1.iamzip > ValidationTest1.iamzip > http://www.nabble.com/file/p15306186/ValidationTest2.iamzip > ValidationTe

wicket support for Jasper report

2008-02-06 Thread Soniya
hi i want to use jasperreport in wicket 1.3. i have used it with wicket 1.2. in wicket 1.2 we can set parameters in web.xml to call jasper report as ReportServlet wicket.contrib.jasperreports.ReportLogin ImageServlet

AjaxFormValidatingBehavior: getting NotSerializableExc

2008-02-06 Thread Sébastien Piller
Hello guys, I'm having a little problem with the use of AjaxFormValidatingBehavior. I add it to all my fields, using a visitor.     form.visitChildren(FormComponent.class, new IVisitor() {     public Object component(Component component) {     if (component instanc

wicket support for Jasper report

2008-02-06 Thread Soniya
n,l;mcnklmcnklflnmlmkfnmdbgklndlnldnkblkdnblk;n fvjbnsjkjksdvf jfhjsfhjshjvschhsdbvh ksdbnvjksbv -- View this message in context: http://www.nabble.com/wicket-support-for-Jasper-report-tp15306465p15306465.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Ajax Feedback Problem in 1.3

2008-02-06 Thread SantiagoA
Okay. I made a jira issue and attach one zipfile with both examples. JIRA-Issue WICKET-1325 Hope that works. Never worked with jira before. - rename your foo.zip to foo.iamzip and attach it to the email. -igor -- View this message in context: http://www.nabble.com/Ajax-Feedback-Problem-in-1

Re: AjaxFormValidatingBehavior: getting NotSerializableExc

2008-02-06 Thread Martijn Dashorst
My first guess is that the IVisitor is not serializable. Since you create two nested anonymous inner classes inside one another, the behaviors keep a reference to the IVisitor. Martijn On 2/6/08, Sébastien Piller <[EMAIL PROTECTED]> wrote: > > Hello guys, > > I'm having a little problem with th

Re: AjaxFormValidatingBehavior: getting NotSerializableExc

2008-02-06 Thread Sébastien Piller
That's it! I'm too stupid... sorry for the disturbing ;) Martijn Dashorst a écrit : My first guess is that the IVisitor is not serializable. Since you create two nested anonymous inner classes inside one another, the behaviors keep a reference to the IVisitor. Martijn

Some questions - mainly about session expiration and serialization

2008-02-06 Thread [EMAIL PROTECTED]
Hi to all. This is my first post, here's a quick introduction of myself. My name is Fabrizio Giudici, I'm a senior architect and I've been working with Wicket for a bit more than one year. I've recently upgraded to 1.3 (I was working with an 1.3 snapshot that dated back to a few months ago) and I

IPropertyResolver interface for property models

2008-02-06 Thread Daniel Stoch
Hi, I'm developing custom IModel implementation which will be used as a model in forms. This model is able to record changes made by a form in the editing object (POJO). I do not store this changes directly to the base object, but they are stored somwhere inside this model (eg. in a Map of propert

Block second click

2008-02-06 Thread Matthijs Wensveen
Hello, I have a Link (not Ajax) on a component that does some heavyweight processing in onClick. During this processing I want to block other clicks from the same user. Is there a generic way to block multiple requests on the same link? I would prefer a solution without Ajax / JavaScript, but

Re: How to Apache tomcat wicket setup?

2008-02-06 Thread Ayodeji Aladejebi
the last thing i know about tomcat6 is that its performance is getting good enough to handle all these without apache. in any case i use reverse proxy built into apache.no need for mod_jk then keep your resource folder outside your web app context so that tomcat will not see it On 2/6/08, cwilkes

Evaluating Wicket

2008-02-06 Thread René Samselnig
Hi people, currently I'm evaluating wicket as the future framework in our company. I already found a lot of information but still there is some missing. I hope you can help me out answering these questions. * What experience do you have regarding performance of wicket applications? * Is there a

Re: Evaluating Wicket

2008-02-06 Thread Nino Saturnino Martinez Vazquez Wael
Try here: http://cwiki.apache.org/WICKET/how-to-do-things-in-wicket.html As for some of the other questions, Ive answered inline.. René Samselnig wrote: Hi people, currently I'm evaluating wicket as the future framework in our company. I already found a lot of information but still there is s

Re: Mounting page at root

2008-02-06 Thread oliverw
So I take it, it's currently not possible. oliverw wrote: > > Is it possible at all to have content at / ? Trying to mount something at > "/" results in an error and I'm wondering of there's a workaround. > -- View this message in context: http://www.nabble.com/Mounting-page-at-root-tp15300

Re: IPropertyResolver interface for property models

2008-02-06 Thread Johan Compagner
If we has such an interface then we need to rewrite most things because now its just a static method and then we need to have instances. i guess you want then to have AbstractPropertyModel to have a getPropertyResolver method that you can override and give something else back? But i still dont ge

Re: Wicket menus?

2008-02-06 Thread Nino Saturnino Martinez Vazquez Wael
Hmm I beg to differ:) http://developer.yahoo.com/yui/examples/menu/example03.html Theres also an wicket integration project for this on wicketstuff.. Again; i might have misunderstood this.. regards Nino Edvin Syse wrote: That's purely a css issue, most menues are laid out using an ul and st

Re: Page Expired Clustering?

2008-02-06 Thread wicket21
Hi, does anyone know what is the equivelant of this solution that would work with tomcat? We have the same problem using Wicket 1.2.6 with Tomcat 5.5.25, and the info at http://cwiki.apache.org/WICKET/tomcat-clustering.html doesn't really work. We do a simple test with 2 tomcats behind an Apach

Re: Mounting page at root

2008-02-06 Thread Janos Cserep
> > So I take it, it's currently not possible. > Looks like I was not clear enough, sorry:) Configure your wicket filter to /* and return the page class you want to view as / as the home page in your application class. You don't have to mount anything, it will be displayed as /

Re: IPropertyResolver interface for property models

2008-02-06 Thread Daniel Stoch
On Feb 6, 2008 3:45 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > If we has such an interface then we need to rewrite most things because now > its just a static method and then we need to have instances. I know that. It is not a simple change. > i guess you want then to have AbstractPropertyM

Re: Some questions - mainly about session expiration and serialization

2008-02-06 Thread Erik van Oosten
Hi Fabrizio, In 1.3 everything is serialized to disk at some time. So'll have to make things serializable, whether you are clustering or not (even with Terracotta). Secondly, I very very very strongly recommend detachable models. Let me repeat, I really recommend detachable models. Large, or

Doubt in wicket and multiple views

2008-02-06 Thread Mathias P.W Nilsson
Hi! I have one model and 4 different web applications. All webapplications is using the same model but different views. There is Different virtual hosts on the same server. Can I use wicket for this? ie Domain1.se, Domain1.com, Domain2.se, Domain2.com same server different virtual hosts same m

Re: Session Expiration. UnauthorizedComponentInstantiationException. PageExpiredException. IllegalStateException. Ajax and Bookmarkable links.

2008-02-06 Thread mattsmith
Here's what we ended up doing to address this (since there didn't seem to be a consistent approach to handling the variety of scenarios from the the framework's perspective): 1. Disabled the back button by agressively expiring visited pages (negating a huge benefit of using wicket in the first p

Re: Doubt in wicket and multiple views

2008-02-06 Thread Janos Cserep
If you're looking for a way to use different layouts, templates for different virtual servers you have several options: - use the Session.setStyle() to set the style... you can do this in a custom WebRequest and by examining the server name of the request url. Then you can have different .html and

RE: IPropertyResolver interface for property models

2008-02-06 Thread Maeder Thomas
If I understand this correctly, you're trying to keep an overlay while editing an object. Why not do this: class OverlayModel extends Model { OverlayModel(Map editedValues, IModel underlyingModel, String propertyName) { ...remember the parameters in instance variables

RE: IPropertyResolver interface for property models

2008-02-06 Thread Maeder Thomas
g.. getting late, the setter should be: public abstract void setObject(Object obj) { if (!isEquals(obj, getObject()) { editedValues.put(obj); } } Thomas > -Original Message- > From: Maeder Thomas [mailto:[EMAIL

Re: Block second click

2008-02-06 Thread Timo Rantalaiho
On Wed, 06 Feb 2008, Matthijs Wensveen wrote: > I have a Link (not Ajax) on a component that does some heavyweight > processing in onClick. During this processing I want to block other > clicks from the same user. Is there a generic way to block multiple > requests on the same link? I would pref

Re: Block second click

2008-02-06 Thread Nino Saturnino Martinez Vazquez Wael
Matthijs Wensveen wrote: Hello, I have a Link (not Ajax) on a component that does some heavyweight processing in onClick. During this processing I want to block other clicks from the same user. Is there a generic way to block multiple requests on the same link? I would prefer a solution wit

Re: Evaluating Wicket

2008-02-06 Thread Igor Vaynberg
On Feb 6, 2008 5:12 AM, René Samselnig <[EMAIL PROTECTED]> wrote: > > Hi people, > > currently I'm evaluating wicket as the future framework in our company. I > already found a lot of information but still there is some missing. I hope > you can help me out answering these questions. > > * What exp

RE: Evaluating Wicket

2008-02-06 Thread Maeder Thomas
Having gone trough a web framework evaluation myself in the last year, my recommendation is to actually build a small wicket application. The benefits over other web frameworks are very real, but not evident from studying the brochures. Thomas > -Original Message- > From: René Samseln

Re: Block second click

2008-02-06 Thread Igor Vaynberg
there is a mask component in wicketstuff-minis. you can write a call decorator that will bring up the mask that will cover the whole screen and prevent the user from clicking. -igor On Feb 6, 2008 4:37 AM, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: > Hello, > > I have a Link (not Ajax) on a co

Problems with ResourceModel and StringResourceModel

2008-02-06 Thread Marco Aurélio Silva
Hi all I'm writing test cases for my wicket application (1.2.6), and I'm having problems with the ResourceModel and StringResourceModel. It seems like when loaded by a WicketTester (with startPage method) these components doesn't load the global resource file "MyApplication.properties". If I put t

Re: Problems with ResourceModel and StringResourceModel

2008-02-06 Thread Igor Vaynberg
you have to make wicket tester use _your_ application subclass -igor On Feb 6, 2008 8:50 AM, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > Hi all > > I'm writing test cases for my wicket application (1.2.6), and I'm > having problems with the ResourceModel and StringResourceModel. It > seems

Re: IPropertyResolver interface for property models

2008-02-06 Thread Daniel Stoch
Thanks for your response. Your solution looks interesting and even quite similar to mine, but... :) My ObjectEditor interface is like your "Map editedValues, IModel underlyingModel" coupled together. But underlyingModel in my solution holds the whole object, not a single property: Object getEdite

Re: Problems with ResourceModel and StringResourceModel

2008-02-06 Thread Marco Aurélio Silva
How to make it use my application subclass? WicketTester.set(Application application) trow this exception: wicket.WicketRuntimeException: Use Application.init() method for configuring your application object at wicket.Application.getSettings(Application.java:606) at wicket.Applicat

Re: Some questions - mainly about session expiration and serialization

2008-02-06 Thread Igor Vaynberg
On Feb 6, 2008 4:40 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 1. I've always experienced some sudden "session expiration" > problems with no apparent reason (I mean, the user wasn't > actually sleeping). But they happened only once in a while. > After upgrading to 1.3 they occur very often

Re: Doubt in wicket and multiple views

2008-02-06 Thread Patrick Angeles
So long as everything runs in the same webapp, you should be able to use the same model. From a wicket application, you can always get to the request object to get to the virtual host, so you can use that info to present a different view. Mathias P.W Nilsson wrote: > > Hi! > > I have one model

[wicketstuff] Accordion component?

2008-02-06 Thread Nino Saturnino Martinez Vazquez Wael
I almost have a component ready for wicketstuff.. Should I spend the extra hour generalizing it and putting it up on wicketstuff? http://www.hedgerwow.com/360/mwd/accordion/demo.php -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 --

localization

2008-02-06 Thread Nino Saturnino Martinez Vazquez Wael
Hi If you have trouble localizing your backend components, domain classes etc... Look no futher:) http://code.google.com/p/jpa-translator/ (licensed under apache) Disclaimer, im one of the authors:) But it fits really great into wicket and it's plugable too... -- Nino Martinez Wael Java Sp

Re: Mounting page at root

2008-02-06 Thread oliverw
All right. Now I feel stupid. Thanks it worked! Janos Cserep-3 wrote: > >> >> Is it possible at all to have content at / ? Trying to mount something at >> "/" >> results in an error and I'm wondering of there's a workaround. > > > By default it displays your home page (actually the page repre

Re: Evaluating Wicket

2008-02-06 Thread djo.mos
Hi, I'm myself discovering Wicket, but I'll try to nswer some of your questions ;) René Samselnig wrote: > > * What experience do you have regarding performance of wicket > applications? > I haven't built a large application with Wicket yet, but in a JPA CRUD examples I made, Wicket performs

Re: Evaluating Wicket

2008-02-06 Thread Scott Swank
The chief advantage in my mind is that the code is all Java. I was easily (2 dozen lines of code) able to write a behavior that replicates model between related form components so that when someone types a first name into a field it is replicated to other first name fields and those fields are upd

Re: Evaluating Wicket

2008-02-06 Thread Patrick Angeles
Hi Rene, Some answers... * What experience do you have regarding performance of wicket applications? We're still in development, but so far performance hasn't been an issue. * Is there a way to cluster wicket applications? Yes. Same way you would cluster any webapp. Wicket also has a number of

Re: Problems with ResourceModel and StringResourceModel

2008-02-06 Thread Igor Vaynberg
dont know about 1.2, but in 1.3 there is a constructor that takes an instance of application, so you would do new WicketTester(new MyApplication()); -igor On Feb 6, 2008 9:11 AM, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > How to make it use my application subclass? > WicketTester.set(Appli

CompoundModel based on proxies

2008-02-06 Thread Scott Swank
One of our more clever developers created a CompoundPropertyModel that uses a cglib proxy to strongly bind the mutators to the model. It looks like this: SharedPropertyModel model = new SharedPropertyModel(customer); this.setModel(model); FormCompo

Re: Evaluating Wicket

2008-02-06 Thread djo.mos
Ah, just an addition about performance: Session size can be a bottleneck in performance, so one have just to be careful about what to put in his session and by using detachable models for example. -- View this message in context: http://www.nabble.com/Evaluating-Wicket-tp15306535p15309398.ht

RE: CompoundModel based on proxies

2008-02-06 Thread Hoover, William
very nice! -Original Message- From: Scott Swank [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 12:57 PM To: Wicket User List Subject: CompoundModel based on proxies One of our more clever developers created a CompoundPropertyModel that uses a cglib proxy to strongly bind th

Re: localization

2008-02-06 Thread Nino Saturnino Martinez Vazquez Wael
As you might have guessed we use cglib to wrap domain classes and proyx them... This approach lets you "inject" localizing into existing systems.. So you do this: @Translatable public class Hotel { private Long id; private String name; @Translate private String description; [...getter

Re: [wicketstuff] Accordion component?

2008-02-06 Thread Uwe Schäfer
Nino Saturnino Martinez Vazquez Wael schrieb: I almost have a component ready for wicketstuff.. Should I spend the extra hour generalizing it and putting it up on wicketstuff? http://www.hedgerwow.com/360/mwd/accordion/demo.php SURE!

Re: CompoundModel based on proxies

2008-02-06 Thread Carl-Eric Menzel
Scott Swank wrote: > We're happy to share if folk like this approach. N.B. that the .to() > call is for readability rather than out of any necessity. I'm quite interested in this. This looks like it is just crazy and clever enough to be really useful :-) Thanks! Carl-Eric --

Re: Some questions - mainly about session expiration and serialization

2008-02-06 Thread Fabrizio Giudici
Are you using our modal window implementation or your own? Wicket implementation. BTW, I have another modal window that doesn't create problem. I'll later post the code, when I'm able to cut it down. 3. I have still some confusion about serialization of things in sessions. I've always

Re: localization

2008-02-06 Thread Edward Yakop
> Translator translator = new Translator( Locale.GERMAN ); > Hotel translatedHotel = translator.translate( hotel ); > translatedHotel.getDescription(); // return description in german > translatedHotel.setDescription( "die Beschreibung" ); // persist german > description I think it would be very

Re: Some questions - mainly about session expiration and serialization

2008-02-06 Thread Igor Vaynberg
On Feb 6, 2008 10:28 AM, Fabrizio Giudici <[EMAIL PROTECTED]> wrote: > > > > > Are you using our modal window implementation or your own? > > Wicket implementation. BTW, I have another modal window that doesn't > create problem. I'll later post the code, when I'm able to cut it down. are you using

Trouble with IE and images loaded through css

2008-02-06 Thread Philip A. Chapman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guys, Under the source dir that contains my page and html, I have two dirs, css and images. Inside css, I have two files, main.css and ie.css. These css files reference images, such as: main.css: a.download-but{ float:right; width:1

adding extra javascript call in CheckBox

2008-02-06 Thread Beyonder Unknown
Hi All, I was wondering if there's a way to add or decorate a javascript call in CheckBox? What I did was: new CheckBox("checkBox", new Model()) { protected void onComponentTag(ComponentTag tag) { tag.put("onclick","executeSomething();");

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Igor Vaynberg
tag.put("onclick","executeSomething();"+tag.getattributes().get("onclick")); -igor On Feb 6, 2008 10:39 AM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > Hi All, > > I was wondering if there's a way to add or decorate a javascript call in > CheckBox? What I did was: > > new CheckBox("checkBox"

Re: IPropertyResolver interface for property models

2008-02-06 Thread Johan Compagner
Why not just return a hashmap as the model object and have besides that hashmap your real object On 2/6/08, Daniel Stoch <[EMAIL PROTECTED]> wrote: > On Feb 6, 2008 3:45 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > > If we has such an interface then we need to rewrite most things because > now

Re: [wicketstuff] Accordion component?

2008-02-06 Thread Advanced Technology®
+1 2008/2/6, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>: > > I almost have a component ready for wicketstuff.. Should I spend the > extra hour generalizing it and putting it up on wicketstuff? > > http://www.hedgerwow.com/360/mwd/accordion/demo.php > > -- > Nino Martinez Wael > Java

Re: Evaluating Wicket

2008-02-06 Thread Jonathan Locke
be careful only to evaluate performance in wicket in deployment mode. development mode is subject to a potentially very high level of overhead that you don't want to profile. René Samselnig wrote: > > Hi people, > > currently I'm evaluating wicket as the future framework in our company. I > a

Re: Reloading resource

2008-02-06 Thread gantini
Strangethis dosn't work for me... When wicket starts, in the tomcat console I can read: *** WARNING: Wicket is running in DEVELOPMENT mode. *** *** ^^^**

Re: Evaluating Wicket

2008-02-06 Thread Eelco Hillenius
> currently I'm evaluating wicket as the future framework in our company. I > already found a lot of information but still there is some missing. Don't forget to read the first chapter of Wicket In Action, which you can download for free at: http://www.manning.com/dashorst/. I do my best there to

Re: Trouble with IE and images loaded through css

2008-02-06 Thread Matej Knopp
Hi, I'm affraid the url for alphaimageloader needs to be absolute. IE can't handle relative urls for filters. That is a problem because in wicket all you get are relative URLs. And you probably don't want to tie your application to a specific context anyway. I've personally have resigned to try

Re: IPropertyResolver interface for property models

2008-02-06 Thread Daniel Stoch
This is exactly how ObjectEditor default implementation would looks like: it contains hashmap for edited values. Simple HashMap as a model is not a good solution, because you must somehow initialize it with object properties' values first. I think a better is to hide such details inside an in

Re: Trouble with IE and images loaded through css

2008-02-06 Thread Philip A. Chapman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks Matej. For now, I've converted to .gif until I can find a better solution. Matej Knopp wrote: > Hi, > > I'm affraid the url for alphaimageloader needs to be absolute. IE > can't handle relative urls for filters. That is a problem because in >

Re: Reloading resource

2008-02-06 Thread Konstantin Ignatyev
I have seen the behavior but that seems to be endemic to windows. I have not seen that on Linux or OS X. On Wed, Feb 6, 2008 at 12:08 PM, gantini <[EMAIL PROTECTED]> wrote: > > Strangethis dosn't work for me... > When wicket starts, in the tomcat console I can read: > > **

Re: Reloading resource

2008-02-06 Thread Martijn Dashorst
Does your IDE copy the HTML files over to the classpath? Martijn On 2/6/08, gantini <[EMAIL PROTECTED]> wrote: > > Strangethis dosn't work for me... > When wicket starts, in the tomcat console I can read: > > > *** WARNING:

Re: Reloading resource

2008-02-06 Thread Martijn Dashorst
How do you modify the html, in what tool, how do you ensure the html gets inside the deployed and unpacked war running in tomcat? Martijn On 2/6/08, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Does your IDE copy the HTML files over to the classpath? > > Martijn > > On 2/6/08, gantini <[EMAIL PR

Re: Trouble with IE and images loaded through css

2008-02-06 Thread Matej Knopp
You can have transparent pngs without alpha blending (1 bit transparency). I believe IE6 supports that. It's useful if your images need more than 255+1 color palette. -Matej On Feb 6, 2008 9:42 PM, Philip A. Chapman <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >

Re: IPropertyResolver interface for property models

2008-02-06 Thread Daniel Stoch
Well I forget that PropertyResolver works with maps, so custom models probably are not necessary then :). Thanks for tip. But in my application I have to use some solutions from other application layer (persistance layer), where a special mechanisms to track changes in objects are implemented

RE: mounted url bug or request for enhancement

2008-02-06 Thread Dan Kaplan
I didn't see any response to this so I'm going to bump it once. -Original Message- From: Dan Kaplan [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 05, 2008 11:36 AM To: users@wicket.apache.org Subject: RE: mounted url bug or request for enhancement I made a very big typo in that last

Re: Reloading resource

2008-02-06 Thread Igor Vaynberg
im on windows and have never experienced this... -igor On Feb 6, 2008 12:22 PM, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: > I have seen the behavior but that seems to be endemic to windows. > I have not seen that on Linux or OS X. > > > On Wed, Feb 6, 2008 at 12:08 PM, gantini <[EMAIL PROTE

Re: Reloading resource

2008-02-06 Thread Igor Vaynberg
test it out this way: go here http://wicket.apache.org/quickstart.html copy and paste the maven command to create a quickstart project find the Start class, right click and do "run as java application" this will start embedded jetty, go to localhost:8080, then find Index.html, edit it, and refr

Re: CompoundModel based on proxies

2008-02-06 Thread Martijn Dashorst
please share for Wicket 1.4, if cglib's license is permitting, I think we should add this to core. Martijn On 2/6/08, Scott Swank <[EMAIL PROTECTED]> wrote: > One of our more clever developers created a CompoundPropertyModel that > uses a cglib proxy to strongly bind the mutators to the model. I

Re: CompoundModel based on proxies

2008-02-06 Thread Igor Vaynberg
if not cglib i can rewrite that with asm, its license is very liberal and we can even embed it into wicket - at least thats what ive done for salve to avoid version conflicts with other asm versions. -igor On Feb 6, 2008 1:04 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > please share for Wic

Re: loosely coupled panels: react to model object change

2008-02-06 Thread Daniel Stoch
Hi, I have implemented such model (as Johan wrote) in our application. It uses observer pattern and it has methods like: addListener, removeListener and notify(Event event) (Event is an enum). Each panel register itself as a proper "events" listener and in onClick() you can simply call mo

Can i assign parameters while calling the application?

2008-02-06 Thread Per Newgro
Hi *, i use an application. This will be called by different urls via filters in web.xml I set a custom init-param for every filter. I can access the parameter and thus load my data based on the value. So far all ok. But i'm tired of adding always a new filter and the definition to the web.xml I

Re: CompoundModel based on proxies

2008-02-06 Thread Scott Swank
The cglib website http://cglib.sourceforge.net/ points here for their license: http://www.apache.org/foundation/licence-FAQ.html So I don't think there are any issues. :) Are there any issues with attaching a zip file to an e-mail, or would you prefer another means? On Feb 6, 2008 1:06 PM, Igor

Re: Reloading resource

2008-02-06 Thread djo.mos
Hi, gantini wrote: > > But when I modify any html file, no reload is performed :-(( > This may take time, especially with HTML files (in opposition to class files change) and in an unvisible manner (again in opposition to class files change where Tomcat reloads the context). Try waiting f

Re: CompoundModel based on proxies

2008-02-06 Thread Daniel Stoch
I'm quite interested too. Daniel On 2008-02-06, at 19:27, Carl-Eric Menzel wrote: Scott Swank wrote: We're happy to share if folk like this approach. N.B. that the .to() call is for readability rather than out of any necessity. I'm quite interested in this. This looks like it is just crazy

Re: CompoundModel based on proxies

2008-02-06 Thread Igor Vaynberg
jira, that way you can click the "im donating attachment to the project through ASL license" checkbox -igor On Feb 6, 2008 1:10 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > The cglib website http://cglib.sourceforge.net/ points here for their > license: http://www.apache.org/foundation/licence-F

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Beyonder Unknown
Thanks Igor! I appreciate the prompt reply. Best, Wen Tong -- The only constant in life is change. - Original Message From: Igor Vaynberg <[EMAIL PROTECTED]> To: users@wicket.apache.org Sent: Wednesday, February 6, 2008 10:45:52 AM Subject: Re: adding extra javascript call in CheckBox

Re: CompoundModel based on proxies

2008-02-06 Thread Scott Swank
https://issues.apache.org/jira/browse/WICKET-1327 On Feb 6, 2008 1:12 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > jira, that way you can click the "im donating attachment to the > project through ASL license" checkbox > > -igor > > > > On Feb 6, 2008 1:10 PM, Scott Swank <[EMAIL PROTECTED]> wro

AJAX mouseover popup

2008-02-06 Thread Niels Bo
Hi I am looking for some wicket code or a component that can show mouseover popups loaded by AJAX. Exactly as can be seen on this page http://www.mathertel.de/AJAXEngine/S03_AJAXControls/AJAXPopUpDemo.aspx http://www.mathertel.de/AJAXEngine/S03_AJAXControls/AJAXPopUpDemo.aspx Many thanks if

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Beyonder Unknown
Another thing that is confusing to me is that, why is it that when I override the onComponentTag() the "name" attribute in the generated markup disappear. I'm just appending function in the onClick when I override onComponentTag(). Thoughts? Thanks, Wen Tong -- The only constant in life is c

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Igor Vaynberg
because you dont call super.oncomponenttag() -igor On Feb 6, 2008 2:14 PM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > Another thing that is confusing to me is that, why is it that when I override > the onComponentTag() the "name" attribute in the generated markup disappear. > I'm just app

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Beyonder Unknown
Never mind, I noticed that it doesn't call the super.onComponentTag(). my bad. Wen Tong -- The only constant in life is change. - Original Message From: Beyonder Unknown <[EMAIL PROTECTED]> To: users@wicket.apache.org Sent: Wednesday, February 6, 2008 2:14:12 PM Subject: Re: adding

Re: CompoundModel based on proxies

2008-02-06 Thread Martijn Dashorst
Thanks! And I always thought: what happens in Vegas, stays in Vegas... Martijn On 2/6/08, Scott Swank <[EMAIL PROTECTED]> wrote: > https://issues.apache.org/jira/browse/WICKET-1327 > > On Feb 6, 2008 1:12 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > jira, that way you can click the "im donati

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Beyonder Unknown
Thanks Igor! -- The only constant in life is change. - Original Message From: Igor Vaynberg <[EMAIL PROTECTED]> To: users@wicket.apache.org Sent: Wednesday, February 6, 2008 2:19:44 PM Subject: Re: adding extra javascript call in CheckBox because you dont call super.oncomponentt

RE: Passing list of POJOs to AutoCompleteTextField?

2008-02-06 Thread Michael Mehrle
I would be happy to - what is the URL for this? (first time - new contributor). In that context - I recently grepped through the Wicket source and noticed that all the javascript event calls (onchange, onclick, etc.) are all in the code as plain strings, which is bad practice. Thus I wrote a *Java

Re: Reloading resource

2008-02-06 Thread gantini
djo.mos wrote: > > Try waiting for some seconds and keep hitting the refresh button. > Something wrong in my project I'm wait for some minutes, and nothing was happened -- View this message in context: http://www.nabble.com/Reloading-resource-tp15268997p15322083.html Sent from the Wi

Re: Reloading resource

2008-02-06 Thread Martijn Dashorst
If you use any IDE other than Eclipse, you have to *make* the project in order to get the html files to refresh. Martijn On 2/7/08, gantini <[EMAIL PROTECTED]> wrote: > > > djo.mos wrote: > > > > Try waiting for some seconds and keep hitting the refresh button. > > > > Something wrong in my proje

Re: Reloading resource

2008-02-06 Thread gantini
I don't wont using Jetty I'm Tomcat fan :-) I'm usually use Eclipse+MyEclise+Tomcat for my web application (spring MVC). Is a Tomcat-wicket integration problem? igor.vaynberg wrote: > > test it out this way: > > go here > > http://wicket.apache.org/quickstart.html > > copy and paste th

Re: Reloading resource

2008-02-06 Thread gantini
Windows?!!?! What's Windows? :-) No windows in my computer! I'm using ***ONLY*** Linux Konstantin Ignatyev-3 wrote: > > I have seen the behavior but that seems to be endemic to windows. > I have not seen that on Linux or OS X. > > On Wed, Feb 6, 2008 at 12:08 PM, gantini <[E

Re: Reloading resource

2008-02-06 Thread Igor Vaynberg
there is no tomcat-wicket integration, just like there is no jetty-wicket integration. you simply have to make your ide copy files to where tomcat loads them from when they are saved. -igor On Feb 6, 2008 3:11 PM, gantini <[EMAIL PROTECTED]> wrote: > > I don't wont using Jetty I'm Tomcat fan

Re: Reloading resource

2008-02-06 Thread gantini
Yes!!! I'm use Eclipe+Myeclipse. When I change an HTML file, this is automatically deployed. I've checked the file on the tomcat dir and it is changed :-( Martijn Dashorst wrote: > > How do you modify the html, in what tool, how do you ensure the html > gets inside the deployed and unpack

Re: CompoundModel based on proxies

2008-02-06 Thread Scott Swank
No problem. I didn't even write a line of it. :) On Feb 6, 2008 2:30 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Thanks! And I always thought: what happens in Vegas, stays in Vegas... > > > Martijn - To unsubscribe, e-mai

Re: CompoundModel based on proxies

2008-02-06 Thread Martijn Dashorst
On 2/7/08, Scott Swank <[EMAIL PROTECTED]> wrote: > No problem. I didn't even write a line of it. :) Just for the record keeping: are you allowed to grant us the use of said model? Typically that should be done by the original copyright holder. Martijn -- Buy Wicket in Action: http://manning.

Re: CompoundModel based on proxies

2008-02-06 Thread Scott Swank
I have his approval, but I can get him if you like. Let me know either way. On Feb 6, 2008 3:22 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > On 2/7/08, Scott Swank <[EMAIL PROTECTED]> wrote: > > No problem. I didn't even write a line of it. :) > > Just for the record keeping: are you allow

Re: Reloading resource

2008-02-06 Thread gantini
Using quickstart and Jetty project (with eclispe) all work correctly I think that the problem is in myeclipse+tomcat igor.vaynberg wrote: > > test it out this way: > > go here > > http://wicket.apache.org/quickstart.html > > copy and paste the maven command to create a quickstart pr

  1   2   >