fle3-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fle3-users] changing knowledge types


From: granbo
Subject: Re: [Fle3-users] changing knowledge types
Date: Mon Oct 21 06:37:03 2002
User-agent: Mutt/1.2.5i

Moi,

> In zope, I have found context's knowledge type-folder, but I can't
> copy-paste it, it says object doesn't support this property. Since there
> seems to be some kind of invisible objects (for zope management screens)
> in knowledge building trees, I suspect it tries to copy them, but fails.
> 
> I'm thinking about deleting current thinking types folder and calling the
> python-function which is used when context was initially created. - or if
> function does lots of other stuff too, copy part of that and create a new
> function for me to call.

Well CourseContext has a member var named _tt_set_id, which is the id of a
ThinkingTypeSet object residing under that given CourseContext.
CourseContext.get_thinking_type_set looks for a child in self, named
_tt_set_id, so just deleting and replacing the object would not suffice.

> 1. Should I do that?

No.

You should separate the code to copy the thinking type sets to their own
methods, and put some very nasty ui in place. I.e. have manage_afterAdd call
that same functionality, and have it also available via a web interface.
If you just need to change the thinkingtype set in you active course
context, just write some code to change the CourseContext._tt_set_id, and
copy a new ThinkingTypeSet into the CourseContext object.

> 2. Are there any dangerous side-effects I should be aware?

The next generation of Fle will without doubt be written in pure, functional
scheme, so as to avoid those pesky little side-effects. We'll have Janne
fill in here with more info on this. :)

> 3. Is there any way to access those 'invisible' objects, actual notes and
> other stuff that seems to be behind those numbered discussion trees?

To my knowledge there is are no 'invisible' objects in FLE. Care to
elaborate?

> optional 4. Any leaks what changes there will be in v. 1.4 ?

1.4 will cure cancer, fix the famine in third world countries, and bring
world peace.

Jah mon,
Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]