Am I correct that zope's "item.subitem:record" facility for form submission does not extend to nesting such things? If I have a form of the sort: <input name="item.subitem.subsubitem:record"> I would like it to show up in the request as a record 'item' with an element named 'subitem' that is itself a record containing an element named 'subsubitem'. This doesn't seem to happen. Is this supposed to work and I'm making some other mistake, or is this not part of the functionality? If it isn't, it would be useful to have... Mike
Have a look at: http://www.zope.org/Members/Zen/howto/FormVariableTypes Jonathan ----- Original Message ----- From: "Michael Shulman" <shulman@mathcamp.org> To: <zope@zope.org> Sent: Saturday, March 11, 2006 6:27 PM Subject: [Zope] nested records
Am I correct that zope's "item.subitem:record" facility for form submission does not extend to nesting such things? If I have a form of the sort:
<input name="item.subitem.subsubitem:record">
I would like it to show up in the request as a record 'item' with an element named 'subitem' that is itself a record containing an element named 'subsubitem'. This doesn't seem to happen. Is this supposed to work and I'm making some other mistake, or is this not part of the functionality?
If it isn't, it would be useful to have...
Mike _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
I don't *think* that page answers my question... if it does, can you point me to where? On 3/11/06, Jonathan <dev101@magma.ca> wrote:
Have a look at:
http://www.zope.org/Members/Zen/howto/FormVariableTypes
Jonathan
----- Original Message ----- From: "Michael Shulman" <shulman@mathcamp.org> To: <zope@zope.org> Sent: Saturday, March 11, 2006 6:27 PM Subject: [Zope] nested records
Am I correct that zope's "item.subitem:record" facility for form submission does not extend to nesting such things? If I have a form of the sort:
<input name="item.subitem.subsubitem:record">
I would like it to show up in the request as a record 'item' with an element named 'subitem' that is itself a record containing an element named 'subsubitem'. This doesn't seem to happen. Is this supposed to work and I'm making some other mistake, or is this not part of the functionality?
If it isn't, it would be useful to have...
Mike _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
--On 11. März 2006 18:26:52 -0600 Michael Shulman <shulman@mathcamp.org> wrote:
I don't *think* that page answers my question... if it does, can you point me to where? record">
Nested records are not supported and this is a very uncommon usecase. You should fix your data model _somehow_. -aj ----------------------------------------------------------------------- - Andreas Jung ZOPYX Ltd. & Co KG - - E-mail: info@zopyx.com Web: www.zopyx.com, www.zopyx.de - -----------------------------------------------------------------------
This page shows of ALL of the supported form variable types (ie. if its not there its not supported). Jonathan ----- Original Message ----- From: "Michael Shulman" <shulman@mathcamp.org> To: "Jonathan" <dev101@magma.ca> Cc: <zope@zope.org> Sent: Saturday, March 11, 2006 7:26 PM Subject: Re: [Zope] nested records
I don't *think* that page answers my question... if it does, can you point me to where?
On 3/11/06, Jonathan <dev101@magma.ca> wrote:
Have a look at:
http://www.zope.org/Members/Zen/howto/FormVariableTypes
Jonathan
----- Original Message ----- From: "Michael Shulman" <shulman@mathcamp.org> To: <zope@zope.org> Sent: Saturday, March 11, 2006 6:27 PM Subject: [Zope] nested records
Am I correct that zope's "item.subitem:record" facility for form submission does not extend to nesting such things? If I have a form of the sort:
<input name="item.subitem.subsubitem:record">
I would like it to show up in the request as a record 'item' with an element named 'subitem' that is itself a record containing an element named 'subsubitem'. This doesn't seem to happen. Is this supposed to work and I'm making some other mistake, or is this not part of the functionality?
If it isn't, it would be useful to have...
Mike _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Andreas Jung -
Jonathan -
Michael Shulman