I am having some difficulties in following the instructions as given in
the reply:

http://archives.apache.org/eyebrowse/ReadMsg?listName=&msgId=290818


>All the problem was that the LoginAction was an extension of
>VelocitySecureAction, and this class throws the template without executing
>the screen java code.
>
>Now it is an extension of VelocityAction.
>
>I created a Login.java, (as you suggested) which has to be an extension of
>VelocityScreen, and not secure as seen for the Action upper and i changed a
>piece of code in the IsAuthorized method in my SecureScreen class.


1)  Is this new Login.java an extension of VelocityAction or
VelocityScreen? It is a bit confusing from the above description.

2)  Do I need to change the line:

    FROM     action.login=LoginUser
    TO       action.login=Login

    in TR.properties as a consquence?


>3. in the action of the Login form, set the template to =
>$destiation_template and for each parameter add a hidden input field to =
>the form
>
>ie
>
<formmethod="post"action="$ling.setAction("Login").setTemplate($destination_template)">
>
>#foreach($parameter in $parameters)
><input type=hidden name="$parameter" =
>value="$parameters.get($parameter)">
>
>blah blah...
>
></form>


3)  I am having problem with the <form  ..... etc  line.

after I typed in the login username and passwd, the URL bar shows:

http://ns1.eigentechnology.net:8080/medici/servlet/$link.setAction(

and sent me an page not found message.

Can anyone give me some more instructions on this please.

thanks
michael














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

Reply via email to