W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1996

Problem with making new Editor

From: Christoph Begall <begall@nads.de>
Date: Tue, 10 Sep 1996 16:55:03 +0200
Message-Id: <199609101452.QAA07696@heike.nads.de>
To: abaird@w3.org
CC: www-jigsaw@w3.org
There is another problem (lack of know-how), with my new AuthFilter.
(if it is the right way to make a new AuthFilter)

When associating a list of filters or at least one at least one filter
with an entry in the field of the request, I would like to have a link
to that filter in the Editor for that filter.

I thought of something like:
( field is something made by request.defineField() earlier and 
  fieldentry is the value of that field )
 | fieldentry 1 |   link 1 to filter('s class)
 +--------------+   --------------------------
 | fieldentry 2 |   link 2 to filter('s class)
 +--------------+   --------------------------
 | fieldentry 3 |   link 3 to filter('s class)
 +--------------+   --------------------------

If I make the number of possible fieldentries constant for a specific
filter (StringAttribute that is not EDITABLE) I thought this should
be possible, but yet I don't even know how to make 
ResourceEditorFactory return my FancyFilterEditor when it should do so.
(after that I have to think about how I can make something like an 
 AssociatedFilterAttribute or a HashtableAttribute)
So is this the right way to register my new Editor:

public class FancyFilter {
    static {

Is this enough to make jigsaw call my editor when _FancyFilter_-link
is called in the Resource where I've pluged FancyFilter.
BTW: Will there be more information on this matter supplied with the
     next release ?

After all I want to thank you, Anselm, for patience with novice.

Received on Tuesday, 10 September 1996 10:53:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:30 UTC