Re: Re: Dynamic pattern for number translator for TextField

2006-12-06 Thread Sam Gendler
Yeah, that's what I meant. I thnk there is a Pattern validator but not a Pattern translator. The class name is just 'Pattern' --sam On 12/6/06, Jabbar <[EMAIL PROTECTED]> wrote: Hello Sam, I've only got round to implemeting this today :( Too much to do ... I couldn't find PatternTranslator.

Re: Dynamic pattern for number translator for TextField

2006-12-06 Thread Jabbar
Hello Sam, I've only got round to implemeting this today :( Too much to do ... I couldn't find PatternTranslator. However, I used the following Where alarmNumberPattern is a getting (getAlarmNumberPattern) in my page class. On 21/11/06, Jabbar <[EMAIL PROTECTE

Re: Dynamic pattern for number translator for TextField

2006-11-21 Thread Sam Gendler
Without testing it, I'm not entirely sure if you can use ognl in that context, but you can definitely replace "value='translator:...'" with "value='bean:...'" and then populate the bean with an OGNL expression for the pattern property. Without referring to example code to ensure I've got the synt

Re: Dynamic pattern for number translator for TextField

2006-11-21 Thread Jabbar
Thanks for that information I'll check out later. On 21/11/06, Sam Gendler <[EMAIL PROTECTED]> wrote: Without testing it, I'm not entirely sure if you can use ognl in that context, but you can definitely replace "value='translator:...'" with "value='bean:...'" and then populate the bean with an