Hi Dirksen, Hmm... why not have the query that gets data qualify by gender: SQL Query: getMemberByGender parameters member_id, gender select * from members where <dtml-sqltest member_id type=string> and <dtml-sqltest gender type=string> Then in the SkinScript for maleMemberRack: WITH QUERY getMemberByGender(member_id=self.id, gender='male') COMPUTE blah, blah, blah.... -steve
"Dirksen" == Dirksen <dirksen_lau@yahoo.com> writes:
Dirksen> I set up two racks in one specialist, one is Dirksen> maleMemberRack, the other femaleMemberRack. Both are Dirksen> loaded by accessing attribute id, and have skinscripts to Dirksen> retrieve data from a db. Suppose the femaleMemberRack Dirksen> gets loaded first, it finds out from the db that the 'id' Dirksen> is a male, then how can it pass the process to the Dirksen> maleMemberRack? Dirksen> Dirksen Dirksen> __________________________________________________ Do You Dirksen> Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions Dirksen> of Products. http://shopping.yahoo.com/ Dirksen> _______________________________________________ Zope Dirksen> maillist - Zope@zope.org Dirksen> http://lists.zope.org/mailman/listinfo/zope ** No cross Dirksen> posts or HTML encoding! ** (Related lists - Dirksen> http://lists.zope.org/mailman/listinfo/zope-announce Dirksen> http://lists.zope.org/mailman/listinfo/zope-dev )