Re: Auto Compete for Schema xml
espen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
18. feb. 2015 kl. 08:37 skrev Simon Richardson-2 [via Plone] <ml-node+s293351n7573272h85-PKuAHvtXa09l57MIdRCFDg@public.gmane.org>:
> I have a dexterity type where the fields are defined in a model xml file. I've created a reference and restricted this to certain type using object_provides.
>
> I now want to enable the AutocompleteFieldWidget on my referenced field but don't know how to do this and also have the fields defined in the model xml file.
>
> The dexterity developer manual seams to suggest using directives.widget in the interface but I just can't get this to work. Has anyone managed to do this without reverting to defining the schema model entirely in code?
not sure about this, but could it be possible to do just:
<field name=«some.thing»>
<form:widget type="z3c.form.browser.some.Widget">
<klass>asomething</klass>
</form:widget>
</field>
>
> Simon
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Plone-Users mailing list
> [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/Auto-Compete-for-Schema-xml-tp7573272.html
> To start a new topic under General Questions, email ml-node+s293351n293352h65-PKuAHvtXa09l57MIdRCFDg@public.gmane.org
> To unsubscribe from Plone, click here.
> NAML
--
View this message in context: http://plone.293351.n2.nabble.com/Auto-Compete-for-Schema-xml-tp7573272p7573277.html
Sent from the General Questions mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users