Re: Scheduling tasks

2006-07-20 Thread Martijn Hinten
any oracle developer or dba could tell you: alter system kill session 'sid,serial'; Kills any session. In Oracle you can allways kill session that have gone astray. And even if it doesn't work from sql+, you can always look op the OS-pid (in v$session) and kill the process on the os level. (Be su

Re: regular expression in pattern

2006-05-22 Thread Martijn Hinten
Hi Carl, I'm afraid the code that actually /calls/ the validator, is stripping the square brackets, so you can't pass in the regexp you mentioned below. I haven't looked up the code that calls a validator, but I assume it has to do with the syntax of the ognl-_expression_-parsing. The parser i

How to use my own ValidationStrings.properties?

2006-05-19 Thread Martijn Hinten
Er... This list still for tech geeks, or graphical artists? Hold your horses, just joking. ;-) But I do have a question: What is the preferred way of overriding Tap's ValidationStrings.properties? I could not find any configuration setting, so I sort of have overriden Howards 'getPattern() met

Re: Page files or annotations? [was: Validation]

2006-05-10 Thread Martijn Hinten
the common cases. Cheers, Paul On May 10, 2006, at 7:49 AM, Sam Gendler wrote: On 5/10/06, Martijn Hinten <[EMAIL PROTECTED]> wrote: I have been wondering this for some time now: Is it the general consensus to get rid of .page files and do all binding in the htm

Re: Validation

2006-05-10 Thread Martijn Hinten
I have been wondering this for some time now: Is it the general consensus to get rid of .page files and do all binding in the html (and injection via annotations in the java classes)? Rui Pacheco wrote: I was just wondering if I was going to have to write .page files for every .html page th

[SOLVED] How to pass in a message key *and* parameters into a ValidationDelegate

2006-05-09 Thread Martijn Hinten
hence did not find it. Fixed my own code and now all works fine. Ciao, Martijn Martijn Hinten wrote: Hi, The method record(String message, ValidationConstraint constraint) of org.apache.tapestry.valid.ValidationDelegate will lookup any message automatically in the message property file

How to pass in a message key *and* parameters into a ValidationDelegate

2006-05-08 Thread Martijn Hinten
Hi, The method record(String message, ValidationConstraint constraint) of org.apache.tapestry.valid.ValidationDelegate will lookup any message automatically in the message property file. However there does not seem to be a record-method that allows me to pass in both the message-key and any