0

Contacts list as in linkedin.com or zyb.com

asked 2009-07-20 13:46:01 +0800

nagkumar gravatar image nagkumar
153

Hi,

We are looking to develop a web based address book as in linkedin.com contacts or zyb.com.

Basically we are looking to web display of address details of contacts (1000+ contacts) in the form of table with columns Name, Phone number email etc.. in each contact details in a table row. The contacts should be scrollable a to z, sortable on each column, editable (in edit mode - sorting should also be supported in this mode), paginated based on alphabets (A,B,C..) and sub paginated (in 1,2, 3 pages etc with in the selected alphabets).

How easy or complex is this to achieve such a thing in zk. Are there good samples to start our work on. Also any guidence on probable issues we may have also is most welcome.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
-Offshore Web 2.0 Excellence

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2009-07-20 14:47:44 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2009-07-20 14:48:59 +0800

have a look on this sample application. (Sorry, no official https certificate on the sample site)
usr/pwd = admin/admin
All lists are paged and! sortable.

regards
Stephan
sge(at)forsthaus(de)

link publish delete flag offensive edit

answered 2009-07-20 15:52:40 +0800

mmghp30 gravatar image mmghp30
70 1

Thanks terrytornado
your application is very complet .
can you share war file of it ?


have nice time

link publish delete flag offensive edit

answered 2009-07-20 15:59:22 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2009-07-20 15:59:47 +0800

in the next 2-3 weeks it goes fully sourced on ZK Forge. Have a look in forum category Announcement

link publish delete flag offensive edit

answered 2009-07-20 16:51:11 +0800

mmghp30 gravatar image mmghp30
70 1

thanks

link publish delete flag offensive edit

answered 2009-07-22 10:46:53 +0800

nagkumar gravatar image nagkumar
153

updated 2009-07-22 10:50:45 +0800

Hi Terry,

Nice demo.

Few differences to our need is we wish to display all the available rows with a scroll bar.
There would be a alphabetical pagination to jump the row of any alphabet also with in the alphabet there would be sub pagination with 1, 2, 3 etc to jumpt to next page with in that alphabet. This need of my client is different than the way in general people use in the web world.

Focus of my client is that, he assumes that there is a infinite bandwidth (due to LAN) but would like to have shortcut to reach to any row (i.e auto scroll to the row) based on the dictionary and pagination approach.

Any suggestions on be able to existing pagination component to this need would help a lot.

Also few suggestions to your demo, pl consider if you think it would help:

1. Demo could support multi column sorting search both by name and lastname, gender etc..
2. Demo could support returning to database order (unsorted) once the sorting happen
3. Demo could support dummy rows without effecting on the db model say a dummy row with alaphet "A", "B" etc to indicate start. These dummy rows should not have/fire any events or should not be selectable.
4. Live search filter.. as the user types the letters in search filed, it could update the rows which match (currently one have to type the content in search filed and click on search)

link publish delete flag offensive edit

answered 2009-07-22 11:16:28 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2009-07-22 11:17:52 +0800

Thanks,

I believe i understand what you want for your clients.

First, have the time and read this smalltalk about extending the paging with sorting. I mean the code can be improved and extended.

With these background and helper classes it's easy to fullfill your needs.
A alpabetical tab like

A | B| C | D | ...

or buttons with labeled 'A' 'B' 'C' 'D' ...
a sample pic from an other win application.

By selecting the needed letter on tab or button you load with executions.createComponents("", myTabPlaceList, myParams )
a ListBox with overhanded params for the sorting.

If your clients prefer scrolling that it's not a problem. If you make your browser smaller you can see on the right of the listbox the scroller. It comes from a tablelayout that is around the listbox.
So you can set the pagesize to 100 records and have scrolling and paging too.

to 1.)
Multi column sorting it's easy from the serachObject side. But how to implement in the zkoss Listbox headers ??? A workaround is to make a few radio groups or someting that can represent the sorting logic on the screnn.

to 2.)
Yes, this is missing. I'll do it in next days.

to 3.)
not excatly understand what you mean. In the ZK Forge outsourced sample next times this sample app works with a inMemory H2 database for easier showing/working/installing. So thta the sample runs out of the box.

regards
Stephan

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-07-20 13:46:01 +0800

Seen: 174 times

Last updated: Jul 22 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More