Re: [Wicket-user] How to Implement Looping in wicket
the looping itself is implemented by the repeater component - DataView,GridView,DataTable,RefreshingView,ListView,Loop,etc. the populateItem method is called for every element in the iterator/list and builds the component hierarchy to represent that element. -IgorOn 8/23/06, sathya81 <[EMAIL PROTECTED]> wrote: Hi,I was going through the repeater examples , i just wanna know how can iimplement looping in wicket, for example i have vector populated with somerecords fetched from a database , now how can loop through the vector and display the records in the html page? I dont understand where exactly isthe looping being implemented in any of the examples given under repeaterssection..and which is better to implement a list view or Grid View Please helpThanks in Advance.--Sathya--View this message in context: http://www.nabble.com/How-to-Implement-Looping-in-wicket-tf2152700.html#a5945305 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 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] How to Implement Looping in wicket
Using the repeater examples, the looping is done by the framework as it walks the Iterator that's returned by the IDataProvider.iterator() implemention (ContactDataProvider). You could have a look at WicketPhonebook, but I think it's very similar to the examples. /Gwyn On 23/08/06, sathya81 <[EMAIL PROTECTED]> wrote: > > Hi, > > I was going through the repeater examples , i just wanna know how can i > implement looping in wicket, for example i have vector populated with some > records fetched from a database , now how can loop through the vector and > display the records in the html page? I dont understand where exactly is > the looping being implemented in any of the examples given under repeaters > section..and which is better to implement a list view or Grid View > > Please help > > Thanks in Advance. > > --Sathya > -- > View this message in context: > http://www.nabble.com/How-to-Implement-Looping-in-wicket-tf2152700.html#a5945305 > 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 > -- Download Wicket 1.2.1 now! - http://wicketframework.org - 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 to Implement Looping in wicket
for records in a database it is better to use a Repeater then the Listview.Especially if you have call backs (like edit or delete to it)because you have to specify your own model then that holds the record of the database. On 8/23/06, sathya81 <[EMAIL PROTECTED]> wrote: Hi,I was going through the repeater examples , i just wanna know how can iimplement looping in wicket, for example i have vector populated with somerecords fetched from a database , now how can loop through the vector and display the records in the html page? I dont understand where exactly isthe looping being implemented in any of the examples given under repeaterssection..and which is better to implement a list view or Grid View Please helpThanks in Advance.--Sathya--View this message in context: http://www.nabble.com/How-to-Implement-Looping-in-wicket-tf2152700.html#a5945305 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 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
[Wicket-user] How to Implement Looping in wicket
Hi, I was going through the repeater examples , i just wanna know how can i implement looping in wicket, for example i have vector populated with some records fetched from a database , now how can loop through the vector and display the records in the html page? I dont understand where exactly is the looping being implemented in any of the examples given under repeaters section..and which is better to implement a list view or Grid View Please help Thanks in Advance. --Sathya -- View this message in context: http://www.nabble.com/How-to-Implement-Looping-in-wicket-tf2152700.html#a5945305 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