Hi Lukasz, > How to start implementing CheckBoxList? Which classes do I > have to extend?
Please see ULC Extension Guide. It explains the basic concepts and also has an example. You may find other examples in developer archives if you have access to them: http://lists.canoo.com/mailman/private/ulc-developer/ > . I know - this is very bad integration, but I do not have > any idea how > to implement properly more complex 3rd party components like lists, > tables, with lazy loading models, etc... As far as lazy loading is concerned there is no public API available. This is highly customized code - customized for List, Tree, table and TableTree. However, the basic idea is that while the BasicComponent is getting painted, you compute which part of the model is going to be visible and generate requests to the server side model to upload only that part of the model and then cache that part of the model on the client. Lazy loading is a two step process done over two roundtrips. Thanks and regards, Janak ----------------------------------------- Janak Mulani email: [email protected] url: http://www.canoo.com Beyond AJAX - Java Rich Internet Applications http://www.canoo.com/ulc ----------------------------------------- > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Lukasz Czerpak > Sent: Monday, April 06, 2009 2:56 PM > To: [email protected] > Subject: [ULC-developer] ULC Extensions - integrating 3rd > party components > > Hi, > > > ULC doesn't offer enough set of components to develop our app. So I > decided to try integrating a few of JIDE components > (http://www.jidesoft.com/products/component.htm). CheckBoxList was the > first chosen one to do this. "CheckBoxList is a special JList > which uses > JCheckBox as the list element. In addition to regular JList > feature, it > also allows you select any number of elements in the list by selecting > the check boxes." > After analyzing of ULCSwingX community project and ULC documentation I > wrote a very simple UICheckBoxList and ULCCheckBoxList classes - based > on UIComponent and ULCComponent. There is no model optimization > implemented - all data are forwarded to client during > component creation > . I know - this is very bad integration, but I do not have > any idea how > to implement properly more complex 3rd party components like lists, > tables, with lazy loading models, etc... > > How to start implementing CheckBoxList? Which classes do I > have to extend? > > regards, > > -- > Łukasz Czerpak | PGP: 0xCBEAA46D [subkeys.pgp.net] > Bankowość Elektroniczna > SoftNet Sp. z o.o. > http://www.softnet.pl/ > _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
