Hello guys,
I have a custom widget and I cannot manage to have a custom way of
displaying it after editing.
as far as I know, I should be registering the view for
form.interfaces.IDisplayWidget(for display) and
form.interfaces.IInputWidget(for editing).
I use the following zcml lines:
part of it depends not only registration of the custom display widget, but
also how your rendering the display, ie. if your using formlib, just using
a displayformbase should do it, if your using zope.app.form directly
you'll might also need to specify that you want to specify IDisplayWidget
Hi,
On Sat, Nov 25, 2006 at 04:17:24AM +0900, Hassan Alirezaei wrote:
> Hello guys,
>
> I have a custom widget and I cannot manage to have a custom way of displaying
> it after
> editing.
> as far as I know, I should be registering the view for
> form.interfaces.IDisplayWidget(for display) an
Hello Frank, Thanks for the help.
right. it is basically based on your mpgsite.i18n. I think what you
do(especially the "I18NWidget") should be a part of standard zope.
Thanks for the great package, I learned a lot from it. I downloaded the
svn version a couple of days ago but because of the
Am Samstag, 25. November 2006 09:46 schrieb Hassan Alirezaei:
> I think what you
> do(especially the "I18NWidget") should be a part of standard zope.
I too think something like this would be a good thing to have as standard.
Just thought that anyone might be interested, I stumbled over another pa
Am Samstag, 25. November 2006 11:36 schrieb Sascha Ottolski:
> Am Samstag, 25. November 2006 09:46 schrieb Hassan Alirezaei:
> > I think what you
> > do(especially the "I18NWidget") should be a part of standard zope.
>
> I too think something like this would be a good thing to have as standard.
> J
Hi Kapil , Thanks for the reply.
part of it depends not only registration of the custom display widget,
but also how your rendering the display, ie. if your using formlib,
just using a displayformbase should do it, if your using zope.app.form
directly you'll might also need to specify that you
Sascha Ottolski wrote:
the above seems to build upon an interesting
looking package z3c.language:
http://svn.zope.org/z3c.language/trunk/src/z3c/language/
Thanks for mentioning.
Back to the source of the problem. Maybe I am getting all this wrong.
Alright, one simple question:
--
Hi,
On Sun, Nov 26, 2006 at 01:13:43AM +0900, Hassan Alirezaei wrote:
> Sascha Ottolski wrote:
> >the above seems to build upon an interesting looking package z3c.language:
> >
> >http://svn.zope.org/z3c.language/trunk/src/z3c/language/
> Thanks for mentioning.
> Back to the source of the problem.
Hi Frank. Thanks again!
No widget is called. Problem is, there's no schema information contained in
"context/homepage". What the template engine does is basically
str(context.homepage)
I kinda guessed that from what the browser displays.
Just one last question. if the template just uses s
Hi,
On Sun, Nov 26, 2006 at 03:33:06AM +0900, Hassan Alirezaei wrote:
[snip]
> Just one last question. if the template just uses str() then what does the
> following zcml do? it is in the standard zope3 distribution under the
> zope/app/form/browser/configure.zcml and I didn't notice any pro
FB wrote:
Hi,
On Sun, Nov 26, 2006 at 03:33:06AM +0900, Hassan Alirezaei wrote:
[snip]
Just one last question. if the template just uses str() then what does the
following zcml do? it is in the standard zope3 distribution under the
zope/app/form/browser/configure.zcml and I didn't noti
12 matches
Mail list logo