You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ajit Raj <aj...@hotmail.com> on 2007/04/10 00:46:31 UTC

@Body causes IE6 crash when close the page (...0x623068e0 referenced memory. ..)

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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: @Body causes IE6 crash when close the page (...0x623068e0 referenced memory. ..)

Posted by Ajit Raj <aj...@hotmail.com>.
More:

(...0x623068e0 referenced memory at 0x623068e0 seems only happens when you 
leave the page on for sometime (ex 20 minutes), then close the IE.


>From: "Ajit Raj" <aj...@hotmail.com>
>Reply-To: "Tapestry users" <us...@tapestry.apache.org>
>To: users@tapestry.apache.org
>Subject: @Body causes IE6 crash when close the page (...0x623068e0 
>referenced memory. ..)
>Date: Mon, 09 Apr 2007 22:46:31 +0000
>
>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: users-unsubscribe@tapestry.apache.org
>For additional commands, e-mail: users-help@tapestry.apache.org
>

_________________________________________________________________
Interest Rates Fall Again! $430,000 Mortgage for $1,399/mo - Calculate new 
payment 
http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18679&moid=7581


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org