Re: [qooxdoo-devel] generator.py problem

2006-09-25 Thread Sebastian Werner
Looks good. Applied to SVN. Revision 4334. Alessandro Sala schrieb: > Hi Alex, Sebastian, >> That works, but it doesn't look really nice, because i have large >> arrays with objects that describe various widgets and regular >> expressions belong to it. Is there any way to patch this issue in >

Re: [qooxdoo-devel] generator.py problem

2006-09-25 Thread Alex D.
Yes it works. Thank you Alessandro. Sebastian, will you apply this patch, or should i wait with "re-back-constructing" my code? Cheers, alex.d Hi Alex, Sebastian, That works, but it doesn't look really nice, because i have large arrays with objects that describe various widgets and regula

Re: [qooxdoo-devel] generator.py problem

2006-09-23 Thread Alessandro Sala
Hi Alex, Sebastian, That works, but it doesn't look really nice, because i have large arrays with objects that describe various widgets and regular expressions belong to it. Is there any way to patch this issue in generator.py? >> i have(as an example) following object: >> >> var text =

Re: [qooxdoo-devel] generator.py problem

2006-09-20 Thread Sebastian Werner
Alex D. schrieb: > Hi Sebastian, > i'm sorry for being annoying but should i reconstruct my code or wait > for this issue to be corrected in generator.py? please reconstruct your code and open a bug for this please. Cheers, Sebastian > > Best Regards > alex.d >>> yes, it seems not to detect

Re: [qooxdoo-devel] generator.py problem

2006-09-20 Thread Alex D.
Hi Sebastian, i'm sorry for being annoying but should i reconstruct my code or wait for this issue to be corrected in generator.py? Best Regards alex.d >> yes, it seems not to detect the regular expression in hash-maps. >> Please try the following instead. >> >> var reg = /^[0-9]$/; >> var text

Re: [qooxdoo-devel] generator.py problem

2006-09-19 Thread Alex D.
That works, but it doesn't look really nice, because i have large arrays with objects that describe various widgets and regular expressions belong to it. Is there any way to patch this issue in generator.py? Best Regards, alex.d > yes, it seems not to detect the regular expression in hash-maps.

Re: [qooxdoo-devel] generator.py problem

2006-09-19 Thread Sebastian Werner
yes, it seems not to detect the regular expression in hash-maps. Please try the following instead. var reg = /^[0-9]$/; var text = [{'typ':'textfield', 'name':'date', 'regexp':reg }]; Hope this helps. Cheers, Sebastian Alex D. schrieb: > Hi ASAP, > > i have(as an example) following object

[qooxdoo-devel] generator.py problem

2006-09-19 Thread Alex D.
Hi ASAP, i have(as an example) following object: var text = [{'typ':'textfield', 'name':'date', 'regexp':/^[0-9]$/ }]; with a regular expression in it. generator.py throws following error: expected expression but found token/DIV: ... Any ideas why regular expression causes this error? Bes