Widget in a search form

1 message Options
Embed this post
Permalink
Benjamin Klups () Widget in a search form
Reply Threaded More More options
Print post
Permalink
I have a widget (DynamicSelect Widget) --> URL

i want to use it in a search form i try this code :
<metal:main metal:use-macro="here/edit_macros/macros/body">        
      <metal:widgets metal:fill-slot="widgets">
                <metal:field use-macro="python:context.widget('myfield',
                                    mode='edit')">
                 Title goes here.
                 </metal:field>
      </metal:widgets>
</metal:main>

i have a lot of attribute errors like Exception Value isVisible or isLocked or not a Portal object

could you help me to succed ;-)

Thanks