Re: Dexterity DataGridField Default Factory

Simon Richardson <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Hi Espen

I haven't seen the issues:

#33 I'll check the version is the latest and try again if not.

#31 I have a vocabulary defined using a factory and it's working as required. So I don't think this will be my problem.

I believe I should return a list of dicts from my  default factory (maybe I'm wrong?), but I get the unhashable error for the list. It seems that maybe a default can't be a list?



-----Original Message-----
From: "espen" <[email protected]>
Sent: ‎02/‎03/‎2015 15:13
To: "[email protected]" <[email protected]>
Subject: Re: [Plone-Users] Dexterity DataGridField Default  Factory

be sure to use the latest version 
https://github.com/collective/collective.z3cform.datagridfield/issues/33


Also: did you see this: 
https://github.com/collective/collective.z3cform.datagridfield/issues/31





2. mars 2015 kl. 15:33 skrev Simon Richardson-2 [via Plone] <[hidden email]>:


Hi Plone users

I'm unable to create a default factory for a datagridfield field, due to running into a

'unhashable type: list' error

Does anyone have an example of a datagridfield with a default value defined?

Simon

------------------------------------------------------------------------------ 
Dive into the World of Parallel Programming The Go Parallel Website, sponsored 
by Intel and developed in partnership with Slashdot Media, is your hub for all 
things parallel software development, from weekly thought leadership blogs to 
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________ 
Plone-Users mailing list 
<a href="x-msg://30/user/SendEmail.jtp?type=node&amp;node=7573305&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email] 
https://lists.sourceforge.net/lists/listinfo/plone-users





If you reply to this email, your message will be added to the discussion below:
http://plone.293351.n2.nabble.com/Dexterity-DataGridField-Default-Factory-tp7573305.html 
To start a new topic under General Questions, email [hidden email] 
To unsubscribe from Plone, click here.
NAML 





View this message in context: Re: Dexterity DataGridField Default Factory
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.