Re: [Zope3-Users] z3c.form query widget

2008-04-11 Thread Fernando Correa Neto
Hey,

On Thu, Apr 10, 2008 at 6:17 AM, Roger Ineichen [EMAIL PROTECTED] wrote:

  Use the new namespace z3c.formwidget
  and add a package like z3c.formwidget.xy for this
  new package.

Just in case you guys need it for something, I've ported the
z3c.form.namespace so it can be used in z3c.form.
If you want I can add this to z3c.formwidget as well.


Regards,
Fernando
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


AW: [Zope3-Users] z3c.form query widget

2008-04-11 Thread Roger Ineichen
Hi Fernando
 
 Betreff: Re: [Zope3-Users] z3c.form query widget
 
 Hey,
 
 On Thu, Apr 10, 2008 at 6:17 AM, Roger Ineichen 
 [EMAIL PROTECTED] wrote:
 
   Use the new namespace z3c.formwidget
   and add a package like z3c.formwidget.xy for this  new package.
 
 Just in case you guys need it for something, I've ported the 
 z3c.form.namespace so it can be used in z3c.form.
 If you want I can add this to z3c.formwidget as well.

Is this package for z3c.form? And what does it do? Does it
offer a traversable namespace? Or is it for zope.formlib?

Regards
Roger Ineichen
_
END OF MESSAGE

 Regards,
 Fernando
 

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] z3c.form query widget

2008-04-11 Thread Fernando Correa Neto
Hey

On Fri, Apr 11, 2008 at 11:53 AM, Roger Ineichen [EMAIL PROTECTED] wrote:
 Hi Fernando

   Betreff: Re: [Zope3-Users] z3c.form query widget


 
   Hey,
  
   On Thu, Apr 10, 2008 at 6:17 AM, Roger Ineichen
   [EMAIL PROTECTED] wrote:
  
 Use the new namespace z3c.formwidget
 and add a package like z3c.formwidget.xy for this  new package.
  
   Just in case you guys need it for something, I've ported the
   z3c.form.namespace so it can be used in z3c.form.
   If you want I can add this to z3c.formwidget as well.

  Is this package for z3c.form? And what does it do? Does it
  offer a traversable namespace? Or is it for zope.formlib?


Sorry for misleading you.

This is a port of z3c.widget.namespace which was created for
zope.formlib but I needed to port it so I could use it in z3c.form.
And yes, this is a widget traverser so you can use it like:

http://localhost:8080/your_z3c.form/++widget++name/whatever_method.

Pretty usefull for Ajax forms though. In fact, if I add this package
to z3c.formwidget, It should be really straightforward to port
z3c.widget.autocomplete as well. So in the end, 2 more usable widgets
for z3c.form.

Regards,
Fernando
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] z3c.form query widget

2008-04-11 Thread Stephan Richter
On Friday 11 April 2008, Fernando Correa Neto wrote:
 This is a port of z3c.widget.namespace which was created for
 zope.formlib but I needed to port it so I could use it in z3c.form.
 And yes, this is a widget traverser so you can use it like:

 http://localhost:8080/your_z3c.form/++widget++name/whatever_method.

That would be great. I would prefer the package to be 
called z3c.formwidget.traversable.

 Pretty usefull for Ajax forms though. In fact, if I add this package
 to z3c.formwidget, It should be really straightforward to port
 z3c.widget.autocomplete as well. So in the end, 2 more usable widgets
 for z3c.form.

That would be great to have.

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. Zope Stephan Richter
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] z3c.form query widget

2008-04-11 Thread Fernando Correa Neto
Hey

On Fri, Apr 11, 2008 at 12:22 PM, Stephan Richter
[EMAIL PROTECTED] wrote:
 On Friday 11 April 2008, Fernando Correa Neto wrote:
   This is a port of z3c.widget.namespace which was created for
   zope.formlib but I needed to port it so I could use it in z3c.form.
   And yes, this is a widget traverser so you can use it like:
  
   http://localhost:8080/your_z3c.form/++widget++name/whatever_method.

  That would be great. I would prefer the package to be
  called z3c.formwidget.traversable.

Makes sense.



   Pretty usefull for Ajax forms though. In fact, if I add this package
   to z3c.formwidget, It should be really straightforward to port
   z3c.widget.autocomplete as well. So in the end, 2 more usable widgets
   for z3c.form.

  That would be great to have.

Ok. Will do all the paperwork with Zope Foundation so I can get svn
write access and will put it in there as soon as I can.

Regards,
Fernando
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] z3c.form query widget

2008-04-10 Thread Malthe Borch
I've searched and not found a z3c.form-widget that can support a source 
that supports text queries (a la Plone's uberselectionwidget).


The spec is not defined in Zope, but it's basically:

  class IQuerySource(ISource):
  def search(query_string):
  Return values that matches query.

In the USW, the widget renders an input field and if applicable, a list 
of results from which you can make your choice.


I think this widget should live in z3c.widget.

Hints/suggestions?

\malthe

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


AW: [Zope3-Users] z3c.form query widget

2008-04-10 Thread Roger Ineichen
Hi Malte

 Betreff: [Zope3-Users] z3c.form query widget
 
 I've searched and not found a z3c.form-widget that can 
 support a source that supports text queries (a la Plone's 
 uberselectionwidget).
 
 The spec is not defined in Zope, but it's basically:
 
class IQuerySource(ISource):
def search(query_string):
Return values that matches query.
 
 In the USW, the widget renders an input field and if 
 applicable, a list of results from which you can make your choice.

Sounds great!

 I think this widget should live in z3c.widget.
 
 Hints/suggestions?

Yes,

Use the new namespace z3c.formwidget
and add a package like z3c.formwidget.xy for this 
new package.

We like to define each widget in it's own package
with all it's requirements. This will become important
if someone likes to add dependency to other most the 
time not needed packages.

z3c.formwidget whould be a namspace for all future
z3c.form based widgets.

The existing z3c.widget folder contains only 
zope.formlib widgets.

Regards
Roger Ineichen

 \malthe
 
 ___
 Zope3-users mailing list
 Zope3-users@zope.org
 http://mail.zope.org/mailman/listinfo/zope3-users
 

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users