Re: Alert box

2011-09-16 Thread Kalle Korhonen
10 points to Bob for a rather exhaustive answer! Kalle On Fri, Sep 16, 2011 at 3:41 AM, Bob Harner bobhar...@gmail.com wrote: There are a number of modal dialog components mixins: Confirm, from Lombok, a JavaScript confirm pop-up prompt, implemented as a mixin that you can attach to a

Re: T5.3 Grid, inPlace Update and expired Sessions

2011-09-10 Thread Kalle Korhonen
On Sat, Sep 10, 2011 at 2:39 AM, Lenny Primak lpri...@hope.nyc.ny.us wrote: Digging through this a bit deeper, there is an interaction going on here with tapestry-security. When the session expires, the user is no longer logged in, and thus ajax call is being redirected to a login screen,

Re: tapestry-security in Servlet 3.0 servlets (was EJB components)

2011-09-07 Thread Kalle Korhonen
the shiro mailing list as well. I tried the @RequiresRole on a stateless Rest service, and it didn't work, I guess now I know why now :) On Aug 29, 2011, at 12:28 PM, Kalle Korhonen wrote: Thanks Lenny. Yes, it's the wrong list but the discussion's likely relevant to a number of other people

Re: tapestry-security securing EJB container objects

2011-08-29 Thread Kalle Korhonen
Thanks Lenny. Yes, it's the wrong list but the discussion's likely relevant to a number of other people as well. The most appropriate list is Shiro users and incidentally, there was a discussion on the same topic some time ago

Re: ParallelExecutor priority

2011-08-29 Thread Kalle Korhonen
Please open an issue, it makes a lot of sense that it'd be easily configurable per job. Massimo, he states the use case below. Kalle On Mon, Aug 29, 2011 at 3:25 AM, jeczmien jeczm...@podgorska.ddns.info wrote: Hi. I'm wonder there is any way to set priority for task running by

Re: Tynamo tapestry-security: how to override Login Page?

2011-08-29 Thread Kalle Korhonen
Contribute SecuritySymbols.LOGIN_URL, the following are the defaults: public static void contributeFactoryDefaults(MappedConfigurationString, String configuration) { configuration.add(SecuritySymbols.LOGIN_URL, / + PATH_PREFIX + /login);

Re: Tynamo tapestry-security: how to override Login Page?

2011-08-29 Thread Kalle Korhonen
rewriting the component and reusing/copying the style resources if you like the way it looks. Kalle On Aug 29, 2011, at 12:57 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Contribute SecuritySymbols.LOGIN_URL, the following are the defaults:    public static void

Re: Tapestry 5.3: IOCSymbols.THREAD_POOL_ENABLED does not work!?

2011-08-24 Thread Kalle Korhonen
So TG, just confirming - does the whole app not work (not load) because of these errors? I worried that was the case after Howard added PeriodicExecutor. If so, I think we need to fix it. It's one thing not being able to use the service but far worse if the failure in constructing this service

Re: Tapestry 5.3: IOCSymbols.THREAD_POOL_ENABLED does not work!?

2011-08-24 Thread Kalle Korhonen
On Wed, Aug 24, 2011 at 9:34 AM, TG tapestry...@hotmail.com wrote: Whole app is not working anymore. Using alpha 12, it works. Not sure if this helps. Thanks for confirming, I think we have a pretty good idea of what fails. I remember the backward compatibility with GAEJ is one of the feature

Re: Tapestry 5.3: IOCSymbols.THREAD_POOL_ENABLED does not work!?

2011-08-24 Thread Kalle Korhonen
On Wed, Aug 24, 2011 at 9:43 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Wed, 24 Aug 2011 13:24:46 -0300, Kalle Korhonen kalle.o.korho...@gmail.com wrote: So TG, just confirming - does the whole app not work (not load) because of these errors? I worried that was the case

Re: Tapestry 5.3: IOCSymbols.THREAD_POOL_ENABLED does not work!?

2011-08-24 Thread Kalle Korhonen
On Wed, Aug 24, 2011 at 10:15 AM, Massimo Lusetti mluse...@gmail.com wrote: On Wed, Aug 24, 2011 at 7:12 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Not IoC, but core. Created issue https://issues.apache.org/jira/browse/TAP5-1616 but the problem (beyond just constructing the service

Re: Problem with securing ajax enabled Tapestry pages with Annotations ...

2011-08-23 Thread Kalle Korhonen
for performing a redirect. On Mon, Aug 22, 2011 at 2:20 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Mon, Aug 22, 2011 at 1:27 PM, Gunnar Eketrapp gunnar.eketr...@gmail.com wrote: I just rewrote my very old ProtectedPageGateKeeper that implemented Dispatcher with a new one

Re: Add extra buttons in beaneditform

2011-08-22 Thread Kalle Korhonen
On Mon, Aug 22, 2011 at 8:54 AM, TG tapestry...@hotmail.com wrote: It seems like with form t:id=form t:type=beaneditform, I can change the label using t:submitLabel=Submit but I can not have extra button. My use case is, when a user click on the default button, it will go back to the Start and

Re: Tapestry apache2 and tomcat

2011-08-22 Thread Kalle Korhonen
It's not a workaround, but one way to set things up. There many, many other possible configurations. You'll quickly learn that running a website is quite a bit more than just building a web application. If you are not using Apache httpd for anything, ask yourself if you really need it at all -

Re: Problem with securing ajax enabled Tapestry pages with Annotations ...

2011-08-22 Thread Kalle Korhonen
On Mon, Aug 22, 2011 at 1:27 PM, Gunnar Eketrapp gunnar.eketr...@gmail.com wrote: I just rewrote my very old ProtectedPageGateKeeper that implemented Dispatcher with a new one inspired by Howard's blog http://tapestryjava.blogspot.com/search/label/security The new one implements

Re: T5.2.6: Activate called twice

2011-08-11 Thread Kalle Korhonen
Are you instantiating (injecting) the page somewhere? onActive is called called once when required, you have to tell more about your case if you want reasonable answers. Kalle On Thu, Aug 11, 2011 at 11:44 AM, nillehammer tapestry.nilleham...@winfonet.eu wrote: Hi List, I've never really

Re: This is what I get when sending an email to tynamo mailing list

2011-08-03 Thread Kalle Korhonen
via 'SecurityConfiguration'). The dependency has been ignored. Taha, maybe you are using 0.3.0 by mistake? On Jul 29, 2011, at 1:16 AM, Kalle Korhonen wrote: Oh yes, the warning's still there, only it's called SecurityConfiguration as I said. Kalle On Thu, Jul 28, 2011 at 9:33 PM, Taha

Re: tapestry-security warning

2011-07-28 Thread Kalle Korhonen
Patience my young Jedi :) Replied on Tynamo's list but you can safely ignore the warning. Kalle On Wed, Jul 27, 2011 at 5:42 PM, Taha Hafeez tawus.tapes...@gmail.com wrote: Hi I had posted this problem in tynamo's mailing list but I not sure how active it is. We have a setup. Tapestry5

Re: running Tapestry on Google App Engine

2011-07-25 Thread Kalle Korhonen
5.2.x runs on GAE without issues, a few Tynamo (http://tynamo.org) examples are deployed there. Use the maven-gae-plugin to deploy (assuming you are using Maven), for example see http://svn.codehaus.org/tynamo/trunk/tynamo-example-federatedaccounts/pom.xml. Kalle On Mon, Jul 25, 2011 at 10:37

Re: tapestry-security and sso

2011-07-22 Thread Kalle Korhonen
On Fri, Jul 22, 2011 at 7:11 AM, Nicolas Barrera nbarr...@gmail.com wrote: about a tapestry app implementing single -sign on... does tapestry-security integrates with a CAS server? ( I 'm thinking about that because I 've never used shiro although I could start using it, no problem. But I come

Re: 100% CPU load after hot deploy of Tapestry 5 Application on Tomcat 6

2011-07-20 Thread Kalle Korhonen
As Mark said, GC exhausting the system is a possibility if it eventually recovers from the 100% CPU. If at all possible, try with higher max memory allocation and Tomcat 7. Kalle On Wed, Jul 20, 2011 at 2:16 AM, p.stavrini...@albourne.com wrote: Hi All, This is a tricky question one since I

Re: PageActivationContext Coercion Exceptions

2011-07-17 Thread Kalle Korhonen
I haven't tried, but using tapestry-exceptionpage (http://tynamo.org/tapestry-exceptionpage+guide) you should be able to map UnknownValueException to your 404 page. Kalle On Sun, Jul 17, 2011 at 8:13 PM, Mark mark-li...@xeric.net wrote: I have an app with several pages like:

Re: removing attributes from session from pages other than the one setting it

2011-07-15 Thread Kalle Korhonen
@DiscardOnPageReset discards on the next page visit which may not give you much, depending on your situation. Tapestry-conversations still going strong, allows you to expire pages and so on, see http://tynamo.org/tapestry-conversations+guide. Kalle On Fri, Jul 15, 2011 at 6:53 PM, bogdan_cm

Re: Exception invoking function Tapestry.Initializer.validate

2011-07-14 Thread Kalle Korhonen
Is there an issue open for this? Seems this could be applied with little side effects. Kalle On Thu, Jul 14, 2011 at 6:43 AM, Taha Hafeez tawus.tapes...@gmail.com wrote: tapestry.js got blocked sending as txt On Thu, Jul 14, 2011 at 7:10 PM, Taha Hafeez tawus.tapes...@gmail.com wrote: Hi

Re: Automatic loading of code changes not working!

2011-07-14 Thread Kalle Korhonen
Disable scanner (that's the container feature to reload web app context as something changes). You could also configure to load the templates from src without copying (that's in Eclipse build setttings, src/main/resources), see http://tynamo.org/Developing+with+Tomcat+and+Eclipse for more info

Re: t-prevent-submission

2011-07-14 Thread Kalle Korhonen
The typical way to do this is to put the upload on a separate iframe, displayed as a field on the parent form (ajax or not). There's some amount of coordination that needs to happen to make it all behave nicely but it can be done. Kalle On Thu, Jul 14, 2011 at 2:25 PM, Ray Nicholus

Re: t-prevent-submission

2011-07-14 Thread Kalle Korhonen
wrote: Hmm, I'm not sure I follow.  Can you provide an example. On Thu, Jul 14, 2011 at 4:32 PM, Kalle Korhonen kalle.o.korho...@gmail.comwrote: The typical way to do this is to put the upload on a separate iframe, displayed as a field on the parent form (ajax or not). There's some amount

Re: Free J2ee hosting

2011-07-13 Thread Kalle Korhonen
We (at Tynamo) are running our examples on GAE (Google App Engine). It's free and great for some things but very restricting for others (no JPA2, threads(!) and so on). I better check out Cloudbees as well. Kalle On Wed, Jul 13, 2011 at 6:54 PM, Taha Hafeez tawus.tapes...@gmail.com wrote: Hi

Re: Problems accessing Named Queries in multiple Persistent Units

2011-07-12 Thread Kalle Korhonen
On Tue, Jul 12, 2011 at 12:53 PM, Lenny Primak lpri...@hope.nyc.ny.us wrote: About scanning all packages, in my situation there is production and development databases, they have exactly the same schema, so in this instance scanning all packages is the right thing to do, but I would be very

Re: Cropper Module

2011-07-03 Thread Kalle Korhonen
You don't need a Tapestry module to crop images: BufferedImage cropped = bufferedImage.getSubimage(left, top, width, height); Kalle On Sun, Jul 3, 2011 at 5:09 PM, Mark mark-li...@xeric.net wrote: Is there a Tapestry Module (or some example code) floating around anywhere that allows cropping

Re: Cropper Module

2011-07-03 Thread Kalle Korhonen
it easy to integrate something like this: http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/ Mark On Sun, Jul 3, 2011 at 8:28 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: You don't need a Tapestry module to crop images: BufferedImage cropped

Re: confirmation javascript in ajaxformloop

2011-06-30 Thread Kalle Korhonen
This has been discussed a few times. The right way would be to use event propagation as intended, for example: t:removerowlinkspan id=confirmRemovalRemove/span/t:removerowlink Then add a handler for the nested element: Event.observe($('confirmRemoval'), 'click', function(event) {if (!confirm('are

Re: 5.3.0 java.lang.IncompatibleClassChangeError: Implementing class

2011-06-29 Thread Kalle Korhonen
While it looks like the issue is with Tapestry, I'm guessing it's some Jetty dependencies - GAV coordinates changes between Jetty 6.0 and Jetty 7.0 so you easily end up having incompatible libs in your classpath. Check your classpath again for duplicate/similar libs and your dependency tree.

Re: Conversion from 5.1 to 5.2

2011-06-28 Thread Kalle Korhonen
On Tue, Jun 28, 2011 at 9:16 AM, Norman Franke nor...@myasd.com wrote: On Jun 24, 2011, at 7:28 PM, Kalle Korhonen wrote: On Fri, Jun 24, 2011 at 3:33 PM, Norman Franke nor...@myasd.com wrote: I'm allocating 768MB for the heap. I haven't tried lower, but jconsole indicates I'm using no more

Re: [ANN] AjaxUpload : An ajax based upload component

2011-06-26 Thread Kalle Korhonen
Which version of ie? Kalle On Sun, Jun 26, 2011 at 4:13 AM, Taha Hafeez tawus.tapes...@gmail.com wrote: Tested with ie, works well regards Taha On Sat, Jun 25, 2011 at 9:38 PM, Taha Hafeez tawus.tapes...@gmail.comwrote: Hi AjaxUpload is an ajax based tapestry upload component based on

Re: Conversion from 5.1 to 5.2

2011-06-24 Thread Kalle Korhonen
On Fri, Jun 24, 2011 at 3:33 PM, Norman Franke nor...@myasd.com wrote: After I had everything working pretty well, I put it onto the production server where it ran for a few hours and then died with a PermGen exception. Previously, my app would run for months with the 64 MB of PermGen allocated

Re: [tynamo-user] Re: Maven Checksum Failure with Tynamo JPA / Security

2011-06-22 Thread Kalle Korhonen
Yeah, they were released with the old process/old repo though the move to Nexus was under way around the same time. A new release of jpa would fix it. Perhaps we should do one though Igor's jpa integration will likely supersede this (though not sure if that one's going to work for earlier versions

Re: [tynamo-user] Re: Maven Checksum Failure with Tynamo JPA / Security

2011-06-22 Thread Kalle Korhonen
On Wed, Jun 22, 2011 at 1:13 PM, lpri...@hope.nyc.ny.us wrote: Alright, now this begs a different question, since I am using 5.2.5, and this is a brand new project, would it be better to start using 5.3 with built-in jpa or use tynamo-jpa and then convert? i.e. how close are the two and how

Re: [tynamo-user] Status of codehaus repositories for tynamo

2011-06-21 Thread Kalle Korhonen
These are CI snapshots, my best guess is that ci. is cleaned up rather aggressively. All Tynamo releases are available via Maven central. Kalle On Tue, Jun 21, 2011 at 12:09 AM, Greg Pagendam-Turner g...@liftyourgame.com wrote: Hi, Does anyone know why the repositories on

Re: [ANN] Tapestry-breadcrumbs version 1.4 is released

2011-06-19 Thread Kalle Korhonen
Always link to your project page! Kalle On Sun, Jun 19, 2011 at 10:19 AM, Joakim Olsson joa...@unbound.se wrote: Hi, I just released version 1.4 of tapestry-breadcrumbs. The only change is regarding how the dispatcher is added to the master dispatcher. Previously I added it with

Re: RE : Mixin competes with Zone's event handler

2011-06-16 Thread Kalle Korhonen
On Thu, Jun 16, 2011 at 2:11 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Thu, 16 Jun 2011 17:51:11 -0300, Nicolas Barrera nbarr...@gmail.com wrote: perhaps before getting this in a JIRA issue, you would ilke to analyze what Kalle says here:

Re: Tynamo 0.4.0 security: How to create custom credential matcher.

2011-06-14 Thread Kalle Korhonen
public static void contributeWebSecurityManager(ConfigurationRealm configuration, @InjectService(JdbcSaltedRealm) AuthorizingRealm jdbcSaltedRealm) { CredentialsMatcher credentialsMatcher = new HashedCredentialsMatcher(); // configure matcher as you prefer...

Re: [OT] The response time of websites - comparison between frameworks

2011-06-13 Thread Kalle Korhonen
, Jun 7, 2011 at 7:30 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: I really didn't want to say anything definitive about since I didn't run it on a dedicated, clean test bed or anything. I just run the benchmark for some time on my development machine, mostly comparing against Wicket (just

Re: [OT] The response time of websites - comparison between frameworks

2011-06-13 Thread Kalle Korhonen
On Mon, Jun 13, 2011 at 7:31 AM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Tapestry is officially very, very fast: http://www.jtict.com/blog/rails-wicket-grails-play-lift-jsp/comment-page-1/#comment-22319. We of course knew that already but I hope the author updates the graph. Kalle

Re: tapestry-security 0.4.0 released!

2011-06-09 Thread Kalle Korhonen
It's stable as in its tested every which way. The only reason 0.4.0 is carrying a beta tag is that I'm planning on adding a few operations, and there's a remote possibility that some of the existing signatures will change. I fully recommend every T5.2 user moving to 0.4.0 as soon as possible.

Re: [OT] The response time of websites - comparison between frameworks

2011-06-07 Thread Kalle Korhonen
joshcanfi...@gmail.com wrote: Pull request sent: https://github.com/jtdev/blogpost_files/pull/4 Did you run the other tests and do your own comparison? On Mon, Jun 6, 2011 at 10:59 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Kalle On Mon, Jun 6, 2011 at 11:02 AM, Kalle Korhonen

tapestry-security 0.4.0 released!

2011-06-06 Thread Kalle Korhonen
You've spoken and we aim to please! In tapestry-security 0.4.0 we did away with the shiro.ini and allowed configuring security Tapestry-style with all-in-Java contributions. The release finally combines all features from separate Shiro integrations (original tapestry-security by Kalle Korhonen

Re: [OT] The response time of websites - comparison between frameworks

2011-06-06 Thread Kalle Korhonen
to be covered by the comparison. It would be nice to see how Tapestry performs. On Tue, May 31, 2011 at 4:50 PM, Kalle Korhonen kalle.o.korho...@gmail.comwrote: No, but Tapestry's got to make it to these comparisons to stay as a contender. Has anybody tried contacting the author

Re: [OT] The response time of websites - comparison between frameworks

2011-06-06 Thread Kalle Korhonen
Pull request sent: https://github.com/jtdev/blogpost_files/pull/4 Kalle On Mon, Jun 6, 2011 at 11:02 AM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Yes, I'll write the sample app. Started already but didn't have much time last week, this week looks better. It shouldn't take too long

Re: Strange problem with tapestry.js

2011-06-05 Thread Kalle Korhonen
Sorry, I don't have anything meaningful to contribute to this discussion. But since I've had my fights with IE6 too, I have to share http://www.theie6countdown.com/default.aspx in case you haven't seen it before. Kalle On Sun, Jun 5, 2011 at 3:52 AM, Taha Hafeez tawus.tapes...@gmail.com wrote:

Re: Session Time-out

2011-06-02 Thread Kalle Korhonen
Sounds like a good case for a conversational page. Tynamo's tapestry-conversations (http://tynamo.org/tapestry-conversations+guide) allows you to set the max length of a conversation independent of the session timeout and a ajax keep-alive with a drop-in component. Kalle On Thu, Jun 2, 2011 at

Re: Clean sheet security design suggestions?

2011-06-01 Thread Kalle Korhonen
The big three for Java are CMA (Container Managed Authentication) which you are using, Spring Security (ex-Acegi Security, Tapestry integration provided by tapestry-spring-security module) and Apache Shiro (ex-JSecurity, Tapestry integration provided by Tynamo's tapestry-security). I've spent more

Re: Clean sheet security design suggestions?

2011-06-01 Thread Kalle Korhonen
security, which I am looking to replace. In your opinion, should I look use CMA or go with tynamo shiro? I guess I can do a bake-off but I would rather not. On Jun 1, 2011, at 4:29 PM, Kalle Korhonen wrote: The big three for Java are CMA (Container Managed Authentication) which you are using

Re: Clean sheet security design suggestions?

2011-06-01 Thread Kalle Korhonen
...@hope.nyc.ny.us wrote: The closest to CMA that I've used was JAAS. I didn't like it. Sounds like you are recommending tynamo and shiro. On Jun 1, 2011, at 5:19 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: I see - should have said I assume you are using CMA. I'm biased of course

Re: [OT] The response time of websites - comparison between frameworks

2011-05-31 Thread Kalle Korhonen
No, but Tapestry's got to make it to these comparisons to stay as a contender. Has anybody tried contacting the author? If not, I'll see what I can do. Kalle On Tue, May 31, 2011 at 7:27 AM, Massimo Lusetti mluse...@gmail.com wrote: On Tue, May 31, 2011 at 11:03 AM, Borut Bolčina

Re: tapestry-security users: are you using shiro.ini?

2011-05-31 Thread Kalle Korhonen
FYI, this is implemented now. For the impatient, see http://svn.codehaus.org/tynamo/trunk/tapestry-security/src/test/java/org/tynamo/security/testapp/services/AppModule.java and try out tapestry-security 0.4.0-SNAPSHOT. Release follows once I've updated the docs. Kalle On Wed, May 4, 2011 at

Re: Ordered MappedConfiguration

2011-05-28 Thread Kalle Korhonen
). Still, it'd be simple to offer some lightweight interface for wrapping up both the key and the value (even for auto-generating the key) in case the user has a use for keys later in the service. Kalle On Thu, May 26, 2011 at 11:47 AM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Let me ask

Re: Ordered MappedConfiguration

2011-05-26 Thread Kalle Korhonen
, Howard Lewis Ship hls...@gmail.com wrote: Could the contributed objects know their names and have space for ordering values (the before: and after: strings)?  In other words, could you simple order the map value() inside your service implementation? On Wed, May 25, 2011 at 9:42 AM, Kalle

Re: Ordered MappedConfiguration

2011-05-26 Thread Kalle Korhonen
Let me ask again in more simple terms - is it currently possible to access the contribution element ids of an OrderedConfiguration in a service? Looking through the code but you probably know the answer right off the bat. Kalle On Thu, May 26, 2011 at 12:08 AM, Kalle Korhonen kalle.o.korho

Re: Live class reloading very slow

2011-05-25 Thread Kalle Korhonen
You don't have to copy the templates anywhere. It still may not explain why class reloading is slow for you, but file IO is fairly expensive and thus should be avoided. Kalle On Wed, May 25, 2011 at 1:17 AM, Davor Hrg hrgda...@gmail.com wrote: Hi, your suggestion did improve reload when only

Ordered MappedConfiguration

2011-05-25 Thread Kalle Korhonen
I have a use case where I'd like to contribute key-value pairs but preserve their ordering, i.e. I'd like to contribute elements to a LinkedHashMap. Now, MappedConfiguration doesn't work since it doesn't preserve the order (or in Tapestry terms, cannot be ordered after elements are contributed).

Re: OAuth tapestry+scribe

2011-05-25 Thread Kalle Korhonen
Accent, i.e. emphasis? Yes, right now there is, but Alejandro is actually currently working on integrating scribe with federatedaccounts. We have a dev thread open on it: http://tynamo-dev.3856180.n2.nabble.com/federated-accounts-amp-multiple-realms-td6397759.html. Hang tight or join the fun.

tapestry-security users: are you using shiro.ini?

2011-05-02 Thread Kalle Korhonen
I just bumped the trunk of Tynamo's tapestry-security to version 0.4.0-SNAPSHOT in order to start working on a few, potentially backwards incompatible changes. I've long wanted to rewrite some of the underlying Shiro filter code to remove clutter and to improve performance for Tapestry

Re: Live reload in production?

2011-04-20 Thread Kalle Korhonen
On Wed, Apr 20, 2011 at 10:03 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Wed, 20 Apr 2011 15:21:10 -0300, LLTYK ll...@mailinator.com wrote: Disabled, so you automatically get better performance. I don't think you should have to tweak Tapestry options to get better

Re: HTMLUnit Tapestry 5

2011-04-17 Thread Kalle Korhonen
webClient.waitForBackgroundJavaScript? See http://htmlunit.sourceforge.net/faq.html. Kalle On Sat, Apr 16, 2011 at 8:56 PM, Ray Nicholus rnicho...@widen.com wrote: I have written some fairly basic tests that all pass on IE FF, but fail when I use HTMLUnit.  I'm using 2.0b3 for all webdriver

Re: HTMLUnit Tapestry 5

2011-04-17 Thread Kalle Korhonen
tapestry5 and run into this issue?  On Apr 17, 2011 2:22 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: webClient.waitForBackgroundJavaScript? See http://htmlunit.sourceforge.net/faq.html. Kalle On Sat, Apr 16, 2011 at 8:56 PM, Ray Nicholus rnicho...@widen.com wrote: I have

Re: My Multi-file upload problem

2011-04-07 Thread Kalle Korhonen
Specifically for Tapestry, Eclipse and Tomcat: http://tynamo.org/Developing+with+Tomcat+and+Eclipse Kalle On Mon, Apr 4, 2011 at 10:54 PM, Amr Mohamed Mahmoud Hassanien amr.hassan...@dmi.ae wrote: Hello there,               I am new tapestry, and everytime I read about tapestry I find

Re: Tapestry Perf4J

2011-03-28 Thread Kalle Korhonen
Brilliant! I have way too much benchmarking code in my applications as is. I have just a project lined up to try this on, thanks! Kalle On Mon, Mar 28, 2011 at 1:05 PM, Jérôme BERNARD jerome.bern...@gmail.com wrote: Hi, Quick email to let you know that if some of you are interested in using

Re: form for nested entity

2011-03-25 Thread Kalle Korhonen
Using BeanEditForm? Customize the block for the corresponding Media property, there's an example at the end of the relevant documentation page: http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/BeanEditForm.html. Also, Tynamo's tapestry-model

Re: Tapestry 5 with Prototype 1.7

2011-03-23 Thread Kalle Korhonen
wrote: Hi Kalle, 5.2.5 isn't released yet as I'm struggling with the release plugin. I would appreciate if you would hold off on checking in into the branch. We can have a 5.2.6 release for this issue. On Wed, Mar 23, 2011 at 12:43 AM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Agree

Re: Tapestry 5 with Prototype 1.7

2011-03-22 Thread Kalle Korhonen
Agree... doesn't look like we have an issue open for it yet. There's the tapx-prototype but I don't see a reason for not putting it in directly for 5.2.x. Unfortunately we apparently just missed the boat for 5.2.5 - or did we, Igor? Kalle On Tue, Mar 22, 2011 at 4:12 PM, David Rees

Re: Tapestry 5 with Prototype 1.7

2011-03-22 Thread Kalle Korhonen
On Tue, Mar 22, 2011 at 9:18 PM, David Rees dree...@gmail.com wrote: On Tue, Mar 22, 2011 at 4:43 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Agree... doesn't look like we have an issue open for it yet. There's the tapx-prototype but I don't see a reason for not putting

Re: 5.1 : Available pages downgrade

2011-03-21 Thread Kalle Korhonen
I can confirm I've seen similar behavior on Jetty. It's linked to heap space running out and in my case it was directly related to sending huge amounts gzipped form data. See related Jetty issue at http://jira.codehaus.org/browse/JETTY-1167 and my comments there. Apparently Jetty in some cases

Re: tapestry-upload and zones?

2011-03-11 Thread Kalle Korhonen
I second Juan on the Valums uploader - it's the best I've seen. And great news Christian, I should keep a closer eye on tapestry-jquery (been using a fairly old frozen version of it), thanks! Kalle On Fri, Mar 11, 2011 at 4:16 PM, Christian Riedel cr.ml...@googlemail.com wrote: I contributed

Re: Uploading then displaying Images

2011-03-10 Thread Kalle Korhonen
On Thu, Mar 10, 2011 at 4:11 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Thu, 10 Mar 2011 19:24:52 -0300, Rich M rich...@moremagic.com wrote: Primarily because I can't think of a reasonable way to build a URL to the I think you have a confusion here. The folder structure you

Re: Uploading then displaying Images

2011-03-10 Thread Kalle Korhonen
whether you want to do it on the fly and pay recurring costs. Kalle On Thu, Mar 10, 2011 at 4:33 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Thu, Mar 10, 2011 at 4:11 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Thu, 10 Mar 2011 19:24:52 -0300, Rich M rich

Re: By-passing validation

2011-03-09 Thread Kalle Korhonen
That's a submit. Why don't you just use a button and a link instead if you don't want to submit the form? Kalle On Wed, Mar 9, 2011 at 10:24 AM, mwilliam...@kcp.com wrote: I have a page that has both a client side required validation and server side validation. I also need a Cancel

Re: By-passing validation

2011-03-09 Thread Kalle Korhonen
Applications Developer Phone: 816/997-5994  From:       Kalle Korhonen kalle.o.korho...@gmail.com  To:         Tapestry users users@tapestry.apache.org  Date:       03/09/2011 01:53 PM  Subject:    Re: By-passing validation That's a submit. Why don't you just use a button and a link

Re: Invoke method after page is loaded; when method finishes, redirect to another page

2011-03-04 Thread Kalle Korhonen
You don't need multiple pages for it, you can just do it all in one page if you don't mind some ajax (no scripting needed). ProgressiveDisplay is ideal for this (http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/ProgressiveDisplay.html). Kalle On Fri,

Re: Integrating tynamo tapestry-security (apache shiro)

2011-03-04 Thread Kalle Korhonen
On Fri, Mar 4, 2011 at 1:49 AM, Magnus Kvalheim mag...@kvalheim.dk wrote: This post is mostly related to tapestry-security, but I hope it's ok to post here in tapestry mailing list (now that Kalle is a committer and all.. :) ) So I finally decided to implement tapestry-security. Had a few bumps

Re: [ANNOUNCEMENT] upcoming module: tynamo-federatedaccounts

2011-03-03 Thread Kalle Korhonen
] - Initial implementation of federatedaccounts sample running on GAE [TYNAMO-80] - Implement different windowmodes for Facebook oauth Enjoy, Tynamo team On Sat, Jan 29, 2011 at 11:08 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: With 600 million users and counting, it's the new

Re: Q: java.lang.ClassNotFoundException: org.apache.tapestry5.TapestryFilter ?

2011-02-28 Thread Kalle Korhonen
http://tynamo.org/Developing+with+Tomcat+and+Eclipse Kalle On Mon, Feb 28, 2011 at 5:34 AM, penyihirkecil penyihirke...@gmail.com wrote: Using mvn jetty:run works perfectly. But i want to try another way ^^, On 28/02/2011 20:26, Thiago H. de Paula Figueiredo wrote: On Mon, 28 Feb 2011

Re: Lazy injection

2011-02-28 Thread Kalle Korhonen
That's the default. Only if you use @EagerLoader, the services are instantiated.. err.. eagerly, otherwise the actual service is created (realized) on the first invocation of the service proxy. Kalle On Mon, Feb 28, 2011 at 4:03 PM, Dan Griffin dangri...@gmail.com wrote: Hi all, Is there a

Re: Classloader issues with 'skinny WARs'

2011-02-22 Thread Kalle Korhonen
Never used GlassFish, but skinny wars work fine in Tomcat. Kalle On Tue, Feb 22, 2011 at 2:26 AM, Lenny Primak lpri...@hope.nyc.ny.us wrote: I am trying to share tapestry JARs between multiple web apps by placing Tapestry JARs into common library directory on the container (domain1/lib in

Re: Classloader issues with 'skinny WARs'

2011-02-22 Thread Kalle Korhonen
On Tue, Feb 22, 2011 at 8:01 AM, Everton Agner ton.ag...@gmail.com wrote: Are you using maven? Yes. Kalle 2011/2/22 Kalle Korhonen kalle.o.korho...@gmail.com Never used GlassFish, but skinny wars work fine in Tomcat. Kalle On Tue, Feb 22, 2011 at 2:26 AM, Lenny Primak lpri

Re: 10 Minute Web Application Demo

2011-02-19 Thread Kalle Korhonen
Mark, I linked to your screencast from Getting Started and Presentations pages of Tapestry's official documentation. I linked to your blog rather than the YouTube clip directly, I assume that's how you wanted it. I wouldn't worry too much about fixing every little issue people have reported. I

Re: Class Transformation

2011-02-17 Thread Kalle Korhonen
On Thu, Feb 17, 2011 at 7:15 AM, Taha Hafeez tawus.tapes...@gmail.com wrote: Back to the question. What I really want to do is provide an @Auditable annotation on my domain classes and then add some fields/methods at the time of loading the classes. Are you sure that adding the auditing data

Re: Error after logout

2011-02-17 Thread Kalle Korhonen
You are logging out the Subject, right? See this (from http://svn.codehaus.org/tynamo/trunk/tynamo-example-federatedaccounts/src/main/java/org/tynamo/examples/federatedaccounts/pages/Index.java): Object onActionFromLogout() { // Need to call this explicitly to invoke

Re: Render informal parameters into element(s) of a component's template

2011-02-17 Thread Kalle Korhonen
Thanks, just run into the same. What a surprising use case for the trigger component. Perhaps a hack, but feels right :) This would deserve a spot somewhere in the documentation. Kalle On Fri, Jan 14, 2011 at 3:10 AM, nille hammer tapestry.nilleham...@winfonet.eu wrote: Hi List, I have just

Re: How to edit tml files with DreamWeaver?

2011-02-15 Thread Kalle Korhonen
Better way is relative, but the designers I've worked with have been very happy to be able to modify templates of a running application. Without knowing many of the details, they execute mvn jetty:run, modify the templates and commit the files. You need to have Java installed in their environment,

Re: Tynamo Security and Tapestry case insensitive paths

2011-02-14 Thread Kalle Korhonen
On Mon, Feb 14, 2011 at 2:56 AM, Massimo Lusetti mluse...@gmail.com wrote: BTW URL should be considered in a case sensitive manner expect for the machine name part which could be considered case insensitive. Could that open up a discussion on how Tapestry5 treats URL? At least earlier www

Re: [chenillekit-user] [ANNOUNCE] ChenilleKit 1.3.2 which support Tapestry 5.2.4

2011-02-14 Thread Kalle Korhonen
Congrats and thanks Massimo for all the hard work! Kalle On Sun, Feb 13, 2011 at 6:26 AM, Massimo Lusetti mluse...@gmail.com wrote: Finally I was able to find time to crank out a release of ChenilleKit for Tapestry 5.2.4 I'm lost in the middle of a big project which cannot fail and would

Re: 10 Minute Web Application Demo

2011-02-14 Thread Kalle Korhonen
Just watched, impressive! Almost as if it was super easy to create these web apps with Tapestry :) Definitely deserves a spot right at Tapestry's Getting Started page IMHO. Kalle On Mon, Feb 14, 2011 at 8:24 PM, Mark mark-li...@xeric.net wrote: If anyone is interested, I made a short

Re: t5: accessing a service from a contributed class

2011-02-13 Thread Kalle Korhonen
On Sun, Feb 13, 2011 at 6:55 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 14 Feb 2011 00:16:33 -0200, Angelo C. angelochen...@gmail.com wrote: is this possible? Yes, as long as the contributed object is an service itself. Is that a fact Thiago? I'm surprised by that. I

Re: can't get tynamo's tapestry-resteasy to work

2011-02-10 Thread Kalle Korhonen
No guarantees this will work, but try declaring a newer web.xml version. See for example http://publib.boulder.ibm.com/infocenter/wasinfo/beta/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/twbs_jaxrs_configjaxrs11method.html Kalle On Thu, Feb 10, 2011 at 5:49 AM, Ronald Luke

Noticed another stackoverflow question on Tapestry 5, go vote

2011-02-08 Thread Kalle Korhonen
See http://stackoverflow.com/questions/3831807/java-server-faces-2-0-or-tapestry-5-2. I love the marketing effort from the play framework guys, they are very serious about their play :) The given Tapestry answers given seem very reasonable. Kalle

Re: Tynamo Security and Tapestry case insensitive paths

2011-02-07 Thread Kalle Korhonen
On Mon, Feb 7, 2011 at 9:43 AM, Mark mark-li...@xeric.net wrote: On Sun, Feb 6, 2011 at 8:22 AM, Kalle Korhonen Made a patch release yesterday with a fix, use 0.2.2 or 0.3.1, see http://tynamo.org/tapestry-security+guide I found this in the destination of your link: Use lowercase throughout

Re: Tynamo Security and Tapestry case insensitive paths

2011-02-06 Thread Kalle Korhonen
Made a patch release yesterday with a fix, use 0.2.2 or 0.3.1, see http://tynamo.org/tapestry-security+guide Kalle On Fri, Feb 4, 2011 at 7:56 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Sorry for being a bit late to the party. Thanks Barry for reporting and already proposing a patch

Re: Tynamo Conversations Java 5

2011-02-05 Thread Kalle Korhonen
in Cayenne 3.1.  Someone pointed out that PowerPC Macs (which are still in use -- desktops and servers) don't have the option of Java 1.6 yet, so we decided to stick with Java 1.5 for the time being since Java 1.6 didn't really provide anything necessary. mrg On Mon, Jan 31, 2011 at 11:16 AM, Kalle

Re: Unit Testing DAOs

2011-02-04 Thread Kalle Korhonen
If you are not using a (JPA) EntityManager or Tapestry's Hibernate integration, you need to let Hibernate know about the entities yourself. If you are really only testing the DAOs, you shouldn't need to power up the IoC registry. Here's an excerpt of my persistence test base class (with Mockito):

<    1   2   3   4   5   6   7   8   9   10   >