Hi,
is this the right place to post question about PlacelessTranslationService?
--
Milos Prudek
___
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https
createObject
Module zope.component._api, line 207, in getUtility
ComponentLookupError: (,
None)
What does it mean?
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding
> As the bottom of my email stated, use declareObjectPublic() in this
> case. The rest of the security calls are then somewhat redundant,
Yes, I used your advice and it seems to have resolved the issue.
Thank you!
--
Milos Prudek
___
Zope ma
eric',globals())
generic._owner=None
So, since there are many correct calls of declarePublic(), what does the
incorrect (paremeter-less) call near the top of the class do?
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://
me, *names):
therefore I understand that one parameter is obligatory. But I cannot guess
what parameter it should be for JMZPTMacros. I tried to look how
declarePublic is used inside Zope but it gave me no clue.
Please help.
--
Milos Prudek
___
Zop
an instance of TextIndexNG cannot be added, because it is
not among addable types. Is this normal? Does TextIndexNG3 have a web
interface?
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts
> The spelling in my 2.8 branch checkout is 'default-zpublisher-encoding'.
Wow, not I see it. Dashes instead of underscores.
Now it works. Thank you.
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/
lisher-encoding' and the
error is the same as before.
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listi
/zope.conf)
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/lis
On Tuesday 28 of March 2006 23:48, MIlos Prudek wrote:
> I have a typical ZPT form that redisplays entered data if invalid data is
> entered:
>
>
>
> Unfortunately it throws a Unicode exception if a Czech accented character
> is entered. Such as "s" with a hacek
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 308, in do_startTag
* Module TAL.TALInterpreter, line 396, in attrAction_tal
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in positi
> The language attribute is a standard Archetypes field, and as such youcan
ask such fields what it's accesor and mutator are:
Cool, now I know how to do it for any other attribute. Thank you.
--
Milos Prudek
___
Zope maillist - Zope@zope.
Hi,
how can I programatically change the Language attribute in Standard Resource
Metadata of ATImage?
I tried:
for item in context.objectValues('ATImage'):
print item.Language()
This works perfectly. How do I assign value to Language?
--
Mi
Right, checked an old (wrong) file in my product. Sorry for the mistake.
Yes, it works. Problems solved. Thank you Andreas and Jens.
--
Milos Prudek
http://www.spoxdesign.com - your web usability testing
___
Zope maillist - Zope@zope.org
http
access to comment_add_form to the Authenticated role
only. comment_add_form is on the filesystem, in my Product's zpt directory.
How can I achieve this? I understand zilch about ClassSecurityInfo...
(My Product is based on JMBoring template)
--
Milos Prudek
http://www.spoxdesign.com - your web us
Hi,
is there an editor that would support code completion for Page Templates
and maybe even code completion for Zope3 new technologies?
Currently I use ViM on Linux - but a lot of typing is required, like
"tal:attributes" - 14 keystrokes.
--
Milos Prudek
http://www.spoxdesign.com
Milos Prudek wrote:
I created a very simple folderish product. Everything works fine. But I
was surprised that "context" and "container" seem to behave differently
for folderish object than for normal Folder.
To answer my own question: I misunderstood what container does. De
line shows nothing, and the
second line shows content of the parent Folder! I would have expected
that "container" is the "a", the folderish object. Why does it not work?
I \know that I can get my list by calling /a/lst, but unfortunately I
cannot do that.
--
Milos Prude
Ta. I'll check it out, although I suspect a ZClass may be more what I
want... need to do some more reading up.
Don't use ZClasses. They have been deprecated for more than a year and
they are poorly supported.
--
Milos Prudek
___
Zope maillis
Milos Prudek wrote:
> Hi,
>
> I need to convert a ZClass cataloged in multiple ZCatalogs into a
> Product. I know how to create a Product. But I have trouble
> understanding how to create a proper ZCatalog and manage it in a Product.
To answer myself, simply follow Garito's ad
s fishy because I would have an isolated catalog for
each new instance of my class...
To support manage_editCataloger and reindex_object, do I need to import
both ZCatalog from Products.ZCatalog and CatalogAware from
Products.ZCatalog.CatalogAwareness ?
--
Milos Prudek
___
/gtk/Boring
and finish with JMBoring
http://www.zope.org/Members/jmeile/JMBoring
You then do not need to write your product from scratch. You can easily
modify JMBoring.
Thanks to Paul Winkler and Cliff Ford who pointed these excellent docs
to me.
--
Milos Prudek
http://www.spoxdesign.com - your
have a
"Restart" button.
Correct again. Thank you JCC.
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/z
It's designed to be a counter and does automatic conflict resolution. It
was mentionned a number of times in the past on the zope and zodb-dev
lists.
Thank you. I found detailed info in the mailing list archive, just like
you said.
--
Milos Prudek
http://www.spoxdesign.com - your web usab
Probably not. If you had an SQL solution, and some client code
said someArticle.NumberOfReaders += 1, how would you get that
assignment to fire off your SQL code?
I would have to "calculate" the key, so simple assignment would not
work, that's true.
--
Milos Prudek
http://www
A better candidate, rather than PersistentList, would be a BTrees.Length.
Never heard about this. Why is it better? What does it do? Where can I
find more info about it?
--
Milos Prudek
http://www.spoxdesign.com - your web usability testing
___
Zope
for my use
case?
So client code can't write "someArticle.NumberOfReaders += 1".
But then, you wouldn't be able to do that with a SQL-based
solution either.
Why not? It's easy to write ZSQL method to update data. Probably we do
not unde
r moving
Articles in the directory structure to maintain the connection between
ZODB and SQL table.
Is there an obvious elegant solution that I am missing?
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**
Is it possible to have the "Restart" button in ZMI Control Panel? I only
have "Shutdown". What controls this? I start my Zope instance with
"instance/bin/runzope &".
I use Zope 2.7.4.
--
Milos Prudek
http://www.spoxdesig
Rather, I would look at the venerable old Boring and Minimal
example products. (But be aware that Boring (last time I looked)
Oh yes, I will look at those. Thanks for the supporting documentation in
your post.
--
Milos Prudek
http://www.spoxdesign.com - your web usability testing
Yes. In Zope X3.0 you can only develop filesystem-based Python packages, so in
Well, then your book debuted at number 1 on my book shopping list.
--
Milos Prudek
http://www.spoxdesign.com - your web usability testing
___
Zope maillist - Zope@zope.org
I don't know about best documents! There is a minimal Product How To:
http://www.zope.org/Members/maxm/HowTo/minimal_01/
That's exactly what I was looking for. Thanks!
--
Milos Prudek
http://www.spoxdesign.com - your web usability testing
__
book contain all info required to develop
products (or whatever are they called in Zope 3) for Zope 3?
--
Milos Prudek
http://www.spoxdesign.com - your web usability testing
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**
ntioned.
I do not feel I can contribute to ZDG at this time. Is there any other
resource you can recommend, please?
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!
. That is all.
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/list
than ZDG
and contains all required information for building products?
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman
ively. Instead of ZMI/External
editor I need vim, grep, mv and cp to manipulate Zope ZODB.
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zop
Dieter Maurer wrote:
>
> Milos Prudek writes:
> > ... "Define permissions" tab for ZClasses ...
> I found that the respective description in the upcoming Zope book
> was not bad.
Thanks, that's true. The explanation is brief, but much easie
I wish that the ZB is
coherent in the "explanation - example - reference" trio.
--
Milos Prudek
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Relate
ave to go to the containing Z Class,
click on Permissions and add the desired permission in the 'Class
permissions' list box."
Frankly, the sentence "The second column specifies the permissions that
should have this permission in th
ir ZClass. It is a
simple property of 'cz' subfolder of Fir ZClass.
If lstName were inside a property sheet of Fir ZClass, there could not
exist multiple 'lstName' properties in different property sheets,
because all property sheets have common namespace. Therefore I have my
s that once a new user selects her preferred language (and a
Cookie is set for her), she is transferred to a starting url
"http://www.website.org/de/start.htm" and from there she can access the
database in her language by simple acquisition, without the need for
having each method in
geProperties."
I'm running this script as a "manager" defined at Zope root, in other
words with the default setup. Normally I can do anything in Zope with
this authorization.
--
Milos Prudek
___
Zope maillist - [EMAIL PROTECTED]
http
I do not quite understand how Zope traverses a tree.
I created "ZooExhibit" Z Class within ZooExhibit factory, and
"ExhibitProperties" prop.sheet within that class, with an "animal"
property. I made association between "Edit" name and
propertysheets/ExhibitProperties/manage. I made an instance o
abled delivery a few days ago and now I can't enable it due to the
above mentioned problem.
Thanks for any help, and please mail me directly
--
Milos Prudek
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No c
mbinations)
--
Milos Prudek
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/lis
46 matches
Mail list logo