Maybe we should have a name vote...

Names for Table:
- ForEach (like Tapestry I think);
- Sequence
- RepeatedElement
- Repeat
- Iterate
- ...



Chris Turner wrote:

+1 for renaming Table. However, I think List is a bad idea for a name. Main reason being that I can forsee a case where there will be java.util.List and wicket List components in the same class. This was a real pain when working with awt and collections and I wouldn't force that on my worst enemies ;) How about using a synonym of list, something like Sequence, RepeatedElement or similar?

Also +1 for rolling back and revisting each change before applying to the code. I think we should really focus on a contrib package for new, ehnanced or refactored components and code and only roll them into the core code if they are thoroughly tested and prove their worth as something common. My personal view is that we should NEVER modify the core or Wicket unless there is a really strong argument, design and review associated with the change. It's very easy to see lots of changes that on the surface look to be worthwhile but when you delve into them further they turn out to be unecessary or have design implications or side effects.

Chris


Eelco Hillenius wrote:

I fixed some of the problems (like any pagable behaviour) but are strugling with some others (PageNavigation).

I must say that I am not happy with the recent changes to Table/ TableNavigation, allthough I appreciate it that Juergen made the effort making the component set richer.

The things that I am not happy about:
- 'window' functionality in Table. This supports rendering just part of the list. I think it is much cleaner to work with dynamic lists instead of rendering a partial list;
- the 'margin' in TableNavigation. This - as far as I understand it - can be easiliy done in populateCell. If not, it should be build in in a more generic manner;
- the separation of Table/ PagedTable. Though I agree that PagedTable is a specialized version of Table, it just made the code more difficult to grasp. It may be done in future, but it should be really clean.


I'd like to propose to rollback the recent changes to the versions that worked (effectively before I went on vacation) and start over adding features/ changes only after discussing and agreeing on them. An important component like (Pagable)Table should not be broken.

Also, I agree with the name issue. Though I understand the original thought of Jonathan (he did not want to use List as this is an important interface in the Java API), I think Table is confusing. I'd opt for List instead, with 'Row' or 'ListItem' instead of Cell.

Any comments?

  Eelco


Eelco Hillenius wrote:

All,

I am *very* unpleasantly suprised that the table functionality is currently broken. The examples (the guestbook examples, trees, etc) do not work properly, and I can only guess that people using the HEAD version of Wicket have problems with it as well. Juergen, did you test well?

I am currently looking at the reasons that the table functionality is broken, but there have been quite a few changes. Things that do not work:
- empty tables;
- tables with a dynamic size (like is used with the guestbook and filebrowser examples).


Please, before you check stuff in, at least extensively test the examples!

  Eelco


------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Wicket-develop mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/wicket-develop




------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Wicket-develop mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to