Re: Async form in Tap4.1 does not work...

2006-08-24 Thread andyhot
This might also be useful for others: http://www.tatanka.com.br/ies4linux/index-en.html Uses wine and installs IE 6, 5.5 and 5... all downloaded from windows update ! Pedro Viegas wrote: > That solved it Jesse! > It really was the cache. > Guess those handy old SNAPSHOT JS scripts were in the wa

Re: [ANN] Tacos 4.0.0 released

2006-08-24 Thread Jesse Kuhnert
I think that's the flash player issue someone talked about in another thread. Since the other demos (http://opencomponentry.com:8080/workbench ) work fine in opera 9 I'm guessing if it is a bug it was fixed some time ago. (as the tapestry dojo version is still pretty old in comparison to what is

Tapestry 4.0.2 Custom ApplicationInitializers Firing Twice!

2006-08-24 Thread Karthik N
Hi, We have a custom set of HiveMind initializers that we're using with Tapestry 4.0.2. OgnlFixesInitializer belongs to a different module than DomainPackagesInitializer. It should be fired BEFORE DomainPackagesInitializer and hence we have the dependency configured. While deploying this on To

Re: [ANN] Tacos 4.0.0 released

2006-08-24 Thread Henri Dupre
This is fantastic! But nothings shows up with Opera 9... Is this a bug in dojo? On 8/24/06, andyhot <[EMAIL PROTECTED]> wrote: The latest tacos release is out! Several new components have been added, lots of bug fixes made and dojo updated to 0.3.1 Check it out at http://tacos.sourceforge.n

Re: Friendly URLs messing style of ExceptionPage

2006-08-24 Thread Henri Dupre
Do you use by any chance apache + jk in front end of tomcat? I had a problem encoding assets because of some strange bug in jk... On 8/24/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: I have another site, running on version 4.0 (this one is 4.0.2) and shares the same problem. Now that I rem

[ANN] Tacos 4.0.0 released

2006-08-24 Thread andyhot
The latest tacos release is out! Several new components have been added, lots of bug fixes made and dojo updated to 0.3.1 Check it out at http://tacos.sourceforge.net/ Live demo http://opencomponentry.com:8080/tacos/app -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry /

Re: Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J 10.1.3 - Dig a little bit more, anyone please give me a ladder to climb up

2006-08-24 Thread Jesse Kuhnert
Hi, Looking at the source for the hivemind LoggingInterceptorFactory leads me to believe it could very well be a "bug" on hivemind's part. Not because I saw anything particular, just because it looked complicated and scary ;) To get around this problem temporarily you could do something like thi

Re: Friendly URLs messing style of ExceptionPage

2006-08-24 Thread Vinicius Carvalho
I have another site, running on version 4.0 (this one is 4.0.2) and shares the same problem. Now that I removed the asset on this one, I got back to the other and removed it as well :) Regards On 8/24/06, hv @ Fashion Content <[EMAIL PROTECTED]> wrote: That sounds like a bug. AssetEncoder shoul

Re: Tomcat - Prevent file content extraction

2006-08-24 Thread Martin Strand
I just put it in server.xml, I've got a element there defining a virtual host. I'm not sure how your setup looks though, perhaps you want something different. You can find stuff like this in the Tomcat configuration docs, they're pretty good: http://tomcat.apache.org/tomcat-5.5-doc/config

Re: Tomcat - Prevent file content extraction

2006-08-24 Thread Peter Dawn
what file is this setting going into. i cant figure it which one, is it catalina.properties. thanks though its great help, i couldnt find it using google. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: Friendly URLs messing style of ExceptionPage

2006-08-24 Thread hv @ Fashion Content
That sounds like a bug. AssetEncoder should be able to differ between private and context assets. "Vinicius Carvalho" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] >I found out that the problem was the asset service. I was mapping my > assets to /assets/* as shown in the examp

Re: Tomcat - Prevent file content extraction

2006-08-24 Thread Martin Strand
You could set unpackWARs="false" http://tomcat.apache.org/tomcat-5.5-doc/config/host.html Martin On Fri, 25 Aug 2006 01:02:30 +0200, Peter Dawn <[EMAIL PROTECTED]> wrote: guys, when i deploy my web app within tomcat, tomcat seems to extract all files and places it in the webapps folder. is th

Tomcat - Prevent file content extraction

2006-08-24 Thread Peter Dawn
guys, when i deploy my web app within tomcat, tomcat seems to extract all files and places it in the webapps folder. is there a way to prevent it from extracting the file content and only use the .war file. on my server there are multiple people deploying tapestry projects and i dont want my cont

Re: How to be redirected from login form to BasePage?

2006-08-24 Thread hv @ Fashion Content
If you are starting fresh why not base your app on Tap4 ? "CIJOML" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] Hi Ron, thanks very much, It helped me a lot! I had to do more changes ;) I forgot rename also page name! :( Thank you - probably a lot more questions will contin

Re: How to be redirected from login form to BasePage?

2006-08-24 Thread Daniel Jue
I recommend the ebook "Enjoying Web Development with Tapestry". I am new to Tapestry and without this book I would not have stayed with it. The logon component you described is in the shopping cart example in chaper 4. BTW the first 4 chapters are free online. On 8/24/06, hv @ Fashion Content

Re: Form submitting problem

2006-08-24 Thread Tim Sawyer
Thanks for all your help! I see what you mean, we do use the form validation in a lot of places, but mainly only for mandatory stuff. I'll look into what I can easily do to get this kind of logic in, it certainly applies to the immediate problem I was having. It's still not always applicable.

Re: Form submitting problem

2006-08-24 Thread Ron Piterman
Me again... Two things: the exception page is not for business logic exceptions but should be used as a fallback in case of dev mistakes (also known as bugs) and in case someone tempers with your application and sends wrong information in the URLs. Tapestry's Form handling is one of the fram

Re: Form submitting problem

2006-08-24 Thread Ron Piterman
naturally I forgot the getRequestCycle.activate(...) in the try clause, just after the save(...); Cheers, Ron Tim Sawyer wrote: Thanks Ron. In this case, that's fine I can add that in. In other cases it's just not possible. I have a 700,000 line Java business layer behind my front end, t

Re: Form submitting problem

2006-08-24 Thread Ron Piterman
Still you can use validation. Instead of catching the exception in the engine, and forward to the exception page, catch the exception in the page's class, and record an error in your ValidationDelegate. instead of : getSomeService().save(foo); use try { getSomeService().save(foo); } ca

Re: Form submitting problem

2006-08-24 Thread Tim Sawyer
Thanks Ron. In this case, that's fine I can add that in. In other cases it's just not possible. I have a 700,000 line Java business layer behind my front end, there are going to be all sorts of exceptions cropping up. It doesn't make commercial sense to write all that validation in the front

Re: Creating listener urls

2006-08-24 Thread Ron Piterman
Sure - so, what is that you are asking? how to generate an URL? In Tapestry, EngineService is responsible to generate URLs and respond to them. Implement your own service and let it check for a request parameter you add in your java script. You will however have to pass a basic url (generat

Re: Creating listener urls

2006-08-24 Thread Vinicius Carvalho
Hello Jesse, not really, as I understood the bind, needs a url right? What I need is that url :) I think I might be going against tapestry internal architecture (I don't fully understand it, but for what I've seen it seems that it always bind in the url the component it's invoking right? like: con

Re: Creating listener urls

2006-08-24 Thread Jesse Kuhnert
What, do you mean like "bind" ? http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/core.js?view=markup On 8/24/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: Hello there! In my page I have lots of Asynchronous calls using XMLHttpRequest. I'm having a har

Creating listener urls

2006-08-24 Thread Vinicius Carvalho
Hello there! In my page I have lots of Asynchronous calls using XMLHttpRequest. I'm having a hard time dealing with so many calls, I'll show way: I did not use the XTile component, because I need a better suport from the Service, and also It's a fire and forget way, I don't need response. So My

Re: Why Howard choose testNG in tapestry test module

2006-08-24 Thread Howard Lewis Ship
Yep, I'm a big fan of TestNG. It's annotation driven. It has a much better model for organizing the tests (into groups) and controlling which tests run when. It can run tests in parallel, which actually makes a difference on dual core monsters like my home desktop. It generates a much more com

Re: How to be redirected from login form to BasePage?

2006-08-24 Thread CIJOML
Hi Ron, thanks very much, It helped me a lot! I had to do more changes ;) I forgot rename also page name! :( Thank you - probably a lot more questions will continue, while I am new to Tapestry kingdom :) Michal Dne čtvrtek 24 srpen 2006 16:19 Ron Piterman napsal(a): > its cycle.activate("Home

Re: Friendly URLs messing style of ExceptionPage

2006-08-24 Thread Vinicius Carvalho
I found out that the problem was the asset service. I was mapping my assets to /assets/* as shown in the examples. even though my pages displayed the assets in a correct way, the Exception page get all messed up. Removing the asset encoder, got the exception page back on it's track :) Regards On

Re: How to be redirected from login form to BasePage?

2006-08-24 Thread Ron Piterman
its cycle.activate("Home"); Cheers,Ron CIJOML wrote: Hi, I wrote little application which now I want secure. So I developped login form, but I am unable to be redirected to BasePage after successfull login. When I call such page directly in DP.application, it renders: http://jakarta.apache

Re: Form submitting problem

2006-08-24 Thread Ron Piterman
Use validation instead of a custom exception page, this will solve your problem and be more useable, since the user can correct the problem on the same page where the error message apeared. Cheers, Ron Tim Sawyer wrote: hi, I have a tapestry page which displays a text entry field for each

Form submitting problem

2006-08-24 Thread Tim Sawyer
hi, I have a tapestry page which displays a text entry field for each item in an array. These fields are for entering cheque numbers, and there is also an Activate button. If activate is pushed whilst one of the cheque number fields is blank, then I (correctly) get an exception raised - "all che

Re: DirtyFormWarning and tacos:AjaxForm

2006-08-24 Thread Mike Oestereter
I've been messing around with nightly builds of tacos and different versions of dojo. But It all seems to work very well with the tacos beta 2. And on top of it all - it does not trigger the warning with tacos:AjaxEventSubmit. Excellent!! Thanks On 8/23/06, andyhot <[EMAIL PROTECTED]> wrote: Mik

Re: Redirect to page on F1 keypress

2006-08-24 Thread Ron Piterman
If each page has only one F1 page, or, say a limitted number of F1 - you implement a javascript listener and uses JS to redirect (I don't know the exact call) - The URL is passed to your .script file - you get it by using the relevant engine service's getLink method. I think they did exist in

Re: Problem with Script and Border

2006-08-24 Thread Norbert Sándor
Your pseudo-code seems to be correct. Maybe provide the real sources... Regards, Norbi Bastian Voigt wrote: Hello all, as I got no more answers I'm trying to post this again. I hope I'm not too annoying, but I've been unable to solve this problem and it is not documented anywhere my Tapestr

Problem with Script and Border

2006-08-24 Thread Bastian Voigt
Hello all, as I got no more answers I'm trying to post this again. I hope I'm not too annoying, but I've been unable to solve this problem and it is not documented anywhere my Tapestry 4.0.2 application uses a border component: -- ... blah ... ... blah