[Rife-users] Two 1.6 suggestions...

2007-01-12 Thread David HM Spector
Hi All, There are two things that would be really helpful in 1.6 that occur to me today: 1) a new constraint, a compliment to .inList() namely .notInList (), for example .addConstraint(new ConstrainedProperty(username)..notEmpty (true).notNull(true).notInList(root, bin, system, mysql,

Re: [Rife-users] Two 1.6 suggestions...

2007-01-12 Thread Geert Bevin
Hi David, I agree with both, the second one has actually already been planned here http://uwyn.com/issues/browse/RIFE-188, but for 1.7. Can you add an issue for the first one? Thanks! Geert On 12 Jan 2007, at 19:58, David HM Spector wrote: Hi All, There are two things that would be

Re: [Rife-users] Two 1.6 suggestions...

2007-01-12 Thread Geert Bevin
Thanks, I commented on RIFE-321, I don't think it needs an additional constraint. On 12 Jan 2007, at 20:29, David HM Spector wrote: done! I created two feature requests, one [RIFE-320] for notInList () and one [RIFE-321] for the regexp suggestion. -- Geert Bevin Uwyn Use what you need -

Re: [Rife-users] Two 1.6 suggestions...

2007-01-12 Thread Christian Vest Hansen
David HM Spector wrote: a regex capability for both inList() and my proposed compliment to it would be great.. .and could make it easier to keep potentially insecure crud (like SQL injections) from being pushed through forms. Shouldn't PreparedStatements make SQL injections a non-issue? --

Re: [Rife-users] Two 1.6 suggestions...

2007-01-12 Thread Geert Bevin
Hi Christian, totally correct! ... and if you don't want to use prepared statements, using the query builders in RIFE will automatically protect the values that you provide against SQL injection. Take care, Geert On 12 Jan 2007, at 23:26, Christian Vest Hansen wrote: David HM Spector