- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 30 Sep 2009 09:32:02 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes In directory hutz:/tmp/cvs-serv27799/WebContent/WEB-INF/resources/templates/includes Modified Files: macros_index.vm parameters.vm Log Message: added mimeType list change on task change Index: parameters.vm =================================================================== RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/parameters.vm,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- parameters.vm 3 Sep 2009 14:33:14 -0000 1.3 +++ parameters.vm 30 Sep 2009 09:32:00 -0000 1.4 @@ -31,4 +31,8 @@ #if ($advanced_parameters.size() == 0 && $simple_parameters.size() == 0) <fieldset class="options none $current_task.getID()"> </fieldset> +#end + +#if ($ajaxCall) +#mimeList($current_task) #end \ No newline at end of file Index: macros_index.vm =================================================================== RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/macros_index.vm,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- macros_index.vm 16 Sep 2009 11:54:11 -0000 1.8 +++ macros_index.vm 30 Sep 2009 09:32:00 -0000 1.9 @@ -1,3 +1,11 @@ +#macro (mimeList $task) + <select name="${param_prefix}text_mime" class="ucn_text_mime $task.getID()"> + #foreach($mime in $task.SupportedMimeTypes) + <option value="$mime" #if($param_text_mime && $param_text_mime == $mime)selected="selected"#end>$mime</option> + #end + </select> +#end + #macro (submit_button) <div class="submit"> #if ($!param_lang)<input type="hidden" name="${param_prefix}lang" value="$lang" class="lang" />#end
Received on Wednesday, 30 September 2009 09:32:06 UTC