Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF

Rename form

 

 

Zope cmf RSS feed   Index | Next | Previous | View Threaded


charlie at begeistert

Jun 17, 2009, 12:23 PM

Post #1 of 4 (563 views)
Permalink
Rename form

Hiya,

I recently managed to get quite a lot of work done on my form(lib) based
replacement for a folder_contents view. Thanks go to Yuppie for doing all
the hard work initially - so that putting it into a form hasn't been that
difficult. Thanks also to Jens for help with subversion. I have a couple
of questions:

1) this is designed as a replacement for folder.py - I have gone with the
BDFL's naming convention. Do we have any CMF-specific ones?
2) when it comes to renaming items in a folder, another form will be
required. I'm planning to implement this as a separate view even though it
only makes sense if called with a list of objects to be renamed from
folder_contents, or should it be available from any IContentish objects

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


r.ritz at biologie

Jun 18, 2009, 3:10 AM

Post #2 of 4 (511 views)
Permalink
Re: Rename form [In reply to]

Charlie Clark wrote:
> Hiya,
>
> I recently managed to get quite a lot of work done on my form(lib) based
> replacement for a folder_contents view. Thanks go to Yuppie for doing all
> the hard work initially - so that putting it into a form hasn't been that
> difficult. Thanks also to Jens for help with subversion. I have a couple
> of questions:
>
> 1) this is designed as a replacement for folder.py - I have gone with the
> BDFL's naming convention. Do we have any CMF-specific ones?
> 2) when it comes to renaming items in a folder, another form will be
> required. I'm planning to implement this as a separate view even though it
> only makes sense if called with a list of objects to be renamed from
> folder_contents, or should it be available from any IContentish objects

FWIW: I find it quite natural wanting to rename "this specific thing
that I'm just looking at" so my vote would be for any IContentish
object. In the UI sense at least ...

Raphael


>
> Charlie

_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


charlie at begeistert

Jun 18, 2009, 5:35 AM

Post #3 of 4 (513 views)
Permalink
Re: Rename form [In reply to]

Am 18.06.2009, 12:10 Uhr, schrieb Raphael Ritz
<r.ritz[at]biologie.hu-berlin.de>:

> FWIW: I find it quite natural wanting to rename "this specific thing
> that I'm just looking at" so my vote would be for any IContentish
> object. In the UI sense at least ...

I've been thinking along the same lines and it wouldn't be difficult to
add another action for renaming individual content objects. Renaming via
folders is presumably a continuation of the way things are done in the ZMI
which is, of course, how we generally do things in file systems. Nothing
wrong with keeping it around even if I think the more content-centric
(egid, what a neologism!) approach would be to work with the object itself.

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


jens at dataflake

Jul 2, 2009, 3:40 AM

Post #4 of 4 (480 views)
Permalink
Re: Rename form [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jun 18, 2009, at 13:35 , Charlie Clark wrote:

> Renaming via
> folders is presumably a continuation of the way things are done in
> the ZMI
> which is, of course, how we generally do things in file systems.
> Nothing
> wrong with keeping it around even if I think the more content-centric
> (egid, what a neologism!) approach would be to work with the object
> itself.

To get this finished I would just stick with the current folder-based
behavior. Renaming an object from the object itself can always be
added on later.

jens



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkpMjqYACgkQRAx5nvEhZLLGdwCfQbUFkpfd3CC5WelZ1YDZ4OgH
G9cAnRI8ZsjVeK/KggQPt4tWaQ+JMR/8
=LEtT
-----END PGP SIGNATURE-----
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Zope cmf RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.