Re: Ajax Redirect with Busy Indicator

2009-09-11 Thread Ernesto Reinaldo Barreiro
Why not include a script containing hideBusysign() On the page you are navigating to? Y Best, Ernesto On Fri, Sep 11, 2009 at 7:50 AM, Robert McGuinness robert.mcguinness@gmail.com wrote: I applied the busy indicator techniques found here:

Re: history.go(-1) in wickets?

2009-09-11 Thread Per Lundholm
page parameters retained? The parameters of which page? The one you are going back to? browser back button is not to be used? The browser has a back button whether you like it or not. Users may not see if you hide it but still press ALT-LEFT while cursing over you. The back button can be

Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-11 Thread nino martinez wael
Let me see if I could do that in the coming weeks. However we could have a red zone for projects that are becoming outdated.. If of course there are any? Just to tell the authors that they are in danger of being removed - attic. 2009/9/10 Jeremy Thomerson jer...@wickettraining.com: In the time

Re: How to redirect from a ModalWindow

2009-09-11 Thread Michal Kurtak
Hi Matthias, Try to navigate to another page from WindowClosedCallback window.close(target); window.setWindowClosedCallback(new WindowClosedCallback() { public void onClose(AjaxRequestTarget target) { setResponsePage(OtherPage.class); } } But remember to remove

Re: RefreshingView not Refreshing

2009-09-11 Thread Michael Mosmann
Hi, I'm wondering why the small change (see comments) to my RV causes it to not refresh automatically. A browser refresh shows the changes. The Form submit does not call the page constructor, but a browser refresh does. mm:)

Re: Ajax Redirect with Busy Indicator

2009-09-11 Thread Martin Makundi
Why not include a script containing hideBusysign() On the page you are navigating to? Y If it is external page you cannot... say a link to outlook or hiihuu.. ** Martin On Fri, Sep 11, 2009 at 7:50 AM, Robert McGuinness robert.mcguinness@gmail.com wrote: I applied the busy indicator

Re: DropDownChoice with Java Enum

2009-09-11 Thread cmoulliard
If understand correctly, the value displayed in as value in the html options will not be used to set my requestStatus property in the model class RequestFormModel but use by the DropDownchoice to find the value to be setted (like key for hashmap, index for array, ...). In consequenc,e I have to

Re: Ajax Redirect with Busy Indicator

2009-09-11 Thread Ernesto Reinaldo Barreiro
Yes, you are right! Best, Ernesto On Fri, Sep 11, 2009 at 8:59 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Why not include a script containing hideBusysign() On the page you are navigating to? Y If it is external page you cannot... say a link to outlook or hiihuu.. **

Re: Ajax Redirect with Busy Indicator

2009-09-11 Thread Ernesto Reinaldo Barreiro
Why not add this as a variation to the WIKI page [1] you have created? Ernesto [1]- http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html On Fri, Sep 11, 2009 at

Re: Ajax Redirect with Busy Indicator

2009-09-11 Thread Martin Makundi
Already done, if you look carefully :) ** Martin 2009/9/11 Ernesto Reinaldo Barreiro reier...@gmail.com: Why not add this as a variation to the WIKI page [1] you have created? Ernesto [1]- http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html

inMethod DataGrid row values

2009-09-11 Thread Oliver-Sven Fritsch
Hi group! I want to open a ModalPanel with detailed information when the user clicks on a row in my DataGrid. To do so I override the onCellClicked method. My problem is that I don't know how to get the rowdata. No matter which approach I try all I see is that I can get the information for

Re: inMethod DataGrid row values

2009-09-11 Thread Matej Knopp
onCellClicked gets the row model object as argument. Call model.getObject() to get the actual object. -Matej On Fri, Sep 11, 2009 at 9:32 AM, Oliver-Sven Fritscho...@3blogos.com wrote: Hi group! I want to open a ModalPanel with detailed information when the user clicks on a row in my

Spring annotations fail to inject into webmodels

2009-09-11 Thread pieter claassen
I am using maven, spring 2.5.6, wicket 1.4 and am trying to inject my DAO's into my wicket models but I find that Spring just ignores my advice. My question: 1. @SpringBean only works on stuff that inherits from Component. What do I do with things like session and models that don't? I am trying

Re: Ajax Redirect with Busy Indicator

2009-09-11 Thread Ernesto Reinaldo Barreiro
After refreshing the page I saw it;-) Best, Ernesto On Fri, Sep 11, 2009 at 9:29 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Already done, if you look carefully :) ** Martin 2009/9/11 Ernesto Reinaldo Barreiro reier...@gmail.com: Why not add this as a variation to the

Error flushing page

2009-09-11 Thread Anton Komratov
I’m using wicket-1.4.rc4 with Geronimo 2.1.4 (tomcat 6, java ee 5) and have got the following exception: 2009-09-11 10:10:44,212 ERROR [DiskPageStore] Error flushing page java.lang.RuntimeException: java.io.FileNotFoundException:

Re: defaultFormProcessing is no longer considered when processing multipart form in ajax request

2009-09-11 Thread Vladimir K
done https://issues.apache.org/jira/browse/WICKET-2463 Vladimir K wrote: sure igor.vaynberg wrote: i guess create a quickstart and attach it to a jira issue. when i tested buttons, while developing the feature, it seemed to work fine. -igor On Wed, Sep 9, 2009 at 10:40 PM,

Re: Spring annotations fail to inject into webmodels

2009-09-11 Thread jWeekend
Pieter, If you want to use Spring's @Configuarble you'll need to enable Load Time Weaving or Complie Time Weaving. To use @SpringBean with an object that is not a Wicket Component you need to InjectorHolder.getInjector().inject(this) on initialisation of your object. The benefit of the latter

understanding models

2009-09-11 Thread Tomek Sniadach
Hi, i have probably a simple question: I have a component (multiselection dialog in js) that should remember its selected values throwout requests. This is the job of a model. I have a constructor with a model as parameter, but on new request (page refresh) the will be constructed again with

Wicket timed events on page - how to?

2009-09-11 Thread Tomasz Dziurko
I am writing an application for testing users and two functionalities I need to implement are: 1. show/hide some components on the page after specified time (few seconds) 2. redirect to next page after specified time I was wondering how to do this, I did some google search and seems I need to

Re: DropDownChoice with Java Enum

2009-09-11 Thread Pedro Santos
Very simple: add(new DropDownChoice(requestStatus,Arrays.asList(ProcessingStatusType.values()), ... )); the constructor javadoc:

Re: understanding models

2009-09-11 Thread Pedro Santos
should remember its selected values throwout requests. This is the job of a model This is the job of a static model, maybe you are using a dynamic one. On Fri, Sep 11, 2009 at 6:27 AM, Tomek Sniadach tomek.sniad...@googlemail.com wrote: Hi, i have probably a simple question: I have a

Re: Wicket timed events on page - how to?

2009-09-11 Thread Michael Mosmann
Am Freitag, den 11.09.2009, 12:49 +0200 schrieb Tomasz Dziurko: I am writing an application for testing users and two functionalities I need to implement are: 1. show/hide some components on the page after specified time (few seconds) 2. redirect to next page after specified time I was

Re: Announcing: Scala-Wicket Extensions Project

2009-09-11 Thread Antony Stubbs
Ok yup - it's on the cards to be removed... cretzel wrote: Antony Stubbs wrote: Yes, the ⇒ is actually what the = is supposed to be in Scala, and is a UTF8 character, which I'm sure would be supported by all modern editors. I'm surprised you can't see it properly. What OS and

Re: RefreshingView not Refreshing

2009-09-11 Thread Troy Cauble
Thanks, but I don't know what that implies. Should I put the RV in the form? Should I use some Ajax so I can target.addComponent(RV) ? And most of all, why did my other variation work? It seems that the RV was being refreshed then. -troy On Fri, Sep 11, 2009 at 2:47 AM, Michael Mosmann

Re: back button using HistoryAjaxBehavior

2009-09-11 Thread fachhoch
I need help on implementing listener for browsers back or forward button , is it possible to implement ? fachhoch wrote: I want to disable back and forward button for which I followed HistoryAjaxBehavior example final AjaxLinkVoid linkTwo = new AjaxLinkVoid(linkTwo) {

Displaying column totals for a DefaultDataTable

2009-09-11 Thread Sadhna Ahuja
Hello, I have a DefaultDataTable with several amount colums. I need to display a Totals row at the bottom of the table to show the column totals. I have searched the forum, and only found suggestions to use addBottomToolbar. However, I don't know how to do this? Looking at Wicket's

Re: RefreshingView not Refreshing

2009-09-11 Thread Michael Mosmann
Hi, Thanks, but I don't know what that implies. If you post a form, then wicket will get the current page from session and call the onSubmit() for the form component. Everything else is allready there.. the RV etc. If you reload a page, wicket will build the page again.. your old page is gone.

Re: How to redirect from a ModalWindow

2009-09-11 Thread Peter Ertl
That is sick! :-( Isn't there a better solution? Am 11.09.2009 um 08:42 schrieb Michal Kurtak: Hi Matthias, Try to navigate to another page from WindowClosedCallback window.close(target); window.setWindowClosedCallback(new WindowClosedCallback() { public void onClose(AjaxRequestTarget

RequestCycle().urlFor not work

2009-09-11 Thread Dima Rzhevskiy
Hi ! I create simple page X1 with AjaxLink : .. new AjaxLink(message){ @Override public void onClick(AjaxRequestTarget ajaxRequestTarget) { CharSequence url = getRequestCycle().urlFor(X1.class, new PageParameters());

Re: Error flushing page

2009-09-11 Thread Igor Vaynberg
firstly, wicket 1.4.1 is out. secondly, it looks like you need to increase the number of open file handles allowed on your system because you are running out. one cause may be that a wicket app is deployed in development mode instead of deployment mode. -igor On Fri, Sep 11, 2009 at 1:35 AM,

Re: RequestCycle().urlFor not work

2009-09-11 Thread Jeremy Thomerson
what is incorrect about those URLs? they are relative - relative to the path you are on. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Sep 11, 2009 at 10:14 AM, Dima Rzhevskiy d...@rzhevskiy.infowrote: Hi ! I create simple page X1 with AjaxLink : .. new AjaxLink(message){

Re: RequestCycle().urlFor not work

2009-09-11 Thread Dima Rzhevskiy
Sorry, yes, urlFor return correct result. toAbsolutePath(final String relativePagePath) do not return result what I expected. javadoc copy/pasted from toAbsolutePath(final String requestPath, String relativePagePath)... I undestand that it is nessesary to use toAbsolutePath(final String

Re: Displaying column totals for a DefaultDataTable

2009-09-11 Thread Michael Mosmann
Hi, I have a DefaultDataTable with several amount colums. I need to display a Totals row at the bottom of the table to show the column totals. I have searched the forum, and only found suggestions to use addBottomToolbar. correct.. However, I don't know how to do this? Looking at Wicket's

Re: Displaying column totals for a DefaultDataTable

2009-09-11 Thread saahuja
Thanks for your reply, Michael. Your code does work to display the number of columns in the dataTable, after I changed dataTable.size() to dataTable.getRowCount(). It did help me in getting started with writing my own toolbar. However, my table has several amount columns and I want to display

Wicket integration with jQuery

2009-09-11 Thread danisevsky
Hello folks. I would like to use some Wicket integration with jQuery. But I found several implementations (WickeXt, wiquery and in wicket-stuff jwicket and jquery) and I do not know which one is the best. Could someone give me an advise? Thanks

Re: Displaying column totals for a DefaultDataTable

2009-09-11 Thread Michael Mosmann
Your code does work to display the number of columns in the dataTable, after I changed dataTable.size() to dataTable.getRowCount(). It did help me in getting started with writing my own toolbar. Ok.. id did it in this email client, which has very poor development support:) but it was good

Re: Wicket integration with jQuery

2009-09-11 Thread Martin Makundi
Quoted: The 1.0-beta version should be downloadable around the 15 May 2009, it will integrate all features of WickeXt 0.9, plus a new behavior abstraction to ease integration of component like drag and drop, etc. Where can I ask some questions about the project ? We chosen to use google groups

Slides

2009-09-11 Thread Luther Baker
I have slides from my Wicket presentation last night here in St. Louis. I can't say how helpful they'd be for folks that weren't there but I'd be happy to submit them for posting somewhere in the Wicket WIKI pages. -Luther

Re: RefreshingView not Refreshing

2009-09-11 Thread Troy Cauble
mich...@mosmann.de wrote: So for instance if a model is not detached correctly, wicket will use old data (don't know if the problem is in this area). It was a load/detach problem. I was also using the the LDM in a custom validator. Apparently that loaded the LDM before my save commit. A

Re: Slides

2009-09-11 Thread Jeremy Thomerson
Perhaps you could upload them to http://www.slideshare.net/ -- Jeremy Thomerson http://www.wickettraining.com On Fri, Sep 11, 2009 at 9:54 PM, Luther Baker lutherba...@gmail.com wrote: I have slides from my Wicket presentation last night here in St. Louis. I can't say how helpful they'd be