Branch: Tag:

2000-06-01

2000-06-01 12:56:13 by Martin Nilsson <mani@lysator.liu.se>

Fixed an issue with <default> which really wasn't a bug but a big inconvenience.

Rev: server/modules/tags/rxmltags.pike:1.126

7:   #define _rettext id->misc->defines[" _rettext"]   #define _ok id->misc->defines[" _ok"]    - constant cvs_version="$Id: rxmltags.pike,v 1.125 2000/05/28 11:04:13 nilsson Exp $"; + constant cvs_version="$Id: rxmltags.pike,v 1.126 2000/06/01 12:56:13 nilsson Exp $";   constant thread_safe=1;   constant language = roxen->language;   
1314:   }   private int|array internal_tag_select(string t, mapping m, string c, string name, multiset(string) value)   { -  if(m->name!=name) return ({ Roxen.make_container(t,m,c) }); +  if(name && m->name!=name) return ({ Roxen.make_container(t,m,c) });       // Split indata into an array with the layout    // ({ "option", option_args, stuff_before_next_option })*n
1970: Inside #if defined(manual)
   The value to set.   </attr>    - <attr name=separator value=string> -  + <attr name=separator value=string default=','> +  If several values are to be selected, this is the string that seperates them.   </attr>      <attr name=name value=string>    Only affect form element with this name.   </attr>    - <attr name=variable value=string> + <ex type='box'> +  <default name='my-select' value='&form.preset;'> +  <select name='my-select'> +  <option value='1'>First</option> +  <option value='2'>Second</option> +  <option value='3'>Third</option> +  </select> +  </default> + </ex>",    - </attr>", -  +    "doc":#"<desc cont><short hide>    Eases code documentation by reformatting it.</short>    Eases documentation by replacing \"{\", \"}\" and \"&amp;\" with \"&amp;lt;\", \"&amp;gt;\" and