Re: [rules-users] generalize a rule in security.drl file

2007-11-08 Thread Christian Spurk
Hi Mohamed! Mohamed Mhissen wrote: I use restrictions to control access to my pages. [...] rule RestrictAccessClientEdit when check: PermissionCheck(name == /ClientEdit.xhtml, action == render) Role(name == admin) then

Re: [rules-users] RE: rules-users Digest, Vol 10, Issue 56

2007-09-28 Thread Christian Spurk
Hi again! Christian Spurk wrote: If your telephoneno variable is a String, you can use the matches operator (cf. Drools manual section 6.5.2.1.1.3.1., Matches Operator): address(telephoneno matches ^\\d+$) Sorry, I should have read the manual more thoroughly; you dont' need to escape

Re: [rules-users] RE: rules-users Digest, Vol 10, Issue 56

2007-09-28 Thread Christian Spurk
Hi Basha! Sikkandar Nawabjan wrote: How to check my property contains only numeric. for ex when address(telphoneno==??) telephone no should be numeric then s.o.p(error); If your telephoneno variable is a String, you can use the matches operator (cf. Drools manual section

Re: [rules-users] Does Drools 4.0 rules have downward compatibility with lower versions.?

2007-08-01 Thread Christian Spurk
Hi Kingston! kingston wrote: Where can i get more information on the backward compatibility issues ? Sorry, my last answer to your question maybe was not really complete. A better overview give the following pages: http://blog.athico.com/2007/07/drools-apilanguage-changes-break.html

Re: [rules-users] Does Drools 4.0 rules have downward compatibility with lower versions.?

2007-08-01 Thread Christian Spurk
No. See: http://blog.athico.com/2007/07/jboss-drools-40-released.html kingston wrote: begin:vcard fn:Christian Spurk n:Spurk;Christian org:DFKI GmbH;Language Technology Lab adr;quoted-printable:;;Stuhlsatzenhausweg 3;Saarbr=C3=BCcken;;66123;Germany email;internet:[EMAIL PROTECTED]