Re: ServletOutputStream gives null pointer in v5.1.0.5 but not in v5.0.18

2009-08-31 Thread Marinus Maris
Solved it. I should have checked the Tapestry Wiki first before posting, sorry about that. http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile Still I don't know what changed in between versions, but I can live with that. Marinus Marinus Maris schreef: I post

Re: ServletOutputStream gives null pointer in v5.1.0.5 but not in v5.0.18

2009-08-30 Thread Marinus Maris
Thread.run(Thread.java:619) Thiago H. de Paula Figueiredo schreef: Em Sat, 29 Aug 2009 07:26:50 -0300, Marinus Maris escreveu: Hi Hi! To get a file from disk I wrote this code below. It works perfectly in version 5.0.18 but it generates a null pointer in v5.1.0.5. I checked the release

ServletOutputStream gives null pointer in v5.1.0.5 but not in v5.0.18

2009-08-29 Thread Marinus Maris
Hi To get a file from disk I wrote this code below. It works perfectly in version 5.0.18 but it generates a null pointer in v5.1.0.5. I checked the release notes to no avail. What's going on here? Object onActionFromGetParticipantsFile() { String method = "get"; try {

Re: [T5] Layout problem

2008-11-14 Thread Marinus Maris
. Layout.tml - goes in the src\main\resources\MyApp\components folder. So there are two different folder for one component. Did you do this? Regards Marinus Maris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: beanModelSource.create problem

2008-10-03 Thread Marinus Maris
Hi, All examples I found to create a new beanModelSource use something like this: BeanModel model = beanModelSource.create(User.class, false, resources); Now I get a java-compile error saying: Incompatible types: found: org.apache.tapestry5.services.BeanModelSource.create required: or

beanModelSource.create problem

2008-10-03 Thread Marinus Maris
Hi, All examples I found to create a new beanModelSource use something like this: BeanModel model = beanModelSource.create(User.class, false, resources); Now I get a java-compile error saying: Incompatible types: found: import org.apache.tapestry5.services.BeanModelSource.create r

Re: War file deploy problem on remote server

2008-09-29 Thread Marinus Maris
ry. I also have the ROOT.xml in the conf/Catalina subdir, with content: This works and that's all I wanted. Thanks and regards Marinus Maris Norman Franke schreef: I've successfully deployed to the root using Tomcat. I just created ROOT.war and dropped it in the webapps director

War file deploy problem on remote server

2008-09-29 Thread Marinus Maris
Hi, OK, I got my Tapestry application to run on my local machine. Now I want to deploy on a web server. But whatever I do, it seems that I cannot set similar setting at that remote machine (the system manager over there is getting nuts as wel). I either get a white page, or, when I get the St