[Product-Developers] Any clue on setting the value for an OrderedSelectWidget in a functional test?

Nathan Van Gheem vangheem at gmail.com
Thu Feb 21 13:18:55 UTC 2013


Hi,

The plone developers list is meant for plone core development. Your
question is best asked on stackoverflow or the plone users list. Also, the
field definition seems to be missing from your email.


On Thu, Feb 21, 2013 at 3:37 AM, oggers <oggers at gmail.com> wrote:

> Hi,
>
> I'm trying to write a functional test for a plone form that has an
> OrderedSelectWidget and I can't figure out how to set this.
>
> This is my code in tests.py:
>
>
>
> In this case I try to set the value to all available shop objects.
> available_shops returns a SimpleVocabulary
>
> And this is the field definition:
>
>
>
>
>
>
> --
> View this message in context:
> http://plone.293351.n2.nabble.com/Any-clue-on-setting-the-value-for-an-OrderedSelectWidget-in-a-functional-test-tp7563395.html
> Sent from the Product Developers mailing list archive at Nabble.com.
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-product-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20130221/727098e8/attachment.html>


More information about the Product-Developers mailing list