LSec table display project requires only a change to
org.agilewiki.ark.rolons.TableRolon, though we may also end up doing
some refactoring to org.agilewiki.ark.rolons.Rolon as well. In both
classes, we want to study the docEvent method. In TableRolon, this
method simply creates a "Table" event--all the display logic is then
handled by the clients.
In contrast, the docEvent method in Rolon creates a "Doc" event
containing html. The Rolon method also identifies WikiWords, converting
them to web links, as well as handling brace notation.
My suggestion is to move most of the code in Rolon.docEvent into a new
methon in Rolon, and have the Rolon.docEvent fetch the document and pass
it to the new method. Then TableRolon.docEvent can create the html from
the document and simply call the new method in Rolon to handle all the
WikiWord and brace notation processing.
Does this sound reasonable to you? I really don't want the code in
Rolon.docEvent duplicated, as we may want to add some features later. (I
fear that I've now over-spec'd this project. But then, we've only just
started working together.)
Bill
. . . . . . . . . . . . . . . .
Hi Bill,
I would like to work on these open issues:
GUI: SwingFieldLength
- i presume that you are talking about database field lengths here?
- ie when the gui needs a field length it should ignore the lengths of
recieved field lengths?
Doc
- Table LSecs should be displayed using AwServer-generated HTML,
allowing for clickable links within cells.
Niall
|