Regarding Modification file Watcher

2007-09-03 Thread Edi
Hello, I have one server path folder. It contains .xls files. I want to check what are the current updated xls file. and insert that xls file name into db. for eg. i have a folder FOLDER1, It contains sales.xls, report.xls. If I change and save this file. Our program(file watcher) have to know

SigIn page example not working for me.

2007-09-03 Thread Alex Shneyderman
I have an index page where I want to include a SignIn panel. So I do this for the page: public class IndexPage extends WebPage { private static final long serialVersionUID = 1L; public IndexPage() { this(null); } /** * Constructor tha

Session-Timeout Exception

2007-09-03 Thread Jan Kriesten
Hi, when a Session-Timeout occurs, the following Exception is thrown when the user gets active again: ---8<--- 2007-09-03 16:41:26,316 ERROR [org.apache.wicket.RequestCycle ] - Cannot find the rendered page in session [pagemap=nu ll,componentPath=10,versionNumber=0] org.apache.wick

Re: AjaxFallbackButton really require Form in constructor?

2007-09-03 Thread Matthijs Wensveen
Ah yes, you're right. Sorry 'bout that. Matej Knopp wrote: This would be wrong, as during constructor the component is not yet added to any parent. -Matej On 9/3/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: Or maybe: public AjaxButton(String id) { this(id, getForm());

Re: HELP with Link and External Link

2007-09-03 Thread Eelco Hillenius
On 9/3/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > great igor, thanks > > On 9/4/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > > > > its actualy simple what I am asking > > > > There is Link and there is ExternalLink > > > > ExternalLink takes you out of Wicket > > > > Link process inte

Re: HELP with Link and External Link

2007-09-03 Thread Ayodeji Aladejebi
great igor, thanks On 9/4/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > > its actualy simple what I am asking > > There is Link and there is ExternalLink > > ExternalLink takes you out of Wicket > > Link process internal wicket based actions and moves to another wicket > page > > > My Banner

Re: HELP with Link and External Link

2007-09-03 Thread Ayodeji Aladejebi
its actualy simple what I am asking There is Link and there is ExternalLink ExternalLink takes you out of Wicket Link process internal wicket based actions and moves to another wicket page My Banner points to an external link, however I want to register a click count on that banner before navi

Re: HELP with Link and External Link

2007-09-03 Thread Igor Vaynberg
add(new link("ad") { onclick() { count++; getrequestcycle().setrequesttarget(new redirectrquesttarget(url)); } -igor On 9/3/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > > I am writing a simple ad system where i only decide the external link to > navigate to dynamically from the server

Re: HELP with Link and External Link

2007-09-03 Thread David Leangen
Can you post some code? It's hard to understand what you're asking... On Tue, 2007-09-04 at 05:05 +0100, Ayodeji Aladejebi wrote: > I am writing a simple ad system where i only decide the external link to > navigate to dynamically from the server > > this is getting complicated from simple wi

HELP with Link and External Link

2007-09-03 Thread Ayodeji Aladejebi
I am writing a simple ad system where i only decide the external link to navigate to dynamically from the server this is getting complicated from simple wicket components. I need to register the click count on that banner before navigating to the external link can someone help me with a way of o

Re: When model updated,why SortableDataProvider.size() sometimes does not perform?

2007-09-03 Thread Igor Vaynberg
abstractpageableview caches the size() of the list - which can lead to this. try with latest trunk, i believe i just fixed it. -igor On 9/3/07, J2EEKevinLIu Liu <[EMAIL PROTECTED]> wrote: > > public class SortableUserDataProvider extends SortableDataProvider { > private static final long ser

Re: Change of Button interface

2007-09-03 Thread David Leangen
Jira issue filed: https://issues.apache.org/jira/browse/WICKET-922 Well, I'm just looking at the Form class. I can't say for sure if there are any other problem areas or not, at this point I'm just mentioning what's causing a compile error for me. If we change Button to IFormSubmittingComponent,

When model updated,why SortableDataProvider.size() sometimes does not perform?

2007-09-03 Thread J2EEKevinLIu Liu
public class SortableUserDataProvider extends SortableDataProvider { private static final long serialVersionUID = 295668074163742165L; public SortableUserDataProvider() { setSort("id", true); } public Iterator iterator(int first, int count) { DetachedCriteria criteria = queryFor

Re: NoClassDefFoundError: Tomcat problem?

2007-09-03 Thread Igor Vaynberg
go to quickstart dir and run "mvn package", that will create a war you can deploy on any servlet container. -igor On 9/3/07, Ghodmode <[EMAIL PROTECTED]> wrote: > > On 9/4/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > make sure your wicket-1.3.0-beta3 jar is good, looks like tomcat has a

Re: NoClassDefFoundError: Tomcat problem?

2007-09-03 Thread Ghodmode
On 9/4/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > make sure your wicket-1.3.0-beta3 jar is good, looks like tomcat has a > problem opening it and finding the webapp calss. The JAR file is good. I was able to compile against it and look at it and unzip it to look at the files and confirm th

Re: NoClassDefFoundError: Tomcat problem?

2007-09-03 Thread Igor Vaynberg
make sure your wicket-1.3.0-beta3 jar is good, looks like tomcat has a problem opening it and finding the webapp calss. also on a related note hellowicket.html should be in the same dir as hellowicket.java if you cant get it to work i strongly recommend creating an app using our maven2 quickstart

NoClassDefFoundError: Tomcat problem?

2007-09-03 Thread Ghodmode
I'm having a problem deploying a Wicket application, so I create a basic HelloWicket app and I'm still getting the problem: java.lang.NoClassDefFoundError: org/apache/wicket/protocol/http/WebApplication Apache Tomcat 6.0.14 Java 1.6.0_02-b05 Wicket 1.3.0-beta3 I think that this is a Tomcat probl

Re: London Wicket User Group - Wednesday, 5th September 2007

2007-09-03 Thread jweekend
To those of you that received my email about the tube strike in London, I can confirm that our event will go ahead as planned (see below); thanks to those of you that already replied saying they can still make it. Anyone else that would like to join us on Wednesday evening can still register at

Re: Trying to make a singleton out of session

2007-09-03 Thread Eelco Hillenius
On 9/3/07, Cristi Manole <[EMAIL PROTECTED]> wrote: > I don't know why, but it works out of the box :) > > The only problem was that i was making this call > mountBookmarkablePage("/index.html", Home.class); > > in the home application init. > > I moved it in another application (that takes care of

Dojo maximize button

2007-09-03 Thread Cristi Manole
Hello, I don't know if this is the right place to submit this and if it isn't i'm really sorry... please let me know... When I click to maximize the dojo floating pane (not modal), it moves to the top of the browser's client window and resizes to something less than what it was originally. Ho

Re: Trying to make a singleton out of session

2007-09-03 Thread Cristi Manole
I don't know why, but it works out of the box :) The only problem was that i was making this call mountBookmarkablePage("/index.html", Home.class); in the home application init. I moved it in another application (that takes care of signin) and it all the "applications" work like a charm. I hav

Re: How to set wicket's locale?

2007-09-03 Thread Eelco Hillenius
> Thanks for the support and ideas. > But for the record: > Overriding getLocale() would surely work, but sounds like even worse > of a hack than setLocale(_) No, if you override it, it will *always* return the value you provide. The locale member obviously wouldn't be use unless you yourself use

Re: How to set wicket's locale?

2007-09-03 Thread Gabor Szokoli
On 9/3/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > I use wicket 1.2 for now. > > Yeah, unfortunately it doesn't work for 1.2. It's one of the > improvements for 1.3. We'll upgrade for the next release once this one is out... > But either override getLocale in your session, or set it using

Re: Trying to make a singleton out of session

2007-09-03 Thread Eelco Hillenius
> java.lang.IllegalStateException: Request processing executed 100 steps, which > means it is probably in an infinite loop. This was fixed *after* beta 3 came out: an exception during error handling could result in a cycle. Eelco -

Re: Trying to make a singleton out of session

2007-09-03 Thread Eelco Hillenius
On 9/3/07, Cristi Manole <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to make WebSession as a singleton available to all wicket > applications in order to provide single sign on. That won't work just like that. If you want a wicket session object that is shared amongst all Wicket applicatio

Trying to make a singleton out of session

2007-09-03 Thread Cristi Manole
Hello, I'm trying to make WebSession as a singleton available to all wicket applications in order to provide single sign on. Authorisation is being performed with Spring JDBC. The problem is this: SEVERE: Servlet.service() for servlet default threw exception java.lang.IllegalStateException:

Re: How to set wicket's locale?

2007-09-03 Thread Eelco Hillenius
> I use wicket 1.2 for now. Yeah, unfortunately it doesn't work for 1.2. It's one of the improvements for 1.3. But either override getLocale in your session, or set it using a custom session factory. Eelco - To unsubscribe, e-m

Re: Filter source question ...

2007-09-03 Thread Eelco Hillenius
On 9/3/07, Alex Shneyderman <[EMAIL PROTECTED]> wrote: > I am looking at the source of org.apache.wicket.protocol.http.WicketFilter > and see this in the init method: > > ... > > final ClassLoader previousClassLoader = > Thread.currentThread().getContextClassLoader(); >

Re: Filter source question ...

2007-09-03 Thread Alex Shneyderman
Never mind, figured it out. On 9/3/07, Alex Shneyderman <[EMAIL PROTECTED]> wrote: > I am looking at the source of org.apache.wicket.protocol.http.WicketFilter > and see this in the init method: > > ... > > final ClassLoader previousClassLoader = > Thread.currentThread().getContex

Re: Component Factory and code against interface

2007-09-03 Thread Eelco Hillenius
> igor.vaynberg wrote: > > > > On 8/23/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > > >> heh, there is nothing that automatically marks components as dirty() > >> because > >> wicket doesnt know what you do inside your components. wicket is > >> unmanaged. > > > If I do Component.setVersioned(true)

Filter source question ...

2007-09-03 Thread Alex Shneyderman
I am looking at the source of org.apache.wicket.protocol.http.WicketFilter and see this in the init method: ... final ClassLoader previousClassLoader = Thread.currentThread().getContextClassLoader(); final ClassLoader newClassLoader = getClassLoader();

Re: compressing javascript resources

2007-09-03 Thread Eelco Hillenius
On 9/1/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Well, I certainly didn't want to reinvent the wheel. But all existing > solutions I was able to find either relied on a third part library > (shrinksafe) or had license not compatible with ASL. So I just wrote a > simple stripper. I think it still

Re: compressing javascript resources

2007-09-03 Thread Eelco Hillenius
> I use a other approach for the same goal (http optimization), to avoid > minification and compression at run-time do it at compile-time. But if you do it at run-time once and cache the results (like we do) you can keep things a lot simpler and automatic. Eelco

Re: compressing javascript resources

2007-09-03 Thread Martijn Dashorst
On 9/3/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > Also, for what it's worth, the current wicket JavascriptStripper breaks on > my app. I'm using prototype and scriptaculous, and when I enable the > current wicket compression, my app no longer works. I get javascript errors > left and right. > >

Re: compressing javascript resources

2007-09-03 Thread Ryan Sonnek
Most of the "good" minification libraries do more than just stripping comments. usual features include: * strip comments * rename local variables to save space (ex: myLocalVariable becomes a) * collapse string concatination. this is a nice performance enhancement that will change multiline/verbos

Re: Houdini FeedBackPanel Problem

2007-09-03 Thread Anthony J Webster
D'oh. Ignore the javascript. I was testing sometning and it would seem I forgot to remove it all before uploading the quickstart. Is there a way I can register my error as a regular validation error from the onSubmit()? Or somehow deactivate the validation behaviour until after the submission

Re: compressing javascript resources

2007-09-03 Thread Matej Knopp
Yeah, we strip commends, there are tools that can also reduce things like local variable names, etc. -Matej On 9/3/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > well yeah, but we _already_ strip comments, that is why i was wondering > what > the point of a plugin-minification would be. > > -ig

Re: Houdini FeedBackPanel Problem

2007-09-03 Thread Matej Knopp
Hi, there are multiple problems with your code. First you have document.getElementById('a'). In your page's header. That's a javascript error (trailing .). Also you've attached validating behavior in onblur. That's the behavior that clears feedback from your panel. Your problem is

Re: AJAX and Components Hierarchy

2007-09-03 Thread Igor Vaynberg
sounds like you are reusing the model instances? if you do not want the change to propogate then simply clone the model before passing it on to a child so instead of class mypanel extends panel { public mypanel(id, model) { add(new dropdownchoice("id", _model_, ... do add(new dropd

Re: compressing javascript resources

2007-09-03 Thread Igor Vaynberg
well yeah, but we _already_ strip comments, that is why i was wondering what the point of a plugin-minification would be. -igor On 9/3/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Well, I don't find it surprising. Lot of javascript code are comments, and > if you strip them out, you have less

Re: Palette and FormTester

2007-09-03 Thread Jean-Baptiste Quenot
* mperham: > > It's hackish but this modified selectMultiple works for me: > > public void selectMultiple(String formComponentId, int[] indexes) > { > checkClosed(); > > // This is a hack to get Palette selection working with > FormTester. >

Re: How to get HTML source code from a wicket page

2007-09-03 Thread Jean-Baptiste Quenot
* oliver.henlich: > > Hi Jean-Baptiste, just wondering if you got a chance to look at this? Hi Oliver, I have identified the bug thanks to your stacktrace, and it would be great if you could file an issue on JIRA. Something like: ExceptionErrorPage only works with WebResponse Thanks in advance

Houdini FeedBackPanel Problem

2007-09-03 Thread Anthony J Webster
Hello, I'm having some trouble with FeedbackPanel. I have an ajax validated form and submit button. Whenever a component looses focus it and the others are validated and if there are errors these are displayed in the single feedbackpanel abover the form. This works fine however I have a problem

Re: How to exclude from model update

2007-09-03 Thread Matej Knopp
Can you please provide more code and entire stacktrace? -Matej On 9/3/07, Ian Godman <[EMAIL PROTECTED]> wrote: > > Wicket version is 1.3 beta 2 > > - Original Message > From: Matej Knopp <[EMAIL PROTECTED]> > To: users@wicket.apache.org > Sent: Monday, 3 September, 2007 3:31:18 PM > Sub

Re: How to exclude from model update

2007-09-03 Thread Ian Godman
Wicket version is 1.3 beta 2 - Original Message From: Matej Knopp <[EMAIL PROTECTED]> To: users@wicket.apache.org Sent: Monday, 3 September, 2007 3:31:18 PM Subject: Re: How to exclude from model update What wicket version are you using? -Matej On 9/3/07, Ian Godman <[EMAIL PROTECTED]>

Re: How to exclude from model update

2007-09-03 Thread Matej Knopp
Yeah, but this way you are treating only effect. I think the error shouldn't happen in a first place. -Matej On 9/3/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > > You could give it a dummy IModel of just new Model()... > > > Ian Godman wrote: > > > > Hi > > > > I have a little problem with an A

Re: How to exclude from model update

2007-09-03 Thread Sam Hough
You could give it a dummy IModel of just new Model()... Ian Godman wrote: > > Hi > > I have a little problem with an AJAX submit button. > > The template is: > > > In the java this is: > add( new AjaxSubmitLink("AddButton-link"){ > private static final l

Re: How to exclude from model update

2007-09-03 Thread Matej Knopp
What wicket version are you using? -Matej On 9/3/07, Ian Godman <[EMAIL PROTECTED]> wrote: > > Hi > > I have a little problem with an AJAX submit button. > > The template is: > > > In the java this is: > add( new AjaxSubmitLink("AddButton-link"){ > private st

How to exclude from model update

2007-09-03 Thread Ian Godman
Hi I have a little problem with an AJAX submit button. The template is: In the java this is: add( new AjaxSubmitLink("AddButton-link"){ private static final long serialVersionUID = 1L; @Override public void onSubmit(AjaxReques

Re: Aspectj loadtime weaving and reloading servlet

2007-09-03 Thread Jean-Baptiste Quenot
* Carlos Pita: > That is the customary message the reloading servlet shows after > reloading any changes. What is new is the output from the weaver > above it. I guess the reloading classloader has to reinstantiate > itself in order to load new versions of the same old classes, > and this is

Re: wicketstuff-dojo: deprecated warnings?

2007-09-03 Thread Vincent Demay
Hi, I'll try to have a look to that ASAP, could you please open an issue for that : http://wicketstuff.org/jira Cheers, -- Vincent Thies Edeling wrote: Using the DojoDatePicker widget from wicketstuff-dojo (1.3.0-beta) gives a dojo warning: DEBUG: DEPRECATED: dojo.widget.Manager.getImple

Re: AjaxFallbackButton really require Form in constructor?

2007-09-03 Thread Matej Knopp
If you need to access your component's parent in a safe way, the first method when you can do that is onBeforeRender(). -Matej On 9/3/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > > Would that not be too soon? The Button could not have been added to a form > yet? > > My particular use case is that

Re: WicketTester, testing Form and SubmitLink

2007-09-03 Thread Jean-Baptiste Quenot
* wicket user: > > I'm trying to test a form submission with SubmitLink, test code below: > > tester.setParameterForNextRequest("numberChangeForm:numberToChangeTo", > numberToChangeTo); > > reset(smsServiceMock); > smsServiceMock.sendActivationSms(isA(Subscriber.class));

Re: AjaxFallbackButton really require Form in constructor?

2007-09-03 Thread Sam Hough
Would that not be too soon? The Button could not have been added to a form yet? My particular use case is that I have a chunk of code that returns a tree of components that may not yet be attached to a page/form... Matthijs Wensveen-2 wrote: > > Or maybe: > > public AjaxButton(String id) >

Re: AjaxFallbackButton really require Form in constructor?

2007-09-03 Thread Matej Knopp
This would be wrong, as during constructor the component is not yet added to any parent. -Matej On 9/3/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: > > Or maybe: > > public AjaxButton(String id) > { > this(id, getForm()); > } > > > This could work the same for AjaxFallbackButt

Re: AjaxFallbackButton really require Form in constructor?

2007-09-03 Thread Matthijs Wensveen
Or maybe: public AjaxButton(String id) { this(id, getForm()); } This could work the same for AjaxFallbackButton. Matthijs Johan Compagner wrote: It is needed i guess if we say that the method protected abstract void onSubmit(AjaxRequestTarget ajaxrequesttarget, Form form1); nee

Re: wicketstuff-dojo questions and answers

2007-09-03 Thread Jean-Baptiste Quenot
* Kirk Israel: > Q. a. Why isn't this stuff documented in more depth? b. And why don't > people answer every stupid little question I have. > A. a. Wicketstuff-Dojo is still a fairly young project with people who > are currently more into coding it for more functionality than > documenting. You'r

Re: Change of Button interface

2007-09-03 Thread Johan Compagner
The intent was that not all kind of components could be a button because of the single inheritance that java gives us But like Matej said, everywhere we do an instance check of button we should change that to do it on IFormSubmittingComponent johan On 9/3/07, David Leangen <[EMAIL PROTECTED]> wr

Re: How to set wicket's locale?

2007-09-03 Thread Johan Compagner
with 1.2 you can have your session factory and after you created the session call setLocale On 9/3/07, Gabor Szokoli <[EMAIL PROTECTED]> wrote: > > On 8/22/07, Nino Saturnino Martinez Vazquez Wael > <[EMAIL PROTECTED]> wrote: > > There are some different approaches you could use... > > > > But why

Re: embedded jetty 1.3b2 -> 1.3b3 = NullPointerException

2007-09-03 Thread Matej Knopp
There seems to be something wrong with your setup, The method looks like this return (File)((WebApplication)Application.get()).getServletContext().getAttribute( "javax.servlet.context.tempdir"); If there was no application attached to current thread, you'd get different exception

Re: Component Factory and code against interface

2007-09-03 Thread Sam Hough
igor.vaynberg wrote: > > On 8/23/07, Sam Hough <[EMAIL PROTECTED]> wrote: > >> heh, there is nothing that automatically marks components as dirty() >> because >> wicket doesnt know what you do inside your components. wicket is >> unmanaged. > If I do Component.setVersioned(true) and hook in my

RE: How to set wicket's locale?

2007-09-03 Thread David Leangen
Why don't you just: @Override public Locale getLocale() { return Locale.ENGLISH; } ? > -Original Message- > From: Gabor Szokoli [mailto:[EMAIL PROTECTED] > Sent: 3 September 2007 21:04 > To: users@wicket.apache.org > Subject: Re: How to set wicket's locale? > > > On 8/22/07, N

Re: Using pickwick

2007-09-03 Thread Jean-Baptiste Quenot
* Tauren Mills: > Can someone explain how to use pickwick from wicketstuff? > > I checked out pickwick from wicketstuff trunk and did a mvn install > eclipse:eclipse. Had to turn off tests as they were failing. And I > had to download and install wicketstuff-dojo-1.3.0-SNAPSHOT manually > as mvn

Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-09-03 Thread Benjamin Ernst
Hi Iulian, I just want to check if there is any progress with this issue? Did you find anything? Benjamin 2007/8/21, Iulian Costan <[EMAIL PROTECTED]>: > > hey guys, > > i am supposed to be the maintainer of tinymce module but lately i didnt > put > much effort into it. > let me take a look and

embedded jetty 1.3b2 -> 1.3b3 = NullPointerException

2007-09-03 Thread Stojce Dimski
When using webapp as embedded in jetty (without 'web.xml') I had a NPE when passing from beta2 to beta3... Later I downloaded the sources of beta3 and I think that problem lies in: DiskPageStore-getDefaultFileStoreFolder() which returns null... ___ L'email

Re: Session.get() from non-Wicket-Filter/Servlet and the RequestCycle

2007-09-03 Thread Thomas Singer
Thanks all for your help. It works now like a charm and the own filter in front of an regular download feels very elegant. -- Cheers, Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: How to set wicket's locale?

2007-09-03 Thread Gabor Szokoli
On 8/22/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > There are some different approaches you could use... > > But why not make a parent page class where you do it in? And then > inherit from that? Or just use a custom session which does it by it > self(check out the quickst

AJAX and Components Hierarchy

2007-09-03 Thread andrea pantaleoni
Hi, I'm implementing some Behaviors in a complex page which contains many panels and components most of them nasted. Exactly now, I'm adding a behavior to a button to change the model of the entire component Then I want that the component reload the model and performe the changings Inside a Aj

Re: compressing javascript resources

2007-09-03 Thread David Bernard
Hi, I use a other approach for the same goal (http optimization), to avoid minification and compression at run-time do it at compile-time. It's what I try do, : * I first implement the yuicompressor-maven-plugin. * now I need to develop the ResourceSelector that choose the rigth file to return

Re: compressing javascript resources

2007-09-03 Thread Matej Knopp
Well, I don't find it surprising. Lot of javascript code are comments, and if you strip them out, you have less content to compress, thus the numbers are smaller. You can set as high compression as you want, but the comments still make difference. (Not so much for whitespaces imho) -Matej On 9/3/

Re: Change of Button interface

2007-09-03 Thread Matej Knopp
This needs to be sorted out. Can you please add JIRA entry? Actually, is there any other place where this causes problems apart from form.setDefaultButton? -Matej On 9/3/07, David Leangen <[EMAIL PROTECTED]> wrote: > > > Been trying to update to 1.3 and encountered some problems with > SubmitLink

Re: AjaxFallbackButton really require Form in constructor?

2007-09-03 Thread Johan Compagner
It is needed i guess if we say that the method protected abstract void onSubmit(AjaxRequestTarget ajaxrequesttarget, Form form1); needs a form parameter that can't be null Also i see something strange in the AjaxButton because if you dont give the form then the form parameter can be null: publi

AjaxFallbackButton really require Form in constructor?

2007-09-03 Thread Sam Hough
Since neither AjaxButton or Button require Form in the constructor why does AjaxFallbackButton? Seems a shame to make it required if not really needed... I'm not quite clear from the source or comments what the difference is in AjaxButton between the behaviour from the two different constructors.