Re: [Wicket-user] Sending data back from popup page
There is a very nice framework for modal dialogs: http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg09537.html Inside the onClose of the modal dialog you can add information to the popup/opener page using AJAX. michal petras wrote: > On my page i have a link with popup settings that opens a popup dialog page. > In the dialog page user can make some selections and than close the dialog. > i would like to refresh (with AJAX) a part of the base page according to the > data received from the dialog without reloading the whole page. How can it > be done? > > Thanks. > > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Any method of using PagingNavigation ....
Thanx for the replyThe IDataProvider seems interesting.My problem was that i was using PagingListView that didnt use IDataProvider.Now I'll have to use DataView i guess.Currently I am implementing this feature using PageList view along with the List implementation method i mentioned earlierOn 7/8/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:there is also DataTable if you want to show tabular data, both dataview and datatable use IDataProvider which looks like this IDataProvider { int size(); iterator iterator(int first, int count); } <== looks familiar? :) -IgorOn 7/8/06, Matej Knopp < [EMAIL PROTECTED]> wrote: Look at DataView from wicket-extensions.-Matej[EMAIL PROTECTED] Imam wrote:> Hello users, >> I wanted to know if wicket has support for using a component similar to > PagingNavigation to tell it to selectively> bring the items it will view in a Page depending on the page link clicked.>> My actual problem is the list (generated froma database) i will feed to > the ListView component may be very big, in the order of thousand elements.>> I was wondering if there is such a component in wicket where i will feed> the total number of items i want to display > and the number of items per page i will display to the Navigation component.> Then depending on which page link of the Navigation is clicked i'll> fetch the elements in the list.>> I hope i have made my problem clear. >> Currently i have a solution which is by implementing my own list> interface to return the size().> And implement my own sublist method.> But I am not sure how the ListView component retrieves the data from the > list and call the populateItem().> I am not sure whether it uses the sublist method or the get() method to> retrieve elements from the list.>>> Shams.>>> > >> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> >> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How PageableListView retrieves data from a list
why does it matter? if you only want to retrieve parts of your dataset for display you shouldnt be using a listview, you should be using dataview/datatable/refershingview. listview and friends are only for situations where you have the entire list in memory. -IgorOn 7/8/06, Imran M Yousuf <[EMAIL PROTECTED]> wrote: Dear Users,I have a small question. Asking it as I wanted to know how doesPageableListView fetch data from a List?Does it use List.get(int index) or does it use List.subList(intfromIndex, int toIndex) or does it use someother method? Thanks in advance. Imran-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How PageableListView retrieves data from a list
Dear Users, I have a small question. Asking it as I wanted to know how does PageableListView fetch data from a List? Does it use List.get(int index) or does it use List.subList(int fromIndex, int toIndex) or does it use someother method? Thanks in advance. Imran - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How PageableListView retrieves data from a list
Dear Users, I have a small question. Asking it as I wanted to know how does PageableListView fetch data from a List? Does it use List.get(int index) or does it use List.subList(int fromIndex, int toIndex) or does it use someother method? Thanks in advance. Imran - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Sending data back from popup page
not really, popup windows are a _javascript_ beast so if you want to trigger something on another page you have to do it through _javascript_-IgorOn 7/8/06, michal petras <[EMAIL PROTECTED]> wrote: Well, yes. Like this it's working but i thoght that maybe there is moreelegant way of passing the data through Java.--View this message in context: http://www.nabble.com/Sending-data-back-from-popup-page-tf1910863.html#a5232501Sent from the Wicket - User forum at Nabble.com.Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Sending data back from popup page
Well, yes. Like this it's working but i thoght that maybe there is more elegant way of passing the data through Java. -- View this message in context: http://www.nabble.com/Sending-data-back-from-popup-page-tf1910863.html#a5232501 Sent from the Wicket - User forum at Nabble.com. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Any method of using PagingNavigation ....
there is also DataTable if you want to show tabular data, both dataview and datatable use IDataProvider which looks like thisIDataProvider { int size(); iterator iterator(int first, int count); } <== looks familiar? :) -IgorOn 7/8/06, Matej Knopp <[EMAIL PROTECTED]> wrote: Look at DataView from wicket-extensions.-Matej[EMAIL PROTECTED] Imam wrote:> Hello users,>> I wanted to know if wicket has support for using a component similar to > PagingNavigation to tell it to selectively> bring the items it will view in a Page depending on the page link clicked.>> My actual problem is the list (generated froma database) i will feed to > the ListView component may be very big, in the order of thousand elements.>> I was wondering if there is such a component in wicket where i will feed> the total number of items i want to display > and the number of items per page i will display to the Navigation component.> Then depending on which page link of the Navigation is clicked i'll> fetch the elements in the list.>> I hope i have made my problem clear. >> Currently i have a solution which is by implementing my own list> interface to return the size().> And implement my own sublist method.> But I am not sure how the ListView component retrieves the data from the > list and call the populateItem().> I am not sure whether it uses the sublist method or the get() method to> retrieve elements from the list.>>> Shams.>>> > >> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> >> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-userUsing Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Sending data back from popup page
you can try something like this --pass the ajax url you want to execute to the popupthen when the popup is done it can call window.opener.wicketAjaxGet(url+appended_params)-Igor On 7/8/06, michal petras <[EMAIL PROTECTED]> wrote: On my page i have a link with popup settings that opens a popup dialog page.In the dialog page user can make some selections and than close the dialog.i would like to refresh (with AJAX) a part of the base page according to the data received from the dialog without reloading the whole page. How can itbe done?Thanks.--View this message in context: http://www.nabble.com/Sending-data-back-from-popup-page-tf1910863.html#a5231192Sent from the Wicket - User forum at Nabble.com.Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Loading ...
yep, thats the idea :)-IgorOn 7/8/06, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: So I will have only to define this two _javascript_ functions in my page to show and hide my notification message or whatever I want .. clean and simple. Great! Thank you.-- Paolo On 7/8/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: ok the patch is in so feel free to play around with it if you checkout from svn or wait until 1.2.1what you can now do is define one or both of the following functionsfunction wicketGlobalPreCallHandler() {...} and function wicketGlobalPostCallHandler() {...}-Igor Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Any method of using PagingNavigation ....
Look at DataView from wicket-extensions. -Matej [EMAIL PROTECTED] Imam wrote: > Hello users, > > I wanted to know if wicket has support for using a component similar to > PagingNavigation to tell it to selectively > bring the items it will view in a Page depending on the page link clicked. > > My actual problem is the list (generated froma database) i will feed to > the ListView component may be very big, in the order of thousand elements. > > I was wondering if there is such a component in wicket where i will feed > the total number of items i want to display > and the number of items per page i will display to the Navigation component. > Then depending on which page link of the Navigation is clicked i'll > fetch the elements in the list. > > I hope i have made my problem clear. > > Currently i have a solution which is by implementing my own list > interface to return the size(). > And implement my own sublist method. > But I am not sure how the ListView component retrieves the data from the > list and call the populateItem(). > I am not sure whether it uses the sublist method or the get() method to > retrieve elements from the list. > > > Shams. > > > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Sending data back from popup page
On my page i have a link with popup settings that opens a popup dialog page. In the dialog page user can make some selections and than close the dialog. i would like to refresh (with AJAX) a part of the base page according to the data received from the dialog without reloading the whole page. How can it be done? Thanks. -- View this message in context: http://www.nabble.com/Sending-data-back-from-popup-page-tf1910863.html#a5231192 Sent from the Wicket - User forum at Nabble.com. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Any method of using PagingNavigation ....
Hello users,I wanted to know if wicket has support for using a component similar to PagingNavigation to tell it to selectively bring the items it will view in a Page depending on the page link clicked.My actual problem is the list (generated froma database) i will feed to the ListView component may be very big, in the order of thousand elements. I was wondering if there is such a component in wicket where i will feed the total number of items i want to displayand the number of items per page i will display to the Navigation component.Then depending on which page link of the Navigation is clicked i'll fetch the elements in the list. I hope i have made my problem clear.Currently i have a solution which is by implementing my own list interface to return the size().And implement my own sublist method.But I am not sure how the ListView component retrieves the data from the list and call the populateItem(). I am not sure whether it uses the sublist method or the get() method to retrieve elements from the list.Shams. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Loading ...
So I will have only to define this two _javascript_ functions in my page to show and hide my notification message or whatever I want .. clean and simple. Great!Thank you.-- Paolo On 7/8/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: ok the patch is in so feel free to play around with it if you checkout from svn or wait until 1.2.1what you can now do is define one or both of the following functionsfunction wicketGlobalPreCallHandler() {...} and function wicketGlobalPostCallHandler() {...}-Igor Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] I require Ajax TextArea
Dear EelcoThanks once again for enlightening me. I would still apraise a comment on my method. Thanks in advance.Imran Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page expired problem
Hmmm, I remember having such problems before. The problem was with firefox generating invalid requests because of a bad script in my page. Look at (http://www.wicket-wiki.org.uk/wiki/index.php/Best_Practices_and_Gotchas) to read about it. However, what we can do here is see what exactly is causing your problem. Try to make a small quickstart app containing your problem and send it here so we could see what we can do. Iman Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user