Hi, All,
I have the following codes that are very shot that I copied from "enjoying
web development with tapestry" book. I found out that if put the @Body tag
to the html file, it will cause IE (v 6.0.2900) to crash when close the
page. Can anyone let me know anything wrong here, or someway to fix it?
Thanks,
Ajit
<html>
<body jwcid="@Body">
<form jwcid="stockQuoteForm">
<select jwcid="stockId">
<option value="0">IBM</option>
</select>
</form>
</body>
</html>
<?xml version="1.0"?>
<!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
<!--
Home page
-->
<page-specification class="com.test.stockquote.Home">
<component id="stockQuoteForm" type="Form">
<binding name="listener" value="listener:onOK"/>
</component>
<component id="stockId" type="PropertySelection">
<binding name="model" value="avavilStockIds"/>
<binding name="value" value="StockId"/>
</component>
</page-specification>
package com.test.stockquote;
import org.apache.tapestry.html.BasePage;
import org.apache.tapestry.*;
import org.apache.tapestry.form.*;
public abstract class Home extends BasePage{
public abstract String getStockId();
public IPropertySelectionModel getAvavilStockIds()
{
return new StringPropertySelectionModel(new String[] {"IBM", "MSFT",
"RHAT"});
}
public void onOK(IRequestCycle cycle){
cycle.activate("Result");
}
}
_________________________________________________________________
Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings
https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]