If the calling page is already in the \views directory and you use a relative
url, you don't also include it in your form url. Just use
action="dsp_imprimer.a4d"
On Sep 26, 2011, at 9:18 AM, MatDion wrote:
> Good day,
>
> I have a basic form wich is:
> <% /*
> ...
> <out>
> <string name="$vlNo" scope="attributes" optional="yes"
> comments="Numéro unité exporté" />
> ...
> <form name="form1" method="post" enctype="multipart/form-data"
> action="views/dsp_imprimer.a4d">
> <input type="submit" name="b_submit" value="Imprimer" />
> <input type="hidden" name="b_no"
> value=<%=[Unite_Evaluation_Detail]No_Unique_Unite_Eval%>>
>
> <% a4d.web.hideField("form_submitted"; 1) %>
> </form>
>
> ...
>
> if ($attributes{"form_submitted"} # "")
>
> $vlNo := $attributes{"b_no"}
>
> a4d.debug.dump form variables
>
>
> end if %>
>
>
> Another page receinving it:
>
> <in>
> <string name="$vlNo" scope="attributes" optional="yes"
> comments="Numéro unité exporté" />
> </in>
> </io>
> ...
> <% throw($vlNo) %>
>
>
> First page location : C:\WEBROLE\WEBROLE -
> Neuf\web\detail\views\dsp_details.a4d
>
> Second page:C:\WEBROLE\WEBROLE - Neuf\web\detail\views\dsp_imprimer.a4d
>
> Every time it redirects me to: http://127.0.0.1:8080/detail/views/index.a4d
> ??
>
> Every time it says 404 .. I cant figure oout why? Any clue?
>
>
>
> --
> View this message in context:
> http://active4d.2283328.n4.nabble.com/Beginner-question-tp3843735p3843735.html
> Sent from the Active4D mailing list archive at Nabble.com.
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/