Hello
I am developing a web application which has a requirement that the
layout of information displayed to the user can be changed by (the)
user(s).
I've looked at the Tapestry docs and read Kent Tong's excellent book
from cover to cover.
It is a key requirement that a user (with appropriate authentication)
could log on to the system and change the way that information is displayed.
The nearest example in the book is Ch. 11 - Building Dynamic Forms. The
problem that I have is that a simple 'For' component won't do, as the
required elements of each row will be determined by the way that user
wants the data to be displayed. As far as I can see The For component
requires a static binding of elements - I want to be able to change the
way the information is rendered by information held in other tables in
the database.
Maybe a more concrete example would help explain my problem. Image there
is a database table with three pieces of text and and two images in each
record. One user could decide that when they display that table they
wish to display Text1, Text3 and Image2. The other user could want to
display all five elements. They would log on and set their preferences
which would be stored in the 'display configuration tables', and then
when they went to display the data in the table see row data displayed
as they had configured it.
Does anyone have any suggestions as to the best approach to take to
solve this problem?
Regards
Alan Chaney
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]