you have several options.
- there is a config property that can turn the warning message off.
- you can do:
#set( $d = '$' )
$!jHashMap.put("Filename", "${d}Filename$")
- or you can do
$!jHashMap.put("Filename", '$Filename$')
because only strings in double quotes are interpolated.
On 9/21/06, Matthias Hendler <[EMAIL PROTECTED]> wrote:
Hello,
I got stuck :(
Please assume that $Filename$ is NOT set (null reference).
This works, but produces a warning message.
$!jHashMap.put( "Filename", "$Filename$" )
This produces an error message.
$!jHashMap.put( "Filename", "\$Filename$" )
BUT it should render just as "$Filename$" cause in the user guide section
"Escaping Valid VTL References" its an example that "\$email" renders at
"$email".
So what am I doing wrong or were is my misunderstanding?
Thanx a lot
Matthias
--
NEU: GMX DSL Sofort-Start-Set - blitzschnell ins Internet!
Echte DSL-Flatrate ab 0,- Euro* http://www.gmx.net/de/go/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]