[Zope-dev] How do you redirect and set request variables without showing up in query string?

2008-02-10 Thread Suresh V.

Is this possible?

I have tried a technique with a form that submits on load but this is 
somewhat slow.


Suresh

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Multiple file upload in a single form

2008-05-13 Thread Suresh V.
Has anyone come across a Multiple File field type that be used in a form 
, specifically with z3c.form? This will enable an unlimited number of 
files to be uploaded in a single form.


I know this exists in the Plone world. Just wanted to check for an 
analogous field for a zope3 application.


If there isn't one there already, we would like to implement one.
Any pointers welcome.

Thanks.

Suresh

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] ZODB Mountpoint broken?

2012-02-28 Thread Suresh V.
ZODB Mountpoint distributed with Plone 4.1.2 always seems to create 
OFS.Folder even if the container-class is specified.


Also getting a KeyError: item already present wih same id due to 
_setObject and _setOb both being called.


Am trying to mount a plone.app.folder.folder.ATFolder from a separate 
Data.fs using instructions in:


http://plone.org/documentation/kb/mount-zeo-into-plonesite

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] ZODB Mountpoint broken?

2012-02-29 Thread Suresh V.

On Wednesday 29 February 2012 07:31 PM, Tres Seaver wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2012 09:56 PM, Suresh V. wrote:

ZODB Mountpoint distributed with Plone 4.1.2 always seems to create
OFS.Folder even if the container-class is specified.

Also getting a KeyError: item already present wih same id due to
_setObject and _setOb both being called.



Can you post the full traceback for that error?



In Products.ZODBMountPoint.MountedObject.py around line 373:

# Add a faux object to avoid generating manage_afterAdd() events
# while appeasing OFS.ObjectManager._setObject(), then discreetly
# replace the faux object with a MountedObject.
faux = Folder()
faux.id = mo.id
faux.meta_type = loaded.meta_type
container._setObject(faux.id, faux)
# DM 2005-05-17: we want to keep our decision about automatic
#  mount point creation
#del mo._create_mount_points
container._setOb(faux.id, mo)
setMountPoint(container, faux.id, mo)

The error was raised on the _setOb() line.

Removing the whole faux dance made everything work correctly. May be 
this is not necessary any more. Should I create a ticket?







Am trying to mount a plone.app.folder.folder.ATFolder from a separate
  Data.fs using instructions in:

http://plone.org/documentation/kb/mount-zeo-into-plonesite



Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9OL8AACgkQ+gerLs4ltQ6KXgCfUSmkU98w0QP3++tzXnmqdClr
0eMAn0XmTpASam2I2zD80b+IF9ONhoTk
=hNK7
-END PGP SIGNATURE-

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope )




___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] ZODB Mountpoint broken?

2012-02-29 Thread Suresh V.

On Wednesday 29 February 2012 07:31 PM, Tres Seaver wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2012 09:56 PM, Suresh V. wrote:

ZODB Mountpoint distributed with Plone 4.1.2 always seems to create
OFS.Folder even if the container-class is specified.

Also getting a KeyError: item already present wih same id due to
_setObject and _setOb both being called.



Can you post the full traceback for that error?


2012-03-01 09:40:22 ERROR Zope.SiteErrorLog 1330575022.340.697799684491 
http://localhost:8080/Plone/AllContent/manage_addProduct/ZODBMountPoint/manage_addMounts

Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.ZODBMountPoint.MountedObject, line 387, in 
manage_addMounts

  Module plone.folder.ordered, line 63, in _setOb
  Module Products.BTreeFolder2.BTreeFolder2, line 244, in _setOb
KeyError: 'There is already an item named plant.'





___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )