*** dobee has quit IRC | 00:03 | |
*** jodok has quit IRC | 00:10 | |
*** hazmat has joined #zope3-dev | 00:11 | |
*** ChanServ sets mode: +o hazmat | 00:11 | |
*** dobee has joined #zope3-dev | 00:12 | |
spython | anyone know where to find the code that does the automatic indexing of objects when they are modified? | 00:26 |
---|---|---|
spython | the catalogs in my app are put in containers and not the site manager, so I don't get those automatic stuff for free | 00:28 |
*** alecm has quit IRC | 00:30 | |
ccomb | spython : I think the automatic stuff depends on registration instead of the location of the catalog | 00:35 |
spython | ok | 00:37 |
spython | agh, i need to make two instances, right now two apps are sharing one and it's starts to get confusing :) | 00:40 |
ccomb | sharing one catalog? | 00:40 |
spython | no :) | 00:40 |
spython | but they seem to not get along that well | 00:41 |
spython | that's what you get when your "just-need-to-try-this-thing" packages become a completely new app | 00:41 |
spython | yeah, i need to reorganize stuff :( | 00:43 |
*** sm has joined #zope3-dev | 00:51 | |
*** dobee has quit IRC | 00:54 | |
spython | oh wait, I didn't actually register the container catalog :O | 00:56 |
spython | doh | 00:56 |
spython | like you said ccomb | 00:57 |
spython | now i just need to figure out a good way to uniquely name catalogs when registering | 00:58 |
ccomb | why do you have several catalogs? | 01:04 |
spython | i don't want one enormous catalog :) | 01:05 |
ccomb | you have a lot of différent indexes ? | 01:05 |
spython | so one for each of my "network" which is a container with potentially a lot of content components | 01:06 |
spython | maybe, 4-5 indexes in the content component | 01:06 |
spython | there's no point in doing a site wide search in my app | 01:08 |
*** timte has quit IRC | 01:09 | |
ccomb | you could then have one local sitemanager for each "network" container, with a single catalog in each | 01:09 |
ccomb | just an idea | 01:09 |
spython | hmm.. why not just put the catalog in Network.catalog | 01:09 |
spython | a network isn't really a site :) | 01:10 |
ccomb | a site is not a really site either | 01:10 |
ccomb | just a component registry | 01:10 |
*** redir has joined #zope3-dev | 01:11 | |
spython | I don't see what I would gain having a local site in a Network | 01:11 |
spython | hmm, I wouldn't have to worry about naming conventions for my catalogs maybe.. | 01:12 |
spython | but isn't it a little bit of "overhead" with one site per network? | 01:13 |
*** redir has quit IRC | 01:13 | |
*** redir has joined #zope3-dev | 01:13 | |
ccomb | this would probably lead to more simple api calls | 01:13 |
*** redir has quit IRC | 01:14 | |
*** redir has joined #zope3-dev | 01:14 | |
spython | ok, in what way? | 01:14 |
ccomb | you get the wanted sitemanager depending on the context (the network) | 01:15 |
ccomb | but I don't know your app | 01:16 |
spython | hmm, that's true.. | 01:16 |
spython | thx for tip, I will consider it :) | 01:17 |
spython | I'm 1 month into zope3 now, so I'm not 100% confident with the concepts yet | 01:18 |
*** ccomb has left #zope3-dev | 01:21 | |
*** redir has quit IRC | 01:28 | |
*** projekt01 has joined #zope3-dev | 01:39 | |
*** niemeyer has joined #zope3-dev | 01:41 | |
*** hazmat has quit IRC | 01:48 | |
*** redir has joined #zope3-dev | 01:56 | |
*** hazmat has joined #zope3-dev | 01:57 | |
*** ChanServ sets mode: +o hazmat | 01:57 | |
*** redir has quit IRC | 02:00 | |
*** redir has joined #zope3-dev | 02:01 | |
*** spython has quit IRC | 02:02 | |
*** redir has quit IRC | 02:14 | |
*** redir has joined #zope3-dev | 02:15 | |
*** redir has quit IRC | 02:17 | |
*** redir has joined #zope3-dev | 02:18 | |
*** redir has quit IRC | 02:22 | |
*** Ariel_Calzada has quit IRC | 02:25 | |
edgordon | is there not a direct way to get what interfaces an instance implements? implementedBy seems to only want a factory. | 02:58 |
*** edgordon has quit IRC | 03:24 | |
*** Ariel_Calzada has joined #zope3-dev | 03:36 | |
*** niemeyer has quit IRC | 03:44 | |
*** jsadjohnson has joined #zope3-dev | 03:47 | |
*** edgordon has joined #zope3-dev | 03:52 | |
*** dunny has joined #zope3-dev | 04:12 | |
*** projekt01 has left #zope3-dev | 04:48 | |
*** Ariel_Calzada has quit IRC | 05:13 | |
*** alecm has joined #zope3-dev | 05:40 | |
*** redir has joined #zope3-dev | 05:42 | |
*** greenman has quit IRC | 05:42 | |
*** redir has quit IRC | 05:44 | |
*** redir has joined #zope3-dev | 05:44 | |
*** redir has quit IRC | 05:47 | |
*** redir has joined #zope3-dev | 05:56 | |
*** alecm has quit IRC | 06:01 | |
*** greenman has joined #zope3-dev | 06:27 | |
*** kleist has joined #zope3-dev | 06:44 | |
*** hazmat has quit IRC | 06:45 | |
*** qopi has joined #zope3-dev | 06:54 | |
*** povbot has joined #zope3-dev | 07:02 | |
*** philiKON has joined #zope3-dev | 07:05 | |
*** philiKON_ has quit IRC | 07:22 | |
*** chacha_chaudhry has joined #zope3-dev | 07:28 | |
*** jsadjohnson has quit IRC | 07:33 | |
*** baijum has joined #zope3-dev | 07:40 | |
*** baijum has quit IRC | 07:56 | |
*** greenman has quit IRC | 08:05 | |
*** baijum has joined #zope3-dev | 08:20 | |
*** cursor has joined #zope3-dev | 08:24 | |
*** zagy has joined #zope3-dev | 08:31 | |
*** sorin has joined #zope3-dev | 08:45 | |
*** sorin is now known as sorindregan | 08:46 | |
*** jukart has joined #zope3-dev | 08:46 | |
*** d2m has joined #zope3-dev | 08:50 | |
*** dunny has quit IRC | 09:04 | |
*** tarek has joined #zope3-dev | 09:10 | |
*** zagy_ has joined #zope3-dev | 09:23 | |
*** zagy has quit IRC | 09:23 | |
*** dobee has joined #zope3-dev | 09:28 | |
*** zagy_ is now known as zagy | 09:29 | |
*** tjs has joined #zope3-dev | 09:30 | |
tjs | I have a VocabularyUtility which looks up vocabs from a DB, and can return SimpleVocabs, and other stuff | 09:31 |
tjs | following philiKON's book chapter 17, p341-342 he registers a function as a factory for a vocab | 09:32 |
tjs | as a named utility | 09:32 |
tjs | trying to do that by making my util a module-level singleton, that implements __getattr__ | 09:33 |
tjs | so I can go <utility component= | 09:33 |
tjs | er | 09:33 |
tjs | so I can go <utility component=".foo.util.some_vocab" name='some_vocab'/> | 09:34 |
tjs | because there are a whole stack of them, the util knows how to look them up just fine | 09:34 |
*** romanofski has joined #zope3-dev | 09:34 | |
tjs | the issue I'm having is where they need to provide IVocabularyFactory | 09:35 |
tjs | which is hard because they dont actaully exist until they are requested | 09:35 |
romanofski | moin :) | 09:36 |
tjs | G'day romanofski | 09:37 |
romanofski | howdy tjs :) | 09:42 |
*** lmiller has joined #zope3-dev | 09:47 | |
*** tjs has left #zope3-dev | 09:53 | |
*** timte has joined #zope3-dev | 10:05 | |
*** jodok has joined #zope3-dev | 10:17 | |
*** yvl has joined #zope3-dev | 10:20 | |
*** naro has joined #zope3-dev | 10:34 | |
*** greenman has joined #zope3-dev | 11:09 | |
*** jfroche has joined #zope3-dev | 11:09 | |
*** cursor_ has joined #zope3-dev | 11:13 | |
*** rocky|away has quit IRC | 11:16 | |
*** rocky has joined #zope3-dev | 11:18 | |
timte | Permission denied (publickey,keyboard-interactive). | 11:19 |
timte | svn: Connection closed unexpectedly | 11:19 |
timte | I get this when trying to do a checkout (svn+ssh) from svn repository | 11:20 |
*** cursor has quit IRC | 11:20 | |
timte | anyone got a clue what's causing this? | 11:20 |
*** tomus has joined #zope3-dev | 11:29 | |
timte | ah, forgot the username | 11:37 |
*** ghendi has joined #zope3-dev | 11:46 | |
*** dobee has quit IRC | 11:56 | |
*** dobee has joined #zope3-dev | 11:57 | |
*** richardkan has joined #zope3-dev | 12:06 | |
sorindregan | hi, anybody can tell me how can I change the display format of the date value? (from DD.MM.YY in YY.MM.DD) | 12:12 |
*** stub has joined #zope3-dev | 12:13 | |
*** mkerrin has joined #zope3-dev | 12:17 | |
*** junkafarian has joined #zope3-dev | 12:21 | |
*** ignas has joined #zope3-dev | 12:25 | |
*** d2m has quit IRC | 12:25 | |
philiKON | sorindregan: use the locale date formatter | 12:25 |
philiKON | sorindregan: my book ( http://worldcookery.com ) explains how to do that | 12:26 |
sorindregan | ok philiKON, thx | 12:26 |
*** ghendi has quit IRC | 12:29 | |
*** ignas has quit IRC | 12:44 | |
*** stub has quit IRC | 12:50 | |
*** ktwilight has joined #zope3-dev | 13:00 | |
timte | Can a utillity be registered as providing an interface it doesn't really provide? | 13:02 |
wiggy | why would you ever want to that? | 13:02 |
zagy | *G | 13:05 |
timte | ah, there was more to it | 13:07 |
timte | IB extends IA, component provides IA, provideUtility(component, provides=IB) | 13:07 |
timte | looks like this succeeds in newish zope, but fails in 3.2 | 13:07 |
timte | or I might just be missing something | 13:08 |
*** projekt01 has joined #zope3-dev | 13:08 | |
zagy | you should not want to register it if it doens't provide the interface =) | 13:09 |
*** ktwilight_ has quit IRC | 13:16 | |
*** rocky has quit IRC | 13:19 | |
*** ghendi has joined #zope3-dev | 13:37 | |
*** jodok has quit IRC | 13:44 | |
*** rocky has joined #zope3-dev | 13:44 | |
*** jsadjohnson has joined #zope3-dev | 13:47 | |
*** wiggy has quit IRC | 13:50 | |
*** jap has quit IRC | 13:50 | |
*** ghendi has quit IRC | 13:50 | |
*** tomus has quit IRC | 13:50 | |
*** sorindregan has quit IRC | 13:50 | |
*** lisppaste6 has quit IRC | 13:50 | |
*** instantfoo has quit IRC | 13:50 | |
*** BjornT has quit IRC | 13:50 | |
*** dokai has quit IRC | 13:50 | |
*** ghendi has joined #zope3-dev | 13:51 | |
*** tomus has joined #zope3-dev | 13:51 | |
*** sorindregan has joined #zope3-dev | 13:51 | |
*** lisppaste6 has joined #zope3-dev | 13:51 | |
*** instantfoo has joined #zope3-dev | 13:51 | |
*** BjornT has joined #zope3-dev | 13:51 | |
*** dokai has joined #zope3-dev | 13:51 | |
*** jap has joined #zope3-dev | 13:51 | |
*** wiggy has joined #zope3-dev | 13:51 | |
*** ccomb has joined #zope3-dev | 13:52 | |
*** tomus has quit IRC | 14:00 | |
*** romanofski has quit IRC | 14:01 | |
*** romanofski has joined #zope3-dev | 14:06 | |
*** rock1 has joined #zope3-dev | 14:21 | |
*** rocky has quit IRC | 14:23 | |
*** rock1 is now known as rocky | 14:23 | |
zagy | i wonder | 14:25 |
zagy | is there a supposed way to validate an object against a schema? | 14:25 |
zagy | including invariants? | 14:25 |
philiKON | zagy: look at chapter 4 of my book | 14:26 |
philiKON | short answer: there's no single call | 14:26 |
zagy | philiKON: okay, I know the single calls | 14:26 |
zagy | would it be an idea to add such a function to zope.schema? | 14:27 |
zagy | It seems like something recurring | 14:27 |
philiKON | i wouldn't mind | 14:28 |
projekt01 | zagy, see z3c.testing there is a schema validation test, it will test if the object implements the interface and the method arguments are correct | 14:32 |
*** wiggy has quit IRC | 14:37 | |
*** jap has quit IRC | 14:37 | |
*** instantfoo has quit IRC | 14:37 | |
*** BjornT has quit IRC | 14:37 | |
*** dokai has quit IRC | 14:37 | |
*** lisppaste6 has quit IRC | 14:37 | |
*** sorindregan has quit IRC | 14:37 | |
*** ghendi has quit IRC | 14:37 | |
*** timte has quit IRC | 14:37 | |
*** SteveA has quit IRC | 14:37 | |
*** projekt01 has quit IRC | 14:37 | |
*** romanofski has quit IRC | 14:37 | |
*** ccomb has quit IRC | 14:37 | |
*** philiKON has quit IRC | 14:37 | |
*** b52laptop has quit IRC | 14:37 | |
*** Aiste has quit IRC | 14:37 | |
*** johnlr2 has quit IRC | 14:37 | |
*** mkerrin has quit IRC | 14:37 | |
*** jfroche has quit IRC | 14:37 | |
*** yvl has quit IRC | 14:37 | |
*** baijum has quit IRC | 14:37 | |
*** chacha_chaudhry has quit IRC | 14:37 | |
*** qopi has quit IRC | 14:37 | |
*** kleist has quit IRC | 14:37 | |
*** srichter has quit IRC | 14:37 | |
*** junkafarian has quit IRC | 14:37 | |
*** dobee has quit IRC | 14:37 | |
*** cursor_ has quit IRC | 14:37 | |
*** pbugni has quit IRC | 14:37 | |
*** Theuni has quit IRC | 14:37 | |
*** markusleist has quit IRC | 14:37 | |
*** CrippsFX has quit IRC | 14:37 | |
*** xbeanx has quit IRC | 14:37 | |
*** jsadjohnson has quit IRC | 14:37 | |
*** richardkan has quit IRC | 14:37 | |
*** edgordon has quit IRC | 14:37 | |
*** cbcunc_ has quit IRC | 14:37 | |
*** Newfie2007 has joined #zope3-dev | 14:45 | |
*** srichter has joined #zope3-dev | 14:53 | |
*** richardkan_ has joined #zope3-dev | 14:53 | |
*** jsadjohnson has joined #zope3-dev | 14:53 | |
*** hazmat has joined #zope3-dev | 14:53 | |
*** johnlr2 has joined #zope3-dev | 14:53 | |
*** Aiste has joined #zope3-dev | 14:53 | |
*** b52laptop has joined #zope3-dev | 14:53 | |
*** philiKON has joined #zope3-dev | 14:53 | |
*** ccomb has joined #zope3-dev | 14:53 | |
*** romanofski has joined #zope3-dev | 14:53 | |
*** projekt01 has joined #zope3-dev | 14:53 | |
*** junkafarian has joined #zope3-dev | 14:53 | |
*** mkerrin has joined #zope3-dev | 14:53 | |
*** richardkan has joined #zope3-dev | 14:53 | |
*** dobee has joined #zope3-dev | 14:53 | |
*** cursor_ has joined #zope3-dev | 14:53 | |
*** jfroche has joined #zope3-dev | 14:53 | |
*** yvl has joined #zope3-dev | 14:53 | |
*** timte has joined #zope3-dev | 14:53 | |
*** baijum has joined #zope3-dev | 14:53 | |
*** chacha_chaudhry has joined #zope3-dev | 14:53 | |
*** qopi has joined #zope3-dev | 14:53 | |
*** kleist has joined #zope3-dev | 14:53 | |
*** edgordon has joined #zope3-dev | 14:53 | |
*** pbugni has joined #zope3-dev | 14:53 | |
*** SteveA has joined #zope3-dev | 14:53 | |
*** Theuni has joined #zope3-dev | 14:53 | |
*** cbcunc_ has joined #zope3-dev | 14:53 | |
*** CrippsFX has joined #zope3-dev | 14:53 | |
*** xbeanx has joined #zope3-dev | 14:53 | |
*** irc.freenode.net sets mode: +o srichter | 14:53 | |
*** ghendi has joined #zope3-dev | 14:53 | |
*** sorindregan has joined #zope3-dev | 14:53 | |
*** lisppaste6 has joined #zope3-dev | 14:53 | |
*** instantfoo has joined #zope3-dev | 14:53 | |
*** BjornT has joined #zope3-dev | 14:53 | |
*** dokai has joined #zope3-dev | 14:53 | |
*** jap has joined #zope3-dev | 14:53 | |
*** wiggy has joined #zope3-dev | 14:53 | |
*** markusleist has joined #zope3-dev | 14:53 | |
*** richardkan has quit IRC | 14:54 | |
*** Ariel_Calzada has joined #zope3-dev | 14:55 | |
*** jodok_ has joined #zope3-dev | 15:09 | |
*** edgordon has quit IRC | 15:24 | |
*** chacha_chaudhry has quit IRC | 15:33 | |
*** baijum has quit IRC | 15:39 | |
*** greenman has quit IRC | 15:42 | |
*** povbot has joined #zope3-dev | 16:00 | |
*** salfield has joined #zope3-dev | 16:03 | |
*** cursor_ has quit IRC | 16:06 | |
*** cursor has joined #zope3-dev | 16:06 | |
*** cursor has quit IRC | 16:10 | |
*** edgordon has joined #zope3-dev | 16:10 | |
*** ignas has joined #zope3-dev | 16:12 | |
*** redir has joined #zope3-dev | 16:16 | |
*** niemeyer has joined #zope3-dev | 16:16 | |
*** rcrafton has joined #zope3-dev | 16:19 | |
*** nathany has joined #zope3-dev | 16:27 | |
*** stub has joined #zope3-dev | 16:28 | |
*** jodok_ is now known as jodok | 16:35 | |
*** stub has quit IRC | 16:39 | |
*** J1m has joined #zope3-dev | 16:53 | |
*** bigkevmcd has joined #zope3-dev | 16:54 | |
*** afd_ has joined #zope3-dev | 16:58 | |
*** Aiste has quit IRC | 17:03 | |
*** sorindregan has quit IRC | 17:15 | |
*** edgordon has quit IRC | 17:26 | |
*** cursor has joined #zope3-dev | 17:26 | |
*** edgordon has joined #zope3-dev | 17:39 | |
*** edgordon has quit IRC | 17:44 | |
*** ignas has quit IRC | 17:45 | |
*** Squall2 has joined #zope3-dev | 17:47 | |
*** Squall2 has left #zope3-dev | 17:49 | |
zagy | philiKON: ping | 17:51 |
*** mgedmin has joined #zope3-dev | 17:57 | |
*** Aiste has joined #zope3-dev | 18:04 | |
*** ghendi has quit IRC | 18:09 | |
*** bigkevmcd has quit IRC | 18:14 | |
*** niemeyer has quit IRC | 18:14 | |
*** bigkevmcd has joined #zope3-dev | 18:14 | |
*** niemeyer has joined #zope3-dev | 18:15 | |
*** projekt01 has quit IRC | 18:19 | |
*** hazmat has quit IRC | 18:25 | |
*** goschtl has joined #zope3-dev | 18:26 | |
*** timte has quit IRC | 18:30 | |
*** rlo has joined #zope3-dev | 18:39 | |
*** goschtl has quit IRC | 18:44 | |
*** redir has quit IRC | 18:52 | |
*** alecm has joined #zope3-dev | 18:58 | |
*** jodok has quit IRC | 18:59 | |
*** dobee has quit IRC | 18:59 | |
*** rlo has quit IRC | 19:03 | |
*** redir has joined #zope3-dev | 19:05 | |
*** pcardune has joined #zope3-dev | 19:10 | |
*** rlo has joined #zope3-dev | 19:15 | |
*** romanofski has quit IRC | 19:15 | |
*** rlo has quit IRC | 19:18 | |
*** edgordon has joined #zope3-dev | 19:18 | |
*** zagy has quit IRC | 19:21 | |
*** natea|away has joined #zope3-dev | 19:21 | |
CrippsFX | w00t. My demo skin works. | 19:24 |
CrippsFX | ... and it even looks pretty. | 19:24 |
*** kali67 has joined #zope3-dev | 19:26 | |
*** redir has quit IRC | 19:29 | |
*** cursor has quit IRC | 19:31 | |
*** zagy has joined #zope3-dev | 19:32 | |
*** jukart has quit IRC | 19:36 | |
*** dobee has joined #zope3-dev | 19:36 | |
philiKON | zagy: pong | 19:51 |
zagy | philiKON: ah | 19:51 |
zagy | philiKON: i checked in the browser:menu change | 19:51 |
zagy | question is how to do it with the release/versions now | 19:51 |
*** pbugni has quit IRC | 19:53 | |
*** qopi has quit IRC | 19:59 | |
*** mgedmin has quit IRC | 20:03 | |
*** zagy_ has joined #zope3-dev | 20:05 | |
zagy_ | hmpf | 20:07 |
zagy_ | philiKON: did you say something? :) | 20:07 |
philiKON | zagy_: ah, not yet | 20:08 |
*** edgordon has quit IRC | 20:08 | |
zagy_ | ok, no hurry :) | 20:08 |
philiKON | zagy_: i assume you changed zope.app.publisher | 20:08 |
zagy_ | jep | 20:08 |
philiKON | shrug | 20:09 |
philiKON | it doesn't have a tag whatsoever | 20:09 |
zagy_ | it does not? | 20:09 |
zagy_ | umpf | 20:09 |
zagy_ | there is a 3.4 branch | 20:10 |
philiKON | shrug | 20:10 |
zagy_ | well | 20:10 |
philiKON | we only have 0.1dev and 3.5.0a1 eggs | 20:10 |
zagy_ | *G | 20:10 |
philiKON | first of all, your fix should also go on the 3.4 branch | 20:11 |
philiKON | then i suggest we make a 3.4.0b1 release | 20:11 |
philiKON | and a 3.5.0a1 | 20:11 |
philiKON | and stop this dev-rXXX nonsense | 20:11 |
philiKON | omg, the cheeseshop even has a completely differnet version | 20:11 |
philiKON | http://cheeseshop.python.org/pypi/zope.app.publisher | 20:11 |
philiKON | how the hell did the beta get there? | 20:12 |
zagy_ | no idea | 20:12 |
zagy_ | so i guess... we take the 3.4 branch and move it to 3.4b1 tag | 20:12 |
philiKON | huh? | 20:12 |
philiKON | no | 20:12 |
philiKON | you merge your stuff to the 3.4 branch | 20:12 |
philiKON | the bugfix | 20:13 |
zagy_ | right | 20:13 |
philiKON | then we tag 3.4.0b1 from the 3.4 branch | 20:13 |
zagy_ | that makes sense :) | 20:13 |
philiKON | (after having edited setup.py and the changelog, etc.) | 20:13 |
philiKON | and we properly release that on the cheeseshop | 20:13 |
zagy_ | who will release it on cheeseshop? | 20:13 |
philiKON | Theuni: can you give zagy_ and me access to zope.app.publisher's page on the cheeseshop? | 20:13 |
* zagy_ zieht die frage zurück ;0 | 20:13 | |
philiKON | :) | 20:14 |
philiKON | semper saudum queret | 20:14 |
zagy_ | Theuni isn't there right now, but i'll nag him tomorrow then | 20:14 |
*** zagy has quit IRC | 20:14 | |
philiKON | and then i also suggest we do a 3.5.0a1 | 20:14 |
philiKON | just to get the fix out as an egg | 20:14 |
philiKON | and to make the dev-rXXX stuff obsolete | 20:15 |
zagy_ | mkay... | 20:15 |
zagy_ | anyway, i'll need to do some RL things ;) | 20:15 |
* philiKON goes shopping :) | 20:22 | |
instantfoo | :) | 20:29 |
*** Aiste has quit IRC | 20:30 | |
*** edgordon has joined #zope3-dev | 20:42 | |
*** jodok has joined #zope3-dev | 20:56 | |
*** richardkan_ has quit IRC | 21:06 | |
*** redir has joined #zope3-dev | 21:18 | |
*** yvl has quit IRC | 21:19 | |
redir | is there an attribute (that I can't find) which allows for per field permissions settings i.e. constraint=isNotAnonymous or permission=modify or something | 21:21 |
redir | ? | 21:21 |
redir | In other words I want a schema field to only show up if a user is not anonymous | 21:23 |
instantfoo | <class ...><allow attribute="..."></class> | 21:24 |
instantfoo | oh | 21:24 |
instantfoo | can't you just define a require? | 21:25 |
redir | as an attribute on a field? | 21:25 |
redir | required is a boolean | 21:25 |
instantfoo | i think there's something like.. <require attribute="foo" permission="bar.View" /> | 21:26 |
redir | in zcml? | 21:27 |
instantfoo | yes | 21:27 |
redir | thinking | 21:27 |
*** salfield has quit IRC | 21:29 | |
*** cbcunc_ is now known as cbcunc | 21:29 | |
redir | so if in a <browser:page> directive I can add a require attribute for a given field as an attr in the page? | 21:30 |
instantfoo | no, require is for the <class> | 21:37 |
*** Jell-O-Fishi has joined #zope3-dev | 21:37 | |
*** dobee has quit IRC | 21:41 | |
*** mkerrin has quit IRC | 21:44 | |
*** jsadjohnson has joined #zope3-dev | 21:58 | |
*** spython has joined #zope3-dev | 21:58 | |
*** redir has quit IRC | 21:59 | |
*** redir has joined #zope3-dev | 22:03 | |
*** pcardune has quit IRC | 22:05 | |
spython | lets say that "iibtree[45] == 1000" in my IIBTree, and I later write the same value to it, would it be considered changed by ZODB? Or does the value have to actually be different | 22:07 |
*** redir has quit IRC | 22:10 | |
*** junkafarian has quit IRC | 22:14 | |
bigkevmcd | spython: == is a comparative operator, it shouldn't change anything | 22:15 |
*** Newfie2007 has quit IRC | 22:16 | |
spython | that was just to show what was in my tree, a bit confusing yes :) | 22:16 |
spython | so iibtree[45] has the value 1000... | 22:17 |
spython | and if I write 1000 to iibtree[45] afterwards.. will zodb store the object or simply not do it because the value was the same before.. | 22:19 |
*** ccomb has left #zope3-dev | 22:38 | |
*** kleist has left #zope3-dev | 22:42 | |
*** tarek has quit IRC | 22:54 | |
*** greenman has joined #zope3-dev | 22:59 | |
*** srichter has quit IRC | 23:03 | |
*** spython has quit IRC | 23:05 | |
*** redir has joined #zope3-dev | 23:11 | |
*** fcorrea has joined #zope3-dev | 23:13 | |
*** jfroche_ has joined #zope3-dev | 23:31 | |
*** Aiste has joined #zope3-dev | 23:34 | |
*** dobee has joined #zope3-dev | 23:37 | |
*** jfroche has quit IRC | 23:46 | |
*** naro has left #zope3-dev | 23:50 | |
*** philiKON has quit IRC | 23:50 | |
*** jsadjohnson has quit IRC | 23:51 | |
*** philiKON has joined #zope3-dev | 23:51 | |
*** tarek has joined #zope3-dev | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!