it works as expected in 1.35, at least. <h1> test </h1> <form action="ChangeDay.html" name="ChangeDay"> <input type="submit" value="Day" /> <select> <option value="0" >0</option> ... <option value="23" >23</option> </select> </form>
is your own test case really this simple? (you have a typo in your / select tag, so i suspect this is not your actual failing code..) On Jul 10, 2007, at 1:08 PM, Елена Романова wrote: > Hello all! > > I've just updated my Mason from 1.32 version to 1.36, and notes > unexpected print $m->comp nested into $m->scomp. > > Example: > > comp1: > > <select> > % for (my $i=0;$i<24;$i++) { > <option value="<%$i%>" ><%$i%></option> > % } > </seclect> > > comp2: > <form action="ChangeDay.html" name="ChangeDay"> > <input type="submit" value="Day" /> > <& /comp1 &> > </form> > > comp3: > <%perl> > my $form_select = $m->scomp('/comp2'); # now unexpected print the > comp1 and , as I suppose, buffer with previous part of comp2!!! > </%perl> > <h1> test </h1> > <% $form_select %> > > So, I see: > button + select > test > </form> > > But I expected and it worked under 1.32 version: > > test > button + select > > Is it bug or feature? > > It's only example, but I really need this construction. I need to > prepare my component and use it later. > > Could you give me any explanation or workaround decisions? > > > Best Regards, > Romanova Elena. > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Mason-users mailing list > Mason-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mason-users --- michael reece :: software engineer :: [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users