Re: [dzug-zope] Merkwürdiges Verhalten bei CPT
Yvon Folz <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Message-ID | <[email protected]> |
Okay, danke. Jetzt gehts. Warum einfach wenn es auch kompliziert geht :D Gruß Yvon --- Am 18. März 2009 08:48 schrieb Raphael Ritz <[email protected]>: > Yvon Folz wrote: > >> Ja, er hat bspw. den Namen XYZ_view.cpt.metadata - analog zu XYZ_view.cpt, >> wenn ich diesen über XYZ_view aufrufe funktioniert er auch korrekt. Nur über >> die Navigation mit dem Aufruf base_view tut er das nicht. >> > > XYZ_view und base_view sind nunmal verschiedene Templates. > Entweder Du stellst sicher, dass auch aus der Navigations > heraus XYZ_view aufgerufen wird (durch Deklarieren als > default view im TypesTool) oder Du registrierst den Validator > auch fuer base_view. Das kannst Du z.B. direkt im FormControlerTool > (portal_form_controller oder ähnlich) tun. > > Raphael > > > >> Gruß Yvon >> >> >> Am 17. März 2009 16:40 schrieb Andreas Jung <[email protected] <mailto: >> [email protected]>>: >> >> Der Validator ist korrekt für das .cpt File konfiguriert? >> >> Andreas >> >> 2009/3/17 Yvon Folz <[email protected] >> <mailto:[email protected]>>: >> > Hallo Allerseits, >> > ich habe ein View geschrieben, ein cpt mit den benötigten >> Validator etc. >> > Wenn ich aus der Navigation aufrufe steht in der URL base_view >> und mein >> > normaler Inhalt erscheint. Soweit so gut. >> > hier wird aber die Validation nicht ausgeführt, rufe ich dagegen >> den Link >> > direkt auf mit XYZ_view funktioniert es auch mit der Validation. >> Muss ich >> > noch irgendetwas ändern? >> > Gruß Yvon >> > >> > >> > _______________________________________________ >> > zope mailing list >> > [email protected] <mailto:[email protected]> >> > https://mail.dzug.org/mailman/listinfo/zope >> > >> > >> >> >> _______________________________________________ >> zope mailing list >> [email protected] <mailto:[email protected]> >> https://mail.dzug.org/mailman/listinfo/zope >> >> >> >> >> -- >> Heute ist der Tag vor übermorgen - also Gestern. >> >> >> ------------------------------------------------------------------------ >> >> >> >> _______________________________________________ >> zope mailing list >> [email protected] >> https://mail.dzug.org/mailman/listinfo/zope >> > > > > _______________________________________________ > zope mailing list > [email protected] > https://mail.dzug.org/mailman/listinfo/zope > -- Heute ist der Tag vor übermorgen - also Gestern. _______________________________________________ zope mailing list [email protected] https://mail.dzug.org/mailman/listinfo/zope