What is an "empty page"? I mean does it have the expected output or
simply nothing is rendered?
Use a @Shell component to wrap the page because @Form and
@DropdownDateTimePicker requires dojo (which is provided by @Shell).
Regards,
Norbi
Marcus wrote:
Sorry,
I've download Tapestry 4.1 and folowing jars, all in <Tomcat>\shared\lib
aspectj-1.5.2.jar
easymock.jar
jakarta-oro-2.0.8.jar
ognl-2.6.9.jar
testng-4.7-jdk15.jar
commons-io-1.2.jar
hivemind-1.1.1.jar
hivemind-lib-1.1.1.jar
I was using Tapestry 3.03 and all of your library dependencies, then I
delete T303 jars and add T41 jars.
After I try to create a simple page with *DropdownDatePicker component
<html>
<head>
</head>
<body jwcid="@Body">
<form jwcid="@Form" listener="ognl:listeners.formSubmit">
Data: <span jwcid="@DropdownDateTimePicker"
value="ognl:startDate"/>
</form>
</body>
</html>
import java.util.Date;
import org.apache.tapestry.html.BasePage;
/*
* Created on 04/08/2006
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
public class Home extends BasePage{
private Date startDate = new java.util.Date();
public Date getStartDate() {
return startDate;
}
public void setStartDate(Date startDate) {
this.startDate = startDate;
}
public void formSubmit(){
return;
}
}
And what i got is an empty page on Firefox and IE
What did I wrong? :(
Thank's for your time.
Marcus
*
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/407 - Release Date: 2006.08.03.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]