Re: Application Runtime exception

2006-03-18 Thread Wayland Chan
Looks like it can't find your mo.org.cpttm.helloworld.Home class (which should be in the WEB-INF/classes/mo/org/cpttm/helloworld directory) or there is a class used by your Home.java class that isn't being deployed by your webapp. On 3/19/06, Rohan Deol <[EMAIL PROTECTED]> wrote: > Hi Everybody,

Application Runtime exception

2006-03-18 Thread Rohan Deol
Hi Everybody, I'm completely new to tapestry and planning to use it for a new project. I'm using Tapestry-3.0.3, Tomcat-5.0 and Eclipse 3.1.1. I'm getting following runtime exeption when working on a exercise problem - Could not load class mo.org.cpttm.helloworld.Home from WebappClassLoader d

Re: Getting raw POST data

2006-03-18 Thread Raul Raja Martinez
Yes in fact it has been answered by me an other people like 5 or 6 times already. I can write a howto for getting a hold of the response , request and other services from pages, components and custom services if people think it is a good idea. James Carman wrote: This should maybe go into a

RE: Getting raw POST data

2006-03-18 Thread James Carman
This should maybe go into an FAQ or on the Wiki somewhere. I've seen this same question 3 times since I joined this list (not too long ago). -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Raul Raja Martinez Sent: Saturday, March 18, 2006 6:32 PM To: tapestry-user@

Re: Getting raw POST data

2006-03-18 Thread Raul Raja Martinez
Just provide this: private HttpServletRequest request; public void setHttpServletRequest(HttpServletRequest request) { this.request = request; } Hivemind will autowire the request to your service so that you can use it like if you were dealing with a Servlet. best regards. Raul Raja. Je

Re: Writing Tapestry Response to File

2006-03-18 Thread Raul Raja Martinez
This can be done with a custom Engine Service: public class WriteToFile implements IEngineService { private void toFile(HttpServletRequest request, HttpServletResponse response) { try { ServletOutputStream out = response.getOutputStream(); ByteArrayOut

Access localized messages in non-page/non-component class

2006-03-18 Thread Andreas Bulling
Hi all, just a short question after having tried to use several "infrastructure" injections without success so far: I have a class called "ModelSource" which returns several IPropertySelection models to be used in forms. One of these is a userModel which shall contain _localized_ entries defined

AW: how to deal with case sensitivity

2006-03-18 Thread Korbinian Bachl
Hi, im not 100% sure on this, but it might work to send a return "404", where 404.html is a error page with a 404.page containing the necessary things as well as the 404.java should use renderPage() to set response.setHeader("code 404") or sth like that... i personally dont know a solution either.

Re: .page/.html/.jwc in different directories

2006-03-18 Thread Andreas Bulling
On 16. Mär 2006 - 15:57:36, Andreas Bulling wrote: | I was able to put all the "normal" pages in a pages subdirectory | below WEB-INF (I also updated the Wiki page concerning the Home | problem) but I'm not able to put my Border component below | "components": | [...] It seems as if in all the cas

Transfer-Encoding: chunked not supported?

2006-03-18 Thread Jean-Eric Cuendet
Hi, I have a j2me (Mobile phone) application that connects to my Tapestry site to send data. It uses POST on a Tapestry Service. The mobile phone change to Transfer-Encoding:chunked alone if there is a lot of data (we can't change that). The problem is that Tapestry don't get the POST data righ

Getting raw POST data

2006-03-18 Thread Jean-Eric Cuendet
Hi, I have a tapestry service but would like to access the raw data from the POST http request. Is that possible? If I do getRequest().getInputStream() then inputStream.available() returns 0 ... I tried reset() on IS but it throw an exception saying it's not supported... Thanks for any info. -je

RE: [HiveMind] Fw: JAR issue

2006-03-18 Thread James Carman
It's not by Apache, but it's licensed by the Apache License. It's a library that I wrote. Soon, the classes (some of them) will be available as a submodule of the JavaForge "tapestry" project (it'll probably be called "tapestry-hibernate"). -Original Message- From: Korbinian Bachl [mai

Re: Access array in a generic way

2006-03-18 Thread Andreas Bulling
I got it, sorry to everybody having read my previous posts. :( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to deal with case sensitivity

2006-03-18 Thread Marcel Schepers
Yes, that is exactly what I am planning to do. Now the trick seems to be to send a 404 if the page does not exist. The PageSpecificationResolver throws a generic ApplicationRuntimeException if it can not find the page. How to send a 404 without modifying the Tapestry core library. Marcel On 3/18/

Re: Access array in a generic way

2006-03-18 Thread Andreas Bulling
To add a second question: Is it reasonable at all to do it this way or do you know of something simpler? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Access array in a generic way

2006-03-18 Thread Andreas Bulling
Hi all, first let me describe what I want to achieve - afterwards I will tell you about the problem I have ;) Perhaps that's merely a Java question but I don't know where to ask instead/wasn't able to find something on the net. I want to create a "AdminPanel" component displayed only when the adm

AW: how to deal with case sensitivity

2006-03-18 Thread Korbinian Bachl
Hi, the correct way to handel this is a code 404 - if you ever go on any static unix/ linux webserver and misstype the case, youll get a 404. And if the programmer of the spider is not keen enough of this its just his problem. BTW: Even google itself for example handles it this way: valid: http

DynamicForm with validator

2006-03-18 Thread Istvan Zakar
Hi! I have tried Kent's DynamicForm example. Home.html: User name  Home.page: If I submit the form with an empty field, the field marked with ' ** ' But there is some problem with the label, because the next label becomes red. If I place the label after the textbox, everything

AW: [HiveMind] Fw: JAR issue

2006-03-18 Thread Korbinian Bachl
Hi James, excuse me, but what is "tapernate" ? - wikipedia doenst know it, google gives mo no hompeage or projectpage at all (only a bunch of mailinglist entrys like yours) and the license in its src says "by Apache" but i cant find it under apache.org... Regards Korbinian > -Ursprüngliche