What version of 4D? Might be you need to add /4dcgi/ to the URL so 4D
processes post variables.
James.


On 26 September 2011 14:18, MatDion <[email protected]> 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" />
>  &lt;input type=&quot;hidden&quot; name=&quot;b_no&quot;
> value=&lt;%=[Unite_Evaluation_Detail]No_Unique_Unite_Eval%&gt;>
>
>  <% 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/

Reply via email to