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.
> 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:
>>
>> 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?
>>
>> Best Regards,
>> alex.d
>>
>>
>>
>>
>>
>> -------------------------------------------------------------------------
>>
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel