[Plone-UI] in-and-out replacement

Dylan Jay djay at pretaweb.com
Wed Jan 2 23:47:14 UTC 2013


On 03/01/2013, at 1:40 AM, Nathan Van Gheem <vangheem at gmail.com> wrote:

Hi Dylan,


On Tue, Jan 1, 2013 at 5:14 PM, Dylan Jay <djay at pretaweb.com> wrote:

> Hi,
>
> I'm in need of a in-and-out widget replacement. Ie multi-select and
> orderable widget for schema.List with Choice with a smallish vocabulary so
> I need browsing, not just search.
>
I don't think it'd be too difficult to add support to z3cform for the
chosen widget in plone.app.widgets. I'll try and get that done soon.


Am I right in saying p.a.wosgets is the place to put any
modifications/replacements to plone widgets to make them work with toolbar?





>
> Roche: is your ultima-widget widget stable enough for me to turn it into a
> z3c.form widget yet, at least for the non-tree vocabulary case?
>
> Otherwise, I know there is work being done on plone.widgets, but it looks
> like that is just for Archetypes at the moment correct?
>
Yes, only archetypes right now.


> Or anyone got another suggestion?
>
> BTW, am I right is saying in-and-out widget doesn't have a non-js
> fallback? I can't find a decent way to use it in my testbrowser tests as it
> dynamically creates the final submitted input control using js.
>
You're correct but in test browser, you can manually set the values so it
shouldn't matter that you don't have js.



Not really, unless I'm missing something. The to box values is what the
post request sets values from and that is created via JS. Maybe it reads
the from box in the case no to box is created...  I'll have another look.



_______________________________________________
> UI mailing list
> UI at lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-ui
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-ui/attachments/20130103/7e29cbb2/attachment.html>


More information about the UI mailing list