Hi Sun Yi--

Thanks for reporting this.  We're in the process of issuing a rewrite (with
the next release) of the user guide-- I'll double check this is fixed.

Best, WILL

On 7/17/07, SunYi <[EMAIL PROTECTED]> wrote:

Hello Velocity Developers,
        I think there is a mistake in the page:
        http://velocity.apache.org/engine/devel/user-guide.html

        In the "Escaping Valid VTL References "
section(
http://velocity.apache.org/engine/devel/user-guide.html#escapingvali
dvtlreferences).

        Isn't the "\\\$email" should be render as "\\$email " as you
explain
the bind-from-left rule later?

Original Text quotation:
        ## The following line defines $email in this template:
        #set( $email = "foo" )
        $email
        \$email
        \\$email
        \\\$email
        renders as

        foo
        $email
        \foo
        \$email
Note that the \ character bind to the $ from the left. The bind-from-left
rule causes \\\$email to render as \\$email. Compare these examples to
those
in which $email is not defined.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Forio Business Simulations

Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com

Reply via email to