Barry,
Sorry about that, the code is below:
The code:
Home.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Hello World</title>
</head>
<body>
Welcome to your first <b>Tapestry Application</b>
<p>
<h1>
<span jwcid="insertSomeText">This text will be replaced by
Tapestry</span>
</h1>
</body>
</html>
Home.java
package tutorial.hello;
import org.apache.tapestry.html.BasePage;
public class Home extends BasePage
{
public String getSomeText()
{
return "It's a brave new world!";
}
}
Home.page
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 3.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
<!-- generated by Spindle, http://spindle.sourceforge.net -->
<page-specification class="tutorial.hello.Home">
<component id="insertSomeText" type="Insert">
<binding name="value" expression="someText"/>
</component>
</page-specification>
web.xml
?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<!-- generated by Spindle, http://spindle.sf.net -->
<web-app>
<display-name>HelloWorld</display-name>
<servlet>
<servlet-name>HelloWorld</servlet-name>
<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern>/app</url-pattern>
</servlet-mapping>
</web-app>
HelloWorld.application
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC
"-//Apache Software Foundation//Tapestry Specification 3.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
<!-- generated by Spindle, http://spindle.sourceforge.net -->
<application name="HelloWorld"
engine-class="org.apache.tapestry.engine.BaseEngine">
<description>My Hello World Application</description>
<page name="Home" specification-path="Home.page"/>
</application>
Barry Books wrote the following on 2/25/2006 8:15 AM:
> You didn't post the code but I suspect you need <span jwcid="@Insert"
> value="ognl:yourMethod"/> Also what out for misspelling jwcid.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://mywebpages.comcast.net/tnczoo/
-----
"If a dog will not come to you after having looked you in the face, you
should go home and examine your conscience."
- Woodrow Wilson
-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]