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
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
d to access manage_changeProperties."
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 -
e acquisition, without the need for
having each method in many "language" versions, like I said above.
I may figured it wrong. Is there a more clever way to do this?
--
Milos Prudek
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailm
e 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
properties in subfolders "cz", "en&q
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 this product or Z
t 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! **
(Related lists -
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 easier to
understand.
--
Mi
. 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.zope.org
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
.
--
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/listinfo/zope-dev )
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! **
(Related
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
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
___
Zope
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
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
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.spoxdesign.com - your web usability testing
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
** No cross posts or HTML encoding
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 understand each other.
--
Milos Prudek
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
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.spoxdesign.com
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 usability
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/zope-announce
http://mail.zope.org/mailman/listinfo/zope
/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
, title=title)
but the above looks 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
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 advice of 10.6.2004
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 maillist - Zope
not provide that. The first 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 Prudek
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. Desired
behaviour can
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 - your web
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 usability testing
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?
--
Milos Prudek
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.org
http
* Module TAL.TALInterpreter, line 396, in attrAction_tal
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 0:
ordinal not in range(128)
--
Milos Prudek
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
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:
input type=text size=30 name=name tal:attributes=value
request/name| nothing
Unfortunately it throws a Unicode exception if a Czech accented character
)
--
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/listinfo/zope
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/listinfo/zope-announce
http://mail.zope.org/mailman
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/listinfo/zope
... but 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 or HTML
):
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
___
Zope maillist
does the
incorrect (paremeter-less) call near the top of the class do?
--
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
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 maillist
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
] = {}
for lang, v in v.items():
local_properties[id][lang] = unicode(v, 'cp1250')
x._local_properties = local_properties
log.append(log_line)
return log
--
Milos Prudek
___
Zope-Dev maillist - [EMAIL PROTECTED
.
Is my syntax wrong?
--
Milos Prudek
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http
/Members/lalo/PlacelessTranslationService and
http://dev.zope.org/Members/efge/TranslationService. And it does not
work. That's why I ask here.
--
Milos Prudek
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
.
I've read all docs that I could find.
I need this for straight Zope (no CMF, no Plone).
--
Milos Prudek
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists
where can I discuss Placeless Translation Service development?
The original author Lalo Martins does not respond to emails - current
PTS bears a fork suffix - who's in charge now?
--
Milos Prudek
___
Zope-Dev maillist - [EMAIL PROTECTED]
http
48 matches
Mail list logo