Invariant between behaviors? (DX/z3cform)
"Jens W. Klein" <jens-/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Organization | Klein & Partner KG |
| Message-ID | <[email protected]> |
z3cform/ dexterity question: I have a custom behavior "A" with a field "myfield". Now I want an invariant validation to have this field required only if 'otherfield' on an other behaviour "B" was set. In my invariants 'data' on A does not contain 'otherfield' (only myfield). How can i access the values from B in my invariant on A? regards Jens -- Klein & Partner KG, member of BlueDynamics Alliance ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk