<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=us-ascii" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Martijn;<br>
<br>
I didn't try because I didn't know how to the make a Factory method (or
class).<br>
So, I can just name it xyzFactory() or what?<br>
<br>
thanks.<br>
<blockquote cite="mid:hk1ip4$jd9$1@ger.gmane.org" type="cite">
  <pre wrap="">Hannes wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Martijn,

thanks for the fast reply!
    </pre>
  </blockquote>
  <pre wrap=""><!---->
So did you try making a factory like this and passing them to the 
CustomWidgetFactory?

def versionFactory():
    return Version(1, 2, 3, 4, 5)

Regards,

Martijn

_______________________________________________
Grok-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Grok-dev@zope.org">Grok-dev@zope.org</a>
<a class="moz-txt-link-freetext" href="https://mail.zope.org/mailman/listinfo/grok-dev">https://mail.zope.org/mailman/listinfo/grok-dev</a>

  </pre>
</blockquote>
<br>
</body>
</html>