Variable I pass to another page is a Reference to an undefined variable or
value...
...
<out>
<number name="$vlNo" scope="attributes" optional="yes"
comments="Numéro unité exporté" />
...
<form name="form1" method="post"
action="<%=fusebox.makeUrl("detail.imprimer")%>">
<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"}
throw(string($vlNo))
a4d.debug.dump form variables
end if %>
In the switch:
case of
:($fuseaction = "details")
include("models/qry_selectOne.a4d")
include("views/dsp_details.a4d")
:($fuseaction = "imprimer")
include("views/dsp_imprimer.a4d")
The other page:
<% /*
<fusedoc fuse="dsp_list.a4d" language="Active4D" specification="2.0">
<responsibilities>
I show a list of the Municipalite.
</responsibilities>
<io>
<in>
<number name="$vlNo" scope="attributes" optional="yes"
comments="Numéro unité exporté" />
</in>
</io>
</fusedoc>
*/
throw($vlNo)
%>
Any clue why?
Have a good day
--
View this message in context:
http://active4d.2283328.n4.nabble.com/Reference-to-an-undefined-variable-or-value-tp3844765p3844765.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/