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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users