What were the warnings? Let's see if we can get them cleaned up and
not tickle this include/class bug.
Changing a view to a class would mean you would also have to change
where the view was to instantiate the class. I don't see that in your
change, so the frosty window is missing the text that it used to
display.
On 2008-06-20, at 12:35 EDT, J Crowley wrote:
It was choking and giving warnings. Sorry about that. I'll revert
it, but if it's still giving warnings, we're going to have to figure
out something to do with it. Though, the problem may have just
been a temporary thing that's since been fixed.
P T Withington wrote:
So,
1) Josh changed frosty.lzx from a view to a class in r9706. Why
did you do that Josh? (There is not enough detail in your change
description for me to determine.) You'll need to revert that part
of the change.
2) Josh, while you are in there, you might as well uncomment the
code that jim commented out. As André observes, that should all
work now.
3) The tag compiler is compiling the included class as a 'map' not
a class, due to a my change r9794. I'm working on that.
On 2008-06-20, at 02:57 EDT, André Bargull wrote:
This is the relevant part from "component_sampler.lzx".
1) Menus are now available for all runtimes, so we can use them here
2) *<include href="testmedia/frosty.lzx" />* is wrong, it is
including a class at this position, so it's actually a tag-
compiler bug (and a bug in the demo)!
<window text="test window" width="250" height="250"
x="430" y="180"
resizable="true"
id="fw" title="Frosty the Snowman"
>
<!-- [jgrandy 2006-09-29 no menubar in Legals yet
<menubar name="mbar" placement="menubar">
<menu name="file" id="mfile" width="80">File
<menuitem text="item 1" />
<menuitem text="item 2" />
<menuseparator/>
<menuitem id="MWS" text="item 3" >
<menu name="subedit" >subedit
<menuitem text="subitem 1" />
<menuitem text="subitem 2" />
</menu>
</menuitem>
</menu>
<menu name="Options" >Document
<menuitem text="option 1" />
<menuitem text="option 2" />
<menuitem text="option 3" />
<menuitem text="option 4" />
<menuitem text="option 5" />
<menuitem text="option 6" />
</menu>
</menubar>
-->
*<include href="testmedia/frosty.lzx" />*
<scrollbar/>
</window>
Ok, I'll look at this first thing in the am. Too fried right
now. Obviously my optimization to use classes instead of
tagnames is mis- firing somehow.
On 2008-06-19, at 21:49 EDT, Max Carlson wrote:
>/ I found out where this was coming from. As of r9782 the
testmedia/ />/ frosty.lzx include seems to be failing for some
reason. I updated />/ the bug with more details:
/>/
/>/ http://jira.openlaszlo.org/jira/browse/LPP-6386
/>/
/>/ P T Withington wrote:
/>>/ Weird. But thanks for the clue!
/>>/ On 2008-06-19, at 20:55 EDT, Philip Romanik wrote:
/>>>/ From my machine. search for $lzc$class_class
/>>>/
/>>> /[...]
/>>>/
/>>>>/ Any info from the IE debugger?
/>>>>/
/>>>>/ On 2008-06-19, at 18:01 EDT, Max Carlson wrote:
/>>>>/
/>>>>/ > Filed as <http://jira.openlaszlo.org/jira/browse/
LPP-6386>http://jira.openlaszlo.org/jira/browse/LPP-6386
/>>>>/ > --
/>>>>/ > Regards,
/>>>>/ > Max Carlson
/>>>>/ > OpenLaszlo.org
/>/
/>/ -- />/ Regards,
/>/ Max Carlson
/>/ OpenLaszlo.org
/