W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1996

Attributes do not propogate in depth on Update ?

From: Anselm Baird-Smith <abaird@w3.org>
Date: Tue, 11 Jun 1996 18:22:49 +0500
Message-Id: <9606112222.AA06859@www18.w3.org>
To: alex@access.com.au (Alexandre Rafalovitch)
Cc: www-jigsaw@w3.org
Alexandre Rafalovitch writes:
 > The default icon for html files is file.gif. I did not like that and
 > changed it to layout.gif. Also, I have a directory TestDir with 20 or so
 > .html files. Now, I wanted to propogate this change in attribute to all
 > files in  my directory or in whole system even better. So, I go to
 > /Admin/Editor/editor@3/ExistingResources, mark TestDir and go Update. It
 > updates, but no reaction on my directory listing. Ok, I do Reindex. No
 > reaction again. Well, I hoped that reindexing and updating of directories
 > would propogate on files within them... No such luck ?!?

Update is meant to resync information computed from the file system
which are cached by resources (e.g. it is not used at this time, but
would be used, for example, to force the recomputation of a file
signature for example).

Reindex deletes the resource, and recreates a new one by going through
the resource factory. This is what you want to do, but don't forget to
select the resources (by checking their check-box) that you want to
re-index.

This *should* work...

 > So I go into the directory to individual files. Select one of them and go
 > Update. No reaction. Now, update is supposed to update computed parameters,
 > right? Evidently, icon is not one of them. But which one is ? I don't know.
 > So I finally try Reindex on the file and, Presto, I get my new icon on
 > directory listing.

Oops, I missed this one. As you said icons are not
computed. Last-Modified is supposed to be computed some day (actually
I think it is).

 > So, can anybody explain to me why I had to go that deep and if there are
 > any other shortcuts to do that.

No short-cuts, you'll have to wait for the planed applet based config
tool to do this kind of things

 > Thanks for your attention,
 > 
 > Alex.
 > 
 > Ps. I set my netscape on 'check every time', so it could not be cache
 > problem. Checked that after having some frustration at other times.
 > 
 > PPs. If somebody could give me detailed explanation on difference between
 > Update and Reindex commands, I would be grateful.

I hope I have answered them ;-)

Anselm.
Received on Tuesday, 11 June 1996 18:22:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:24 GMT