You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "David M. Karr" <dm...@earthlink.net> on 2002/07/23 20:06:51 UTC

Tiles: if "useAttribute" "ignore" is true, what about script var?

In Tiles, the "useAttribute" tag declares a scripting variable.  It also has an
"ignore" attribute.  If the "ignore" attribute is true, it's supposed to do
nothing.  Is it possible to "do nothing" in a tag that declares a scripting
variable?  Wouldn't it declare the variable, even if "ignore" was true?

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
dmkarr@earthlink.net


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tiles: if "useAttribute" "ignore" is true, what about script var?

Posted by Cedric Dumoulin <ce...@lifl.fr>.
  Hello,

  When the <useAttribute> tag  is used to declare a particular variable, 
and that variable doesn't exist, an exception is thrown, unless you 
specify ignore="true".
  It is the signification of ignore="true". The jsp variable declaration 
still occur, but no value is set.

    Cedric

David M. Karr wrote:

>In Tiles, the "useAttribute" tag declares a scripting variable.  It also has an
>"ignore" attribute.  If the "ignore" attribute is true, it's supposed to do
>nothing.  Is it possible to "do nothing" in a tag that declares a scripting
>variable?  Wouldn't it declare the variable, even if "ignore" was true?
>
>  
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>