Re: tomcat error filterStart

2008-08-22 Thread Filip S. Adamsen
Hi, Have you tried packing everyting from ${app.root}/WEB-INF/classes/ into a JAR and put it in ${app.root}/WEB-INF/lib? That might help. -Filip On 2008-08-23 01:06, Mike Saavedra wrote: I just want a basic webapp to run in tomcat 5.5.26. I install tomcat and drop in my file structure whic

tomcat error filterStart

2008-08-22 Thread Mike Saavedra
I just want a basic webapp to run in tomcat 5.5.26. I install tomcat and drop in my file structure which looks like this: ${app.root}/ ${app.root}/favicon.ico ${app.root}/Index.tml ${app.root}/WEB-INF ${app.root}/WEB-INF/web.xml ${app.root}/WEB-INF/classes ${app.root}/WEB-INF/classes/com ${app.

Re: T5: applicationStateObject strage behaviour

2008-08-22 Thread Filip S. Adamsen
Hi Argo, Tapestry is trying to invoke the constructor in your ASO class that has the most parameters. While doing, it is looking for services. It can't find a service matching Long, so it fails. You'll need to put @Inject on the constructor Tapestry should use to instantiate your ASO class w

T5: applicationStateObject strage behaviour

2008-08-22 Thread Argo Vilberg
I use application State object in one java file @ApplicationState private Role appCurrentRole; I fill this class with data. And now i want access some Role class in other java class. I add also @ApplicationState private Role appCurrentRole; But if i first time access this class i

Re: [T5] AJAX Tapestry Forms? / strange behavior of AjaxComponentEventRequestHandler

2008-08-22 Thread Tobias Wehrum
CORRECTION: "I spent some time with the debugger and it seems that 104: if (callback.isAborted()) return; just doesn't get called" would be "I spent some time with the debugger and it seems that in 104: if (callback.isAborted()) return; callback.aborted == false" Tobias Wehrum schrieb: And ag

Re: [T5] AJAX Tapestry Forms? / strange behavior of AjaxComponentEventRequestHandler

2008-08-22 Thread Tobias Wehrum
And again hi everyone, I managed to ajaxify my forms - but I have a problem left with the return value of my onSubmit function. First to explain, to make AJAX possible, I use a slightly modified Tapestry.linkZone: -

Re: Assets caching and versions

2008-08-22 Thread Josh Canfield
Take a look at the TapestryModule.java. In contributeClasspathAssetAliasManager there is now a version added to all the classpath resources. You could do something similar with your app version. http://tapestry.apache.org/tapestry5/apidocs/src-html/org/apache/tapestry5/services/TapestryModule.html

Re: t5: debugging with jetty

2008-08-22 Thread Filip S. Adamsen
I use IntelliJ IDEA as well. But I simply create a Maven configuration that runs mvn jetty:run and launch it as a debugging session. -Filip On 2008-08-22 17:32, César Lesc wrote: I set MAVEN_OPTS, launch jetty with maven and just attach the debugger's IDE, in IntelliJ IDEA is called Remote Deb

Re: T5 File Upload inside AjaxFormLoop? (as in several attachments to a mail message)

2008-08-22 Thread Sven Homburg
hi robert, i try it out with the upload container but without success. if i use a container, that holds a simple java object like string, double,etc all is fine but if i use an UploadedFile object or somethin simelar, the value is always null after the first submit have you a small sample for sug

Re: t5: debugging with jetty

2008-08-22 Thread César Lesc
I set MAVEN_OPTS, launch jetty with maven and just attach the debugger's IDE, in IntelliJ IDEA is called Remote Debug my debug script es like this: export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n" mvn jetty:run César. --

Re: Possible Bug in T5.0.14

2008-08-22 Thread Filip S. Adamsen
Hi, DocumentLinkerImpl#updateDocument sets the JavaScript variable Tapestry.DEBUG_ENABLED in development mode. Maybe that's what you're seeing? I find it very annoying, so I added renderSupport.addScript("Tapestry.DEBUG_ENABLED = false;"); to my layout's afterRender. I really don't think

Re: [T5] syntax of list in t:context

2008-08-22 Thread Filip S. Adamsen
Hi, You can also grab the list: binding prefix from the wiki: http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix -Filip On 2008-08-22 14:41, Andy Pahne wrote: found the workaround: see "Notes" onm page http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/cor

Possible Bug in T5.0.14

2008-08-22 Thread Peter Stavrinides
Hi All, We have a component that generates a navigation tree of actionlinks that in-turn triggers some zone updates, this worked perfectly in 5.0.13, but since we upgraded we get some strange debug output at the top of the page when clicking one of the linksit looks something like this: C

RE: t5: debugging with jetty

2008-08-22 Thread limonn
Hi Thank you for your replay. But if I do debug as I don't think I have the jetty option, only the server that is tomcat, m I missing any plugin ? Regards Raul Rosenzvaig Jonathan Barker wrote: > > I use Jetty 5 Plus run in Eclipse via the JettyLauncher plugin. > > I occasionally use the D

Re: t5: debugging with jetty

2008-08-22 Thread Tobias Wehrum
Hi limonn, to start Jetty, we use an org.mortbay.jetty.Server object started in a simple public static void main - so we can debug our program like any other java program too. The "no restart needed"-Feature is enhanced by debugging the application this way: When simply run, "no restart needed

RE: t5: debugging with jetty

2008-08-22 Thread Jonathan Barker
I use Jetty 5 Plus run in Eclipse via the JettyLauncher plugin. I occasionally use the Debug As in Eclipse, but most of the time I just Run and use the great T5 error reporting. When using Debug As, Eclipse will often grumble that it can't replace the (running) code. I frequently find that I can

Re: pageValidate and PageEndRender cannot output foreign language

2008-08-22 Thread learner
let me share my findings to those that faced similar problem. i tried same application on oracle and h2 datbase.and there is no problem displaying and save chinese character. look like it's mysql problem. - To unsubscribe, e-mai

t5: debugging with jetty

2008-08-22 Thread limonn
How do you guys debug using jetty, any guidance steps for that ? How that affects the feature of no need to restart jetty for changes to show ? Thank s in advance -- View this message in context: http://www.nabble.com/t5%3A-debugging-with-jetty-tp19107119p19107119.html Sent from the Tapestry -

Re: [T5] syntax of list in t:context

2008-08-22 Thread Andy Pahne
found the workaround: see "Notes" onm page http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/ActionLink.html Andy Pahne schrieb: What's the correct syntax (in a tml template) to pass more than one object in an ActionLink's t:context parameter?

Re: [T5] syntax of list in t:context

2008-08-22 Thread Sven Homburg
not possible inside the template to add an array/list of context values. two suggestions: in the tml t:context="context" in the class String[] getContext() { return new String[]{someObject.id, otherObject}; } or use the list binding from t5compnents/chenillekit http://87.193.218.134:8080/t5com

AjaxFormLoop inside a component of a page

2008-08-22 Thread Sven Homburg
Hi there, i try to use the AjaxFormLoop as a child component of a customer component in a page. here the scheme of the page with its components / after i submit the form neither in the "onBeginSubmit" nor in the "onAfterSubm

[T5] syntax of list in t:context

2008-08-22 Thread Andy Pahne
What's the correct syntax (in a tml template) to pass more than one object in an ActionLink's t:context parameter? t:context="someObject.id, otherObject" does not work, as the error message states that someObject is searched for a property called "id, otherObject" Andy

[T5] AJAX Tapestry Forms?

2008-08-22 Thread Tobias Wehrum
Hi there, as the title suggests, I want to submit a form without refreshing the page. I don't even want to refresh a zone, but I need to specify a javascript function handling the return value of my function. While this is quite easy with normal HTML forms, I don't want to break with Tapestry

Re: I can't make the Redirect Exception Sample on Wiki works

2008-08-22 Thread Daniel Alonso Sanchez
Sven Homburg wrote: > > have you read this ? > http://tapestry.apache.org/tapestry5/cookbook/exceptions.html > > 2008/8/22 Daniel Alonso Sanchez <[EMAIL PROTECTED]> > >> >> Hi everybody again :D. I'm trying to develop my own Exception Page that >> rise >> when a Custom Exception of my own ris

Re: I can't make the Redirect Exception Sample on Wiki works

2008-08-22 Thread Sven Homburg
have you read this ? http://tapestry.apache.org/tapestry5/cookbook/exceptions.html 2008/8/22 Daniel Alonso Sanchez <[EMAIL PROTECTED]> > > Hi everybody again :D. I'm trying to develop my own Exception Page that > rise > when a Custom Exception of my own rise. I have followed the sample > http://w

I can't make the Redirect Exception Sample on Wiki works

2008-08-22 Thread Daniel Alonso Sanchez
Hi everybody again :D. I'm trying to develop my own Exception Page that rise when a Custom Exception of my own rise. I have followed the sample http://wiki.apache.org/tapestry/Tapestry5RedirectException that goes here , but the app never reach that page. I have copied line by line the sample, m

Re: [T5] Manipulating response after page is rendered

2008-08-22 Thread 9902468
Hi, and thanks for the response! It seems that it is really easy to alter the behavior as I want by just using filter that change the default Response object as you suggested. Just why didn't I think of that in the first place.. :) Well, thanks again. - 99 Fernando Padilla wrote: > > Tapest