Zopeists, I created a new ZClass with no index_html for viewing. The n I made an instance of it. Then I went back into the ZClass and created an index_html. Now, to my understanding, and the way it used to work, is that the index_html will be added for all the instances. However there is no index_html in the instance. Somewhere the instance go separated from it's class. Anyone else have that same issue? -- Jason Spisak webmaster@mtear.com
Jason Spisak wrote:
I created a new ZClass with no index_html for viewing. The n I made an instance of it. Then I went back into the ZClass and created an index_html. Now, to my understanding, and the way it used to work, is that the index_html will be added for all the instances. However there is no index_html in the instance. Somewhere the instance go separated from it's class. Anyone else have that same issue?
Did you create the index_html in the ZClass or the Product? It's supposed to go in the ZClass. BTW, in the ZClass Methods tab you can add a 'Propertysheet Interface' that has two types 'view' and 'edit'. I have not yet gotten the 'edit' Propertysheet Interface to work with 'select' and 'multiple select' properties, but the 'view' Propertysheet interface is a perfect starting point for an index_html method. Just add a 'view' Propertysheet Interface to your class named 'index_html'! BTW, DC guys, this wizard interface is great! Keep up the good work! HTH, Michael Bernstein
Michael,
Did you create the index_html in the ZClass or the Product? in the ZClass.
In the ZClass. If you create an instance without a putting a method in the ZClass, then later put a method in the ZClass, does it show up in the instance for you?
BTW, in the ZClass Methods tab you can add a 'Propertysheet Interface' that has two types 'view' and 'edit'. I have not yet gotten the 'edit' Propertysheet Interface to work with 'select' and 'multiple select' properties, but the 'view' Propertysheet interface is a perfect starting point for an index_html method.
Just add a 'view' Propertysheet Interface to your class named 'index_html'!
BTW, DC guys, this wizard interface is great! Keep up the good work!
No kidding, wow! Thanks for the heads up Micheal! DC, you guys really saved me time on that one! -- Jason Spisak webmaster@mtear.com
Jason Spisak wrote:
Michael,
Did you create the index_html in the ZClass or the Product? in the ZClass.
In the ZClass.
If you create an instance without a putting a method in the ZClass, then later put a method in the ZClass, does it show up in the instance for you?
Yes, it does. I am using 2.0.0a3, are you using a CVS version? Michael.
participants (2)
-
Jason Spisak -
Michael Bernstein