> From my Login screen I have
>
> <form action="$link.setAction("LoginSilaUser").setPage("index.vm")"
> method="post">
>
> But I keep getting the following error when I click Login
>
> Wed Dec 06 12:04:07 GMT+00:00 2000 [error]
> org.apache.velocity.runtime.exception.ReferenceException: reference:
> $link.setAction("LoginSilaUser").setPage("index.vm") is not a valid
> reference. [line 17,column 23]
Did you check the generated HTML source (view source from the browser)?
I bet your form has an action with unexpanded Velocity code... This
is a known problem, and I was able to solve it by calling setPage()
before setAction():
<form action="$link.setPage("index.vm").setAction("LoginSilaUser")"
method="post">
HTH,
--
Gonzalo A. Diethelm
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]