Hi

I almost finish user' authentication in my site but suddenly i found strange
behavior.

Sample of my element:

<element id="ContestEntryAdd"
            
implementation="com.frnews.web.rife.element.contest.entry.ContestEntryAdd"
             url="/contest/add/*" pathinfo="strict" inherits="AUTH">
        <pathinfo mapping="$contestItemId"/>
....
</element>

When there's no logined user, this element shows login form.

Template:

<form name="credentials" action="[!V 'SUBMISSION:FORM:credentials'/]"
                  method="post">
...
</form>

The wrong(or i make something wrong) behavior is next.
I come to URL: http://localhost:8080/contest/add/1
And login form is shown:
<form name="credentials" action="/contest/add" method="post">

It has wrong action url "/contest/add" but it should be "/contest/add/1"
And after submit i see 404 because there're no elements by "/contest/add"
url.

How can i make right action url generation ?
-- 
View this message in context: 
http://www.nabble.com/Auth-and-pathinfo-behavior-tf2695030.html#a7515939
Sent from the RIFE - users mailing list archive at Nabble.com.

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to