PDA

View Full Version : html tag display in a window. Am I blind?


ravioli_21
09-05-2007, 04:13 PM
All

I've read thread after thread on this board, but for some reason I cannot get the html tag to display inside of my window. The code below draws the window properly, but the link (in this example Yahoo.com) will not display within the window. I've removed all of the tabs etc. so that only the class definition and call are left. Still no luck. I've tried to add the <html> tag between the call to <browser></browser>. No go there either.

I found a thread that used <script> to instantiate the window. I tried it and that works by itself, but I cannot use <script> tags within the tabs. ARGH!!!

At this point it's probably obvious but I've been at it so long that I'm probably overlooking it. I'd appreciate another set of eyes.

Best Regards

Mike

<canvas height="550" bgcolor="0xeaeaea" debug="true">
<include href="extensions/html.lzx"/>

<class name="browser" extends="window"
resizable="false" bgcolor="white"
width="980" height="300" x="1" y="1" >
<html name="htmlview" framename="myframe" heightoffset="-48" widthoffset="-19" xoffset="7" yoffset="24" src="http://www.yahoo.com"/>
</class>

<tabslider width="1000" height="400">

<tabelement text="Customer Sales Information" selected="true">
<view>
<simplelayout axis="y" />
<text> This will be the customer information dashboard. </text>

</view>
</tabelement>

<tabelement text="Key Performance Indicator (KPI) Views">
<view x="0" y="0">
<simplelayout/>
<tabs height="340" width="982">

<tabpane selected="true" inset_left="0" inset_top="0" inset_bottom="0" inset_right="0">Forecast Vs. Actual Sales

<browser />

</tabpane>

<tabpane inset_left="0" inset_top="0" inset_bottom="0" inset_right="0">SKU Fill Rate
<browser />
</tabpane>

<tabpane inset_left="0" inset_top="0" inset_bottom="0" inset_right="0">Line Count Fill Rate
<text> Line Count Fill Rate Graph</text>
</tabpane>

<tabpane inset_left="0" inset_top="0" inset_bottom="0" inset_right="0">Back Orders
<text> Back Orders Graph</text>
</tabpane>

<tabpane inset_left="0" inset_top="0" inset_bottom="0" inset_right="0">Item Risk
<text> Item Risk Graph</text>
</tabpane>

</tabs>
</view>
</tabelement>
</tabslider>

</canvas>

thoaimai
01-24-2008, 01:15 AM
Hi
The tag HTML work in mode DHTML, so if u want to see how it work, click on the checkbox DHTML, and recomplie the application, u'll see it work.
Html tag is a class developped by Openlaszlo, but it works only in mode DHTML.