Re: Jquery Confirmation Dialog - or WiQuery Dialog?

2011-12-03 Thread lucast
Hi Ernesto, I have just implemented the solution suggested for 1.4.x wiquery and it works great, exactly what one needs! I just added the dialog.close(target); to the onButtonClicked method to exit the dialog. Thank you very much for this. Wiquery is very useful for folks like me. It's another

Re: Jquery Confirmation Dialog - or WiQuery Dialog?

2011-12-03 Thread Ernesto Reinaldo Barreiro
Lucas, Glad to be of some help:-) Ernesto On Sat, Dec 3, 2011 at 10:11 AM, lucast lucastol...@hotmail.com wrote: Hi Ernesto, I have just implemented the solution suggested for 1.4.x wiquery and it works great, exactly what one needs! I just added the dialog.close(target); to the

AjaxFallbackDefaultDataTable Refresh Data Provider

2011-12-03 Thread mashleyttu
Hi, I'm using an AjaxFallbackDefaultDataTable and I am trying to update the Data Provider during an Ajax call back. A little more details is I have a TextField with an AjaxFormComponentUpdatingBehavior(onkeyup) behavior attached for filtering results in my AjaxFallbackDefaultDataTable. Long

Re: Caching Imagages, CSS, JS in Wicket 1.5.3

2011-12-03 Thread Martijn Dashorst
Or new ContextImage(...) Martijn On Wed, Nov 30, 2011 at 9:09 PM, Martin Grigorov mgrigo...@apache.org wrote: Try with: new Image(someId, new ContextRelativeResource(images/logout.png)) On Wed, Nov 30, 2011 at 6:40 PM, chris.schaefer cgs.schae...@gmail.com wrote: another thing i did not

Re: AjaxFallbackDefaultDataTable Refresh Data Provider

2011-12-03 Thread Josh Kamau
Hi Matt; Make a dynamic dataprovider as follows: public abstract class UserDataProvider extends SortableDataProviderUser { public UserDataProvider(){ setSort(id, SortOrder.ASCENDING); } public IteratorUser iterator(int start, int count) { return

Re: AjaxFallbackDefaultDataTable Refresh Data Provider

2011-12-03 Thread Martin Grigorov
Hi, Just make your data provider a bit smarter/dynamic. Currently you pass the filter data statically: new SortableIncidentDataProvider(INCIDENT_TS,myListParams). Rework it to be dynamic: new SortableIncidentDataProvider(INCIDENT_TS) { protected MyParams generateParameters() { return

Re: WicketTester setParameterForNextRequest() doubt

2011-12-03 Thread Fabiosakiyam
It worked with formTester, thanks :) But since im testing only my component, is there anyway to test it without needing a formTester? 'cause needing the formTester will make me create a blankPage just to add the component, and then create a html as well.. is there anyway to test a component/panel,

Wicket 1.5 LocaleFirstMapper and CustomHomeMapper bug when using BookmarkablePageLink

2011-12-03 Thread Dan
LocaleFirstMapper structures my site to place the language code in the URL path (e.g., example.com/en/path-to-page). The LocaleFirstMapper and CustomHomeMapper classes work perfectly, but I noticed that the language code was getting hacked off when I tried adding a link to the home page: add(new

Re: Wicket 1.5 LocaleFirstMapper and CustomHomeMapper bug when using BookmarkablePageLink

2011-12-03 Thread Igor Vaynberg
fixed, thanks. On Sat, Dec 3, 2011 at 5:03 PM, Dan dan.traczyn...@gmail.com wrote: LocaleFirstMapper structures my site to place the language code in the URL path (e.g., example.com/en/path-to-page). The LocaleFirstMapper and CustomHomeMapper classes work perfectly, but I noticed that the

Freemarker+ExtJS vs Wicket questions

2011-12-03 Thread Andrei Voden
Hi. I have been developing for a while using Freemarker + some JS frameworks (like ExtJS, Dojo and JQuery) and Java as Model building on back-end. Now I hear lots of talks about Wicket so Im trying to understand pros and cons. After reading intro in Wicket I have mixed feelings. Below are my

Re: WicketTester setParameterForNextRequest() doubt

2011-12-03 Thread Martin Grigorov
Hi, In Wicket 1.5 you can use #startComponentInPage(aPanelWithAFormInside) or #startComponentInPage(someFormComponent) #executeUrl(someUrlWithQueryString) On Sat, Dec 3, 2011 at 11:37 PM, Fabiosakiyam fabiosakiy...@gmail.com wrote: It worked with formTester, thanks :) But since im testing