In the last snapshot you can use the #silent directive. 

Justin

On Mon, Oct 02, 2000 at 04:37:14PM -0400, Nissim Karpenstein wrote:
> Is there a way in WM code in turbine to do a null check on a single line.
> 
> When you put a value in a text box, if it's null, the exception appears in
> the textbox...
> 
> <input type="text" name="firstName" value="$firstName">
> 
> I'd like to say something like this:
> 
> <input type="text" name="firstName" value="$formatter.isNull($firstName,
> "")">
> 
> rather than 
> 
> #if ($firstName)
> {
>       <input type="text" name="firstName" value="$firstName">
> }
> #else
> {
>       <input type="text" name="firstName" value="">
> }
> 
> 
> Is this something that it would make sense to add to the formatter? Is there
> a better way to do it in WM?
> 
> 
>       -Nissim
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
> 


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to