[LON-CAPA-users] proper place to set default maxtries

Ray Batchelor lon-capa-users@mail.lon-capa.org
Wed, 4 Feb 2009 21:10:03 -0800


--0015175cdfbcbdcd59046224eab2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

<parameter name="maxtries" type="int_pos" description="Maximum Number of
Tries" default="1" />

You can discover this if you use the GUI Edit... and look at the "Insert"
droplists.
There is an option for "Parameters for a part"
If you insert that there is then a droplist "use template" which offers a
choice of templates for parameters which can be used.



On Wed, Feb 4, 2009 at 3:27 PM, Bob Gonzales <rgonzal@binghamton.edu> wrote:

> I have a problem with multiple
> parts and multiple numericalresponse's
> in each part.
>
> I would like to code a default value
> for maxtries in each part without having
> to put a responseparam line in each
> of the numericalresponse responses.
>
> I would like to have something like
> this
>
> <part>
> <responseparam name="maxtries" default="1">
> <numericalresponse....
> </numericalresponse>
> <numericalresponse....
> </numericalresponse>
> <numericalresponse....
> </numericalresponse>
> </part>
>
> <part>
> <responseparam name="maxtries" default="5">
> <numericalresponse....
> </numericalresponse>
> <numericalresponse....
> </numericalresponse>
> <numericalresponse....
> </numericalresponse>
> </part>
>
> How would I accomplish this?  Is there a
> maxtries parameter?
>
> Thanks,
>
> Bob Gonzales
> Binghamton University
> Chemistry Dept
> PO Box 6000
> Binghamton, NY  13902
> (607)777-2698
> FAX: (607)7774478
> rgonzal@binghamton.edu
>
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>



-- 
Raymond J. Batchelor, Ph.D.
Department of Chemistry
Simon Fraser University
Burnaby, BC
Canada
V5A 1S8

--0015175cdfbcbdcd59046224eab2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br>&lt;parameter name=3D&quot;maxtries&quot; type=3D&quot;int_pos&quot; de=
scription=3D&quot;Maximum Number of Tries&quot; default=3D&quot;1&quot; /&g=
t;<br><br>You can discover this if you use the GUI Edit... and look at the =
&quot;Insert&quot; droplists.<br>
There is an option for &quot;Parameters for a part&quot;<br>If you insert t=
hat there is then a droplist &quot;use template&quot; which offers a choice=
 of templates for parameters which can be used.<br><br><br><br><div class=
=3D"gmail_quote">
On Wed, Feb 4, 2009 at 3:27 PM, Bob Gonzales <span dir=3D"ltr">&lt;<a href=
=3D"mailto:rgonzal@binghamton.edu">rgonzal@binghamton.edu</a>&gt;</span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid r=
gb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a problem with multiple<br>
parts and multiple numericalresponse&#39;s<br>
in each part.<br>
<br>
I would like to code a default value<br>
for maxtries in each part without having<br>
to put a responseparam line in each<br>
of the numericalresponse responses.<br>
<br>
I would like to have something like<br>
this<br>
<br>
&lt;part&gt;<br>
&lt;responseparam name=3D&quot;maxtries&quot; default=3D&quot;1&quot;&gt;<b=
r>
&lt;numericalresponse....<br>
&lt;/numericalresponse&gt;<br>
&lt;numericalresponse....<br>
&lt;/numericalresponse&gt;<br>
&lt;numericalresponse....<br>
&lt;/numericalresponse&gt;<br>
&lt;/part&gt;<br>
<br>
&lt;part&gt;<br>
&lt;responseparam name=3D&quot;maxtries&quot; default=3D&quot;5&quot;&gt;<b=
r>
&lt;numericalresponse....<br>
&lt;/numericalresponse&gt;<br>
&lt;numericalresponse....<br>
&lt;/numericalresponse&gt;<br>
&lt;numericalresponse....<br>
&lt;/numericalresponse&gt;<br>
&lt;/part&gt;<br>
<br>
How would I accomplish this? &nbsp;Is there a<br>
maxtries parameter?<br>
<br>
Thanks,<br>
<br>
Bob Gonzales<br>
Binghamton University<br>
Chemistry Dept<br>
PO Box 6000<br>
Binghamton, NY &nbsp;13902<br>
(607)777-2698<br>
FAX: (607)7774478<br>
<a href=3D"mailto:rgonzal@binghamton.edu">rgonzal@binghamton.edu</a><br>
<br>
<br>
_______________________________________________<br>
LON-CAPA-users mailing list<br>
<a href=3D"mailto:LON-CAPA-users@mail.lon-capa.org">LON-CAPA-users@mail.lon=
-capa.org</a><br>
<a href=3D"http://mail.lon-capa.org/mailman/listinfo/lon-capa-users" target=
=3D"_blank">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</a><br=
>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Raymond J. Batchelor, P=
h.D.<br>Department of Chemistry<br>Simon Fraser University<br>Burnaby, BC<b=
r>Canada<br>V5A 1S8<br><br>

--0015175cdfbcbdcd59046224eab2--