Re: T4: From the client side, how do you programmatically update a component?

2007-12-03 Thread Kalle Korhonen
() method: public void trigger(IRequestCycle cycle){ getRequestCycle().getResponseBuilder().updateComponent(COMPONENT_ID) } Hope this helps On Dec 2, 2007 12:24 AM, Kalle Korhonen [EMAIL PROTECTED] wrote: No - I want to trigger the update programmatically via Javascript

Re: T4: New tacos release

2007-12-19 Thread Kalle Korhonen
Congrats on the new release, excellent job once again! Kalle On Dec 19, 2007 11:10 AM, andyhot [EMAIL PROTECTED] wrote: Hi, the new tacos release (4.1.1) is already deployed at maven's central repo. Details are at http://tacos.sourceforge.net/tacos4.1/ , here are some quick notes: -)

Re: T5: Logging

2008-01-04 Thread Kalle Korhonen
One of the easiest things you can do to combat this problem is to configure logging to output log messages from your application to a separate log file and yet another output for all of those critical ERROR and FATAL messages so they don't get lost in the noise that easily. Kalle On 1/4/08,

Re: What's heartbeat ?

2008-01-07 Thread Kalle Korhonen
First result with a google search tapestry 5 heartbeat: http://tapestry.formos.com/nightly/tapestry5/apidocs/org/apache/tapestry/services/Heartbeat.html Kalle On 1/6/08, Michael Courcy [EMAIL PROTECTED] wrote: Hi list, As I start to read the code on components I often see heartbeat

Re: T4: Newbie's questions

2008-01-10 Thread Kalle Korhonen
On 1/10/08, Ulrich Stärk [EMAIL PROTECTED] wrote: Zheng, Xiahong schrieb: 1) Layout management: I couldn't find a documented solution to replace tiles used by the old application. I'm no Struts expert but AFAICR tiles are just some kind of reusable templates. In Tapestry every component

Re: [T4] escaping text for Javascript

2008-01-17 Thread Kalle Korhonen
On 1/17/08, Matt Brock [EMAIL PROTECTED] wrote: Kalle Korhonen-2 wrote: I needed to escape some strings pulled from database for Javascript, and it turned out to be surprisingly difficult. AFAIK, none of the Tapestry/Tacos markup writers/character translators escapes a single quote

Re: T5: Edit page best practice - Mk III - now Mk V

2008-01-28 Thread Kalle Korhonen
Really important work Geoff, thanks. Which version are you using? I hope you go through the extra work to keep up with the versions. Davor, you say the invalidated form is persisted in session by default. Does multi-window support work in this case, i.e. if the same user opens another edit page

Re: Tapestry[5] - Overriding the form error messages

2008-02-01 Thread Kalle Korhonen
Accessibility requirements typically dictate that error messages should be *both* shown adjacent to the field and as a summary together in one place, typically on top of the page. Screen readers will have a hell of a time reading Javascript bubbles. Pretty defaults are fine as long as they are

Re: EventListener and PropertySelection (Solution)

2008-04-24 Thread Kalle Korhonen
I just run into the same exact thing, using Tap 4.1.5, dojo that comes with it, propertyselection and an eventlistener as well as prototype. Anybody know if this is fixed in a newer snapshot, if there is a bug open on this or any (better) workaround? Kalle On Sat, Oct 27, 2007 at 9:41 AM, lt

Re: EventListener and PropertySelection (Solution)

2008-04-24 Thread Kalle Korhonen
users out there using T4, dojo and prototype. Kalle On Thu, Apr 24, 2008 at 4:18 PM, Kalle Korhonen [EMAIL PROTECTED] wrote: I just run into the same exact thing, using Tap 4.1.5, dojo that comes with it, propertyselection and an eventlistener as well as prototype. Anybody know if this is fixed

Re: T5: Persistence pains

2008-05-05 Thread Kalle Korhonen
Hey Ivan, When you say we, who are you referring to? In my mind, this flow aka conversation support is absolutely the right solution for the problem. Are you planning to share the code or include it with some other project? Various implementations of the conversation concept exists, but I'd

Re: Switching between HTTP / HTTPS

2006-09-04 Thread Kalle Korhonen
Depends on the security framework you use, not really a Tapestry function. Acegi makes it configurable and also AppFuse has a configurable filter for it. Kalle On 9/4/06, Mika Tammilehto [EMAIL PROTECTED] wrote: Hi! Is there a best-practice-approach in Tapestry (4.0) to switch from HTTP to

Re: Help, robots are attacking my listeners!

2006-10-21 Thread Kalle Korhonen
Or a servlet filter that examines request headers and drops the handling for specific request agents or something else that identifies them coming from a robot. Kalle On 10/20/06, Daniel Jue [EMAIL PROTECTED] wrote: some robots.txt magic? On 10/20/06, spamsucks [EMAIL PROTECTED] wrote: hi

Re: Tapestry 4.1.1 Hello World not working on Oracle 10.1.3.2.0

2007-06-18 Thread Kalle Korhonen
Jesse et al, do you have any more information on Hivemind 1.1.2 and any plans to change the version in Tap 4.1.2? AFAIK, there's also 1.2.1 branch and 2.0.-alpha-1release but otherwise it looks to me Hivemind development has stalled. Kalle On 5/9/07, Jesse Kuhnert [EMAIL PROTECTED] wrote: I

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Kalle Korhonen
Sounds too expensive to me to generate the whole CSS dynamically. If you just want to change the style for different applications, you can override the style in later style sheet; or, if you really want it dynamic, keep the link static but process it in servlet/service and serve up the image of

OGNL 2.7 Must use #this

2007-06-26 Thread Kalle Korhonen
Hi Jesse et al, while trying to migrate to Tap 4.1.2 we started getting lots of OgnlExceptions with message source is null from OgnlRuntime.getProperty. The workaround was to add #this to a lot of places where we used more complex OGNL expressions. I realize this is probably much more to do with

Re: OGNL 2.7 Must use #this

2007-06-27 Thread Kalle Korhonen
in to for the next 2.7.1 release. The forums are here: http://forums.opensymphony.com/category.jspa?categoryID=10 (though I'm thinking of moving them to google groups as well) On 6/26/07, Kalle Korhonen [EMAIL PROTECTED] wrote: Hi Jesse et al, while trying to migrate to Tap 4.1.2 we started getting

Re: T5: Will it be a full stack framework?

2007-06-28 Thread Kalle Korhonen
On 6/28/07, Francois Armand [EMAIL PROTECTED] wrote: My personal thought are that this kind of application will come to life in a near future... It already exists Trails (http://www.trailsframework.org) for Tapestry 4, and well... Tapestry 5 seems to be so pleasant and so powerful... Just need

Re: OGNL 2.7 Must use #this

2007-07-02 Thread Kalle Korhonen
job in fixing these, but how do I know in which snapshot the fix might be? Kalle On 6/26/07, Kalle Korhonen [EMAIL PROTECTED] wrote: Thanks. I wasn't 100% how legitimate, but filed as http://jira.opensymphony.com/browse/OGNL-97 Kalle On 6/26/07, Jesse Kuhnert [EMAIL PROTECTED] wrote

Re: OGNL 2.7 Must use #this

2007-07-02 Thread Kalle Korhonen
to be fixed Does the same test case not work for you? On 7/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote: Hey Jesse - saw you had marked http://jira.opensymphony.com/browse/OGNL-97as resolved so I assumed the fix might be in the latest snapshot ognl-2.7.1-20070630.205921-4 posted later

Re: OGNL 2.7 Must use #this

2007-07-03 Thread Kalle Korhonen
!). Kalle On 7/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote: The unit test doesn't succeed for me (and neither does the real world example, which is slightly different, but I assume the unit test would cover for it). Well, if you say the unit test should pass now, I'll double-check I have

Re: 4.0.1 Hotspot JVM bug?

2007-07-05 Thread Kalle Korhonen
My experience is that unless the JVM crashes, in 95% of the cases it's not a bug in JVM even if you may suspect so. The fact that it's browser dependent, makes it even less likely that it'd be a bug in the JVM. To me, this one sounds like a concurrency/threading issue. Is this in Tap4.x? In that

Re: JumpStart v1.6 - for Tapestry 4.1.2

2007-08-02 Thread Kalle Korhonen
Hey Geoff, could you comment on the reasons why you require an J2EE container. Is it just so that you don't need to deal with initializing the EntityManager yourself or do you see other compelling benefits in using the container? I'm asking because while we use EJB3 Hibernate annotations in

Re: Class cast exception in ASTChain, Bug OGNL-11

2007-08-14 Thread Kalle Korhonen
On 8/14/07, Andrus Adamchik [EMAIL PROTECTED] wrote: I found essentially the same problem in a @For loop over a list of objects that do not implement any common interface, but (by design) have matching method names. Tapestry would try to cast to the class of the first object in the loop,

Re: Class cast exception in ASTChain, Bug OGNL-11

2007-08-16 Thread Kalle Korhonen
Exclude the version that comes with 4.1.2 and fall back to 2.6.7. But, I think it's the responsibility of us, the users, to iron out the bugs in the expressionCompiler. I mean it's the least we can do. The benefits far outweigh the current issues from my perspective and Jesse's more than willing

Re: HTMLUnit Tapestry 4.1

2007-08-23 Thread Kalle Korhonen
Just did. And what do you know; 1.13 does run successfully most of our ( http://trailsframework.org) functional tests that broke because of Javascript execution errors when we moved to Tap 4.1.2 (and dojo) and previously run on htmlunit 1.11. Kalle On 8/23/07, mraible [EMAIL PROTECTED] wrote:

Re: Anybody's developing object oriented?

2007-08-27 Thread Kalle Korhonen
On 8/27/07, Marcus Schmidke [EMAIL PROTECTED] wrote: I'm in the unlucky situation that I have to give up working with my favourite Web Framework - Apple's WebObjects - in favor to something that is more J2EE-homed and more open source (seems that WO will be this too at some time, but even

Re: Memory consumption in T4.1.2 - Hard data

2007-08-28 Thread Kalle Korhonen
Now that's an OGNL compiler error. Have you tried with OGNL 2.7.1-SNAPSHOT(just use the latest). OGNL 2.7 that comes with Tap 4.1.2 by default is known to have bugs with the compiled expressions. Please try with the latest OGNL; it might just do the trick. Kalle On 8/28/07, Peter Stavrinides

Re: T4.1.2 / Spring 2.0.6 / Hib3 Lazy loading and PropertySelectionModel stuff

2007-08-29 Thread Kalle Korhonen
Not sure about the best solution, but we use: public static Class checkForCGLIB(Class type) { if (type.getName().contains(CGLIB)) { return type.getSuperclass(); } else return type; } Kalle On 8/29/07, Jan Vissers [EMAIL PROTECTED] wrote: Problem

Re: [T4] Data base connection .

2007-09-03 Thread Kalle Korhonen
It's up to you *if* you want to use a db in Tapestry and how you want to use it. In Trails, we have ready-made configuration examples for most of the popular dbs at: http://trailsframework.org/DatabaseConfigurations Kalle On 9/3/07, dinesh kumar [EMAIL PROTECTED] wrote: hi, can any one say

Re: [ANN] Tacos 4.1.0 release

2007-09-08 Thread Kalle Korhonen
As a sidenote; the latest HTMLunit understands even Dojo's Javascript quite fine. Kalle On 9/8/07, Renat Zubairov [EMAIL PROTECTED] wrote: My last question was a bit stupid one, it is actually working (just tried it on the demo). That's really great, that I wouldn't need to redo all my

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-25 Thread Kalle Korhonen
What's the Maven bug you are trying to work around? Maybe we could help. Kalle On 9/25/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: I'm not sure how upto date the snapshots are. That's likely caused by using too old a version of Log4J in your project. You want to ensure that you are using

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-25 Thread Kalle Korhonen
/MJAVADOC-150 I thought I had added it previously, but couldn't find it. So I just (re-)added it. On 9/25/07, Kalle Korhonen [EMAIL PROTECTED] wrote: What's the Maven bug you are trying to work around? Maybe we could help. Kalle On 9/25/07, Howard Lewis Ship [EMAIL PROTECTED] wrote

Re: [ANN] Tacos 4.1.0 release

2007-09-30 Thread Kalle Korhonen
Hey Andy, you mentioned that tapdoc is merging with Tacos. Where's the snapshot repo for tapdoc and which version should/could people be using? There's only 0.6.5-SNAPSHOT in Tacos nightly at: http://tacos.sourceforge.net/nightly/and the latest 0.7.0-SNAPSHOT at

Re: form post-redirect

2007-10-05 Thread Kalle Korhonen
Better yet, inject external link directly using tacos-annotations: http://tacos.sourceforge.net/tacos4.1/tacos-annotations/index.html (cuts down on the boilerplate code!) Kalle On 10/5/07, Patrick Kelly [EMAIL PROTECTED] wrote: Great - did just what I needed. IExternalThanks! On 4-Oct-07,

Re: Trails or Congnition ;-)

2007-10-10 Thread Kalle Korhonen
On 10/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I wanted to use either Trails or Cognition for the next project. However, Cognition seems to have ceased to exist and Trails does not work. I've talked with the founder of Cognition a few times, and yes, the project was scrapped. Trails

Re: Tapestry 4.1.3 Archetype

2007-10-19 Thread Kalle Korhonen
Well, there's the Trails archetype that uses T4.1.3: http://trailsframework.org/Quick+Start. And btw, 4.1.3 is released, not a snapshot. Kalle On 10/19/07, Daniel Ruiz [EMAIL PROTECTED] wrote: hello, is there anything like ' this ' for tapestry 4.1.3 snapshot? HYPERLINK

Re: T5: BeanEditForm

2007-10-27 Thread Kalle Korhonen
How Trails does it, is that it builds descriptors (that hold metadata) for the business classes and their properties. You can modify this metadata with annotations (that you would attach directly to the business entity), or later on, programmatically in the page class. Type, size, validation, etc

Re: [T4] One way to get the context path when you need to inject it straight into HTML

2007-11-01 Thread Kalle Korhonen
Thanks Jim, good stuff! I was pondering about the same issue just the other day. Kalle On 11/1/07, Jim Roycroft [EMAIL PROTECTED] wrote: The mailinglist/nabble formatting cut out some stuff... here's the relevant snippet: Jim Roycroft wrote: ... Note the path to csshover2.htc,

Re: Problem with 5.0.7-SNAPSHOT

2007-11-16 Thread Kalle Korhonen
mvn clean doesn't work for you? Kalle On 11/16/07, Sven Homburg [EMAIL PROTECTED] wrote: sometimes, after updating from repository, i must remove the target/classes directory manualy from modules before compiling the library sources best regards homburg Softwaretechnik S.Homburg

Re: [T4] Thanks for updates

2007-11-19 Thread Kalle Korhonen
And not to mention T4 being actively maintained. The issue as I see it is that while T5 brings a lot on the table in terms of ease-of-use and shielding you from your own stupidity, T4 matches and surpasses it in power and expressiveness if you just get past the learning curve and figure out the

Re: OGNL Expression evaluated 4 times on tap 4.1.2 release

2007-11-19 Thread Kalle Korhonen
Yes, I get this too on 4.1.3. Kalle On 11/19/07, carlos f [EMAIL PROTECTED] wrote: BUMP . . . just trying to make sure this didn't get lost in all the T5 messages over the weekend . Does anyone know what I can do to eliminate the duplicate calls? Thanks in advance. Carlos -- View

Re: [T4.1] How to get list of registered components?

2007-11-28 Thread Kalle Korhonen
On 11/28/07, ccmail [EMAIL PROTECTED] wrote: Thanks, currently I've chosen Block/RenderBlock-based solution. But is there NO easy way to inject component in purely programmatical way? Without defining it in neither parent's template nor specifiaction XML ? No. Static structure, dynamic

Re: T5: Is Persist(conversation) planned? Please?

2007-11-28 Thread Kalle Korhonen
I completely agree with Geoff that a good-enough generic support for conversations could make developing web applications much easier and it's one of the remaining big issues that web frameworks typically don't offer a solution for out-of-the-box. Seam's got a solution that works well for typical

Re: T5: Is Persist(conversation) planned? Please?

2007-11-29 Thread Kalle Korhonen
to start looking at creating tapestry-seam integration project? It might be an interesting project to take on for me as well. Kalle On 11/28/07, Kalle Korhonen [EMAIL PROTECTED] wrote: I completely agree with Geoff that a good-enough generic support for conversations could make developing web

Re: T5: Is Persist(conversation) planned? Please?

2007-11-30 Thread Kalle Korhonen
it more complex, not easier for the user. Kalle On 11/30/07, Angelo Chen [EMAIL PROTECTED] wrote: Hi Kalle, I found this suggestion interesting, T5 already has Spring integration, which one will be easier for the user, Seam or Spring? A.C. Kalle Korhonen-2 wrote: JSF. In practice

Re: T5: Is Persist(conversation) planned? Please?

2007-11-30 Thread Kalle Korhonen
year. Kalle On 30/11/2007, at 12:01 PM, Kalle Korhonen wrote: Of course, nothing prevents one writing a semi-automatic workspace management layer on top of Seam that would take care of detecting and closing abandoned conversations (for example, along the lines I suggested on the Trails

T4: From the client side, how do you programmatically update a component?

2007-12-01 Thread Kalle Korhonen
I have a use case where I need to click on a directllink to updatecomponents with async=true or do an equivalent action in Javascript. I know I can do tapestry.bind('span [EMAIL PROTECTED]/') and it makes some sense, but looks rather ugly. Any cleaner way to accomplish this? Kalle

Re: T4: From the client side, how do you programmatically update a component?

2007-12-01 Thread Kalle Korhonen
DirectLink's updateComponents parameter with async=true? Uli Kalle Korhonen schrieb: I have a use case where I need to click on a directllink to updatecomponents with async=true or do an equivalent action in Javascript. I know I can do tapestry.bind('span [EMAIL PROTECTED]/') and it makes some

Re: T4: Async submit client side listeners

2008-06-03 Thread Kalle Korhonen
cycle.getResponseBuilder().addInitializationScript(this, myJavascriptFunction();); Kalle On Mon, Jun 2, 2008 at 9:19 PM, Paul Stanton [EMAIL PROTECTED] wrote: Hi all, I've got a form which is submitted asynchronously as follows: form jwcid=[EMAIL PROTECTED] listener=listener:process

Re: Form - asyn submission with file upload

2008-06-16 Thread Kalle Korhonen
Just ran into the same use case myself; I would like to use an asynch form with a file upload in T4.1.5 app. I wonder if anybody has solved this already. Carlos, how did you go about doing it? Kalle On Mon, May 19, 2008 at 2:08 PM, Carlos F [EMAIL PROTECTED] wrote: Andreas, thanks for the

[T4] tapestry-captcha source?

2008-07-05 Thread Kalle Korhonen
Hey, anybody happen to have the source for James Carman's tapestry-captcha? Just started seeing a need for some type of captcha-functionality only to find out that http://www.carmanconsulting.com/mvn/com/javaforge/tapestry/tapestry-captcha/returns 404 and javaforge's tapestry project is

Re: [T4] tapestry-captcha source?

2008-07-07 Thread Kalle Korhonen
in minutes. The recaptcha.netwebsite points to java library to - very simple and very effective (supports audo playback as well). - Original Message - From: Kalle Korhonen [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Saturday, July 05, 2008 7:11 PM Subject

Re: [T4.1.5] with Dojo 1.1.1 Using Beyond Dojo

2008-07-21 Thread Kalle Korhonen
Tacos already does Dojo 1.0.2 integration almost out-of-the-box ( http://tacos.sourceforge.net/tacos4.1/tacos-dojo/index.html). If you need 1.1, you could probably just follow the Tacos source and do the same, or better yet, contribute dojo 1.1 integration back to Tacos. What features of Dojo 1.1

[T4] Using differ validator on async form?

2008-07-24 Thread Kalle Korhonen
Is it possible to use Differ validator to validate a field shouldn't match a known value? Match/Differ expects to match against a form component; just any component won't do. In my case the value the value to differ against cannot change (think use case where a password cannot match with a

Re: [T4] Using differ validator on async form?

2008-07-24 Thread Kalle Korhonen
a value instead (but it's simple to implement your own component for this). Kalle On Thu, Jul 24, 2008 at 12:02 PM, Kalle Korhonen [EMAIL PROTECTED] wrote: Is it possible to use Differ validator to validate a field shouldn't match a known value? Match/Differ expects to match against a form

Re: [T4] Using differ validator on async form?

2008-07-25 Thread Kalle Korhonen
Hmm, that's exactly what I said, no? Kalle On Thu, Jul 24, 2008 at 11:21 PM, Andreas Andreou [EMAIL PROTECTED] wrote: Wouldn't the encode parameter of http://tapestry.apache.org/tapestry4.1/components/form/hidden.html help here? On Fri, Jul 25, 2008 at 8:02 AM, Kalle Korhonen [EMAIL

Re: T5 UTF-8 new behaviour in T5.0.14

2008-08-01 Thread Kalle Korhonen
Does it mean that the old-school (name-value, not xml) property files for Tapestry now *have to be* encoded in UTF-8 rather than the standard Latin-1? Kalle On Fri, Aug 1, 2008 at 6:41 AM, Howard Lewis Ship [EMAIL PROTECTED] wrote: If you update again, you'll get the snapshot that reads

Re: T5 UTF-8 new behaviour in T5.0.14

2008-08-02 Thread Kalle Korhonen
properties files are not rendered properly in the final HTML page. If you switch the coding of that property file to UTF-8, things are ok. Now I need to find out how to tell Eclipse to create UTF-8 property files by default... José Kalle Korhonen a écrit : Does it mean that the old-school

Re: cache on T4 page

2008-08-28 Thread Kalle Korhonen
Can't do this in pageValidate but if you use Tacos, you can decorate a getter method with @Cached which will cache the result for the lifetime of a single request ( http://tacos.sourceforge.net/tacos4.1/tacos-annotations/index.html). Kalle On Thu, Aug 28, 2008 at 12:25 PM, Henrik Schlanbusch

Re: Invalid requests - best practice?

2008-08-28 Thread Kalle Korhonen
JMHO, but I think it depends on the case. In your product example, I'd let the page itself handle the error since it's relatively clear the user tried to access a non-existent (possibly removed or non-authorized) product. For a completely random, non-existent url, I'd try to handle it as soon as

Re: T4.1.5 possible ognl cache problem

2008-08-29 Thread Kalle Korhonen
Jesse, could you comment on this? I haven't tried profiling my apps, but the repeated calls to Ognl.compileExpression are worrisome if Denis got his numbers right. Are there any ognl-related changes in 4.1.6? Denis, maybe you could repeat your profiling with the latest snapshot, so hopefully

Re: T4.1.5 possible ognl cache problem

2008-09-03 Thread Kalle Korhonen
On the page in your production application, you wouldn't be using #this anywhere in an OGNL expression, would you? Kalle On Wed, Sep 3, 2008 at 6:35 AM, denis queffeulou [EMAIL PROTECTED] wrote: I've done a simple webapp and the result is that compileExpression is called 18 times but this

Re: tacos @Cached in t4

2008-09-06 Thread Kalle Korhonen
You've misunderstood the purpose of @Cached. The documentation ( http://tacos.sourceforge.net/tacos4.1/tacos-annotations/index.html) says: The Cached http://tacos.sourceforge.net/tacos4.1/apidocs/net/sf/tacos/annotations/Cached.htmlannotation allows you to cache the results of a pag/component

Re: 4.1.6 remains unusable for eclipse runtime

2008-09-16 Thread Kalle Korhonen
Works fine here as well. Kalle On Tue, Sep 16, 2008 at 8:38 AM, Martin Strand [EMAIL PROTECTED] wrote: Works fine here, are you sure you're not still using 4.1.6-SNAPSHOT? Martin On Tue, 16 Sep 2008 17:05:04 +0200, Ken in nashua [EMAIL PROTECTED] wrote: Can someone resolve this

Re: T4.1 AJAX Indicators

2008-10-24 Thread Kalle Korhonen
You can also just use @EventListener. Call a Javascript operation to display the status and hook up your EventListener to an arbitrary Javascript call. Kalle On Fri, Oct 24, 2008 at 12:31 PM, Andreas Andreou [EMAIL PROTECTED]wrote: dojo.event.connect to it and in there do dojo.event.stopEvent

Re: New JIRA: Tapestry does not pick pages, components and templates after application startup

2008-10-29 Thread Kalle Korhonen
Just to provide a differing viewpoint: I've had live class reloading already in Tapestry 4.x with Tomcat, Eclipse and Sysdeo's Tomcat plugin for years. I've always wondered what the fuss is about live class reloading as a new feature. I say if during development you have to restart your app server

Re: New JIRA: Tapestry does not pick pages, components and templates after application startup

2008-10-29 Thread Kalle Korhonen
On Wed, Oct 29, 2008 at 3:32 PM, Thiago H. de Paula Figueiredo [EMAIL PROTECTED] wrote: Just to provide a differing viewpoint: I've had live class reloading already in Tapestry 4.x with Tomcat, Eclipse and Sysdeo's Tomcat plugin for years. I've always wondered what the fuss is about live

Re: Live class reloading problems

2008-11-20 Thread Kalle Korhonen
Tomcat doesn't have a unhappy tendency to copy resources to a secondary location, it just depends on how you set it up. Hugo, are you using sysdeo's Tomcat plugin for Eclipse in development? I haven't tried but what I've read about T5's class reloading, I think live class reloading should work

Re: Live class reloading problems

2008-11-20 Thread Kalle Korhonen
:47 AM, Alex Kotchnev [EMAIL PROTECTED] wrote: Kalle, can you give some details on the depends on how you set it up part, more specifically, how do you disable hot code swapping ? Cheers, Alex Kotchnev On Thu, Nov 20, 2008 at 2:04 PM, Kalle Korhonen [EMAIL PROTECTED]wrote: Tomcat

Re: Live class reloading problems

2008-11-21 Thread Kalle Korhonen
, at least that verifies sysdeo's plugin would work just as well. It doesn't copy files around and no need to run anything from command line either. Kalle On Thu, Nov 20, 2008 at 7:04 PM, Kalle Korhonen [EMAIL PROTECTED]wrote: Tomcat doesn't have a unhappy tendency to copy resources

Re: [OT] Re: T5: encoding issues

2009-01-06 Thread Kalle Korhonen
Use -Dfile.encoding=utf-8 when starting up Java; you can set it as JVM default properties in Eclipse. Kalle On Tue, Jan 6, 2009 at 11:42 AM, Christoph Jäger christoph.jae...@derwald.at wrote: Hi Lutz, thanks for your thoughts. As far as I can see, the encoding in the generated HTML is

Re: Keep It Sweet and Simple

2009-01-07 Thread Kalle Korhonen
Trails (http://www.trailsframework.org/) offers something similar to this; basically Trails is about model-driven design. You only need to create your domain entities (like blog post and comment as in your example) and the framework creates both the frontend and database from it, both of which you

Re: Keep It Sweet and Simple

2009-01-07 Thread Kalle Korhonen
On Wed, Jan 7, 2009 at 7:16 AM, Francois Armand farm...@linagora.comwrote: Kalle Korhonen wrote: [...] T5 compatible version is in development; no snapshots available but the early example are functional if you check out the trunk. That's a great new Kalle ! I'm anger to see what you

Re: Persistance

2009-01-13 Thread Kalle Korhonen
I don't know if there's a better thread for discussing page scope and conversation (if you know other threads, please link them in) but I'm just doing research on this topic for supporting conversations in Trails. Shortly, I'm hoping that it'd be possible to have a generic implementation for

Re: Persistance

2009-01-14 Thread Kalle Korhonen
way. Kalle Kalle Korhonen-2 wrote: I don't know if there's a better thread for discussing page scope and conversation (if you know other threads, please link them in) but I'm just doing research on this topic for supporting conversations in Trails. Shortly, I'm hoping that it'd

Re: Persistance

2009-01-14 Thread Kalle Korhonen
http://rifers.org/blogs/gbevin/2005/4/11/continuations_continuations http://www.artima.com/forums/flat.jsp?forum=226thread=197351 http://debasishg.blogspot.com/2006/07/spring-web-flow-declarative-web.html Geoff On 14/01/2009, at 5:25 PM, Kalle Korhonen wrote: I don't know

PersistentFieldStrategy and conversations

2009-01-15 Thread Kalle Korhonen
I'd like to implement a custom PersistentFieldStrategy for conversations within the same page, but a PersistentFieldStrategy only knows the page name. Currently my conversation id is part of the activation context and I'd somehow need to pass the id on to my custom strategy. Is there a way to do

Re: PersistentFieldStrategy and conversations

2009-01-15 Thread Kalle Korhonen
at 8:38 AM, Richard Kirby r...@capdm.com wrote: Due to the magic of tapestry IOC, just inject the Request object into your implementation of PersistentFieldStrategy and you have access - no need to change/extend the PersistentFieldStrategy interface! Richard. Kalle Korhonen wrote: I'd like

Re: problems when using FormFragment in a loop

2009-01-15 Thread Kalle Korhonen
Please open an issue for it; otherwise these will get lost. Kalle On Thu, Jan 15, 2009 at 2:19 PM, Joachim Van der Auwera joac...@progs.bewrote: After two days of hunting, I have discovered a bug (or maybe better) limitation. If you try to use the FormFragment component inside a loop, then

Re: T5: Reading context before persistent fields are read

2009-01-15 Thread Kalle Korhonen
Hey Ted, I happened to run into the same exact problem you were having while trying to get my custom conversational PersistentFieldStrategy implemented. Did you manage the solve the problem (reading values from activation context before gathering persistent fields) in any satisfactory way? Kalle

Re: T5: Reading context before persistent fields are read

2009-01-16 Thread Kalle Korhonen
custom PersistentFieldStrategy. Now I have a generic in-page conversational scope working well enough with a support for multiple tabs, not bad for one day's worth of work. A testament to the extensibility of T5, props to Howard for that! Kalle On Thu, Jan 15, 2009 at 3:19 PM, Kalle Korhonen

Re: T5: Reading context before persistent fields are read

2009-01-16 Thread Kalle Korhonen
the persistent fields respectivley. I also used the LinkFactory and the LinkFactoryListener to add the conversation id transparently to every link. g, kris Kalle Korhonen kalle.o.korho...@gmail.com 16.01.2009 00:19 Bitte antworten an Tapestry users users@tapestry.apache.org An Tapestry users

Re: Transmitting a javascript-value to the server using JSON

2009-01-16 Thread Kalle Korhonen
What's the closest equivalent of T4's EventListener in T5? You can do ActionLink with zone and @OnEvent on the server, but what I loved about T4's EventListener was that you could hook an arbitrary Javascript call to a server side operation with one annotation. I have a case where I'd like to do

Re: Transmitting a javascript-value to the server using JSON

2009-01-17 Thread Kalle Korhonen
On Sat, Jan 17, 2009 at 6:55 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Sat, 17 Jan 2009 01:56:08 -0300, Kalle Korhonen kalle.o.korho...@gmail.com escreveu: ActionLink with zone and @OnEvent on the server, but what I loved about T4's EventListener was that you could

Re: Ajax polling using zone

2009-01-17 Thread Kalle Korhonen
Likely you got the problem solved already but since I had similar need, I'll reply here for others. The problem is that you are taking the wrong url from static html (probably looked different in the older versions) and you are basically sending /page# as an XHR (Firebug is your friend when it

Re: T5: T5 and EJB3

2009-01-17 Thread Kalle Korhonen
Hey Geoff, did anything come out of your jSecurity investigations? Did you run into any issues with it and do you have any other comments for/against using it with T5? Kalle On Thu, Apr 24, 2008 at 6:37 AM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: CG, Sorry, no max

Discard persistent field changes for one strategy only?

2009-01-18 Thread Kalle Korhonen
I would like to discard all changes for one strategy only. PersistentFieldManager always iterates over all strategies when calling discardChanges() and I don't see any (easy) way to decorate the PersistentFieldManager to allow it to discard selectively for some strategies only. Would it be

Re: Hibernate relations in BeanEditForm

2009-01-19 Thread Kalle Korhonen
This (representing entity relations) is one of the main features of Trails ( http://www.trailsframework.org/); Trails 2 for T5 is currently in development. Kalle On Mon, Jan 19, 2009 at 2:27 AM, Ulrich Stärk u...@spielviel.de wrote: Hi All, tapestry-hibernate in combination with the

Re: Discard persistent field changes for one strategy only?

2009-01-19 Thread Kalle Korhonen
address. maybe it helps. g, kris Kalle Korhonen kalle.o.korho...@gmail.com 19.01.2009 06:36 Bitte antworten an Tapestry users users@tapestry.apache.org An Tapestry users users@tapestry.apache.org Kopie Thema Discard persistent field changes for one strategy only? I would like

Re: Discard persistent field changes for one strategy only?

2009-01-19 Thread Kalle Korhonen
. Kalle Kalle Korhonen-2 wrote: Hey Kristian, thanks a lot for sending your project; it'll be interesting to compare the implementations. Yes, of course there's a million different ways of solving the problem but since the Tapestry architecture and services offer a lot of functionality

Re: Discard persistent field changes for one strategy only?

2009-01-20 Thread Kalle Korhonen
Opened https://issues.apache.org/jira/browse/TAP5-455. Kalle On Mon, Jan 19, 2009 at 11:11 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Mon, Jan 19, 2009 at 10:37 PM, Ville Virtanen ville.virta...@cerion.fi wrote: It sounds like an addition that would be good to have when

Re: dialog problem in the latest 4.1.1 snapshot

2006-11-15 Thread Kalle Korhonen
Jesse, you are already acting way faster than anybody's used to in an open source project. Your responsiveness and the short turnaround time for coming up with these fixes others are reporting continue to amaze me. Just thought some patting on the back would be in order so you wouldn't start

Re: dialog problem in the latest 4.1.1 snapshot

2006-11-15 Thread Kalle Korhonen
would put it with the maven2 developers. On 11/15/06, Kalle Korhonen [EMAIL PROTECTED] wrote: Jesse, you are already acting way faster than anybody's used to in an open source project. Your responsiveness and the short turnaround time for coming up with these fixes others are reporting continue

Re: Re: [newbie] Spring vs Hivemind

2006-11-22 Thread Kalle Korhonen
I think Sam put it pretty well. Cyrille, you should also read the other thread Tapernate access multiple database that touches the Hivemind/Spring subject. I often think the primary use scenarios of commons-logging and log4j are analogous to Hivemind and Spring. If you are building a library or

Re: Tapestry and Spring 2.0

2006-12-07 Thread Kalle Korhonen
We are using Spring 2.0 and Tapestry 4.0.2 together with Trails 1.0-SNAPSHOT. You can quote me on it :) 2.0 interfaces are pretty much the same as in 1.2.6. Context file schema has some minor changes and some test classes have changed. Overall, there should be no problem switching. Kalle On

Re: New Tapestry feature suggestion: EditForm generation

2007-01-14 Thread Kalle Korhonen
And hopefully nobody's re-inventing the wheel here because Trails has a pretty extensive support even for the not-so-simple cases. I know Howard that you and Chris Nelson have talked a bit, so I hope you take a look at the existing Trails code and steal/borrow from it or ask for changes before

Re: New Tapestry feature suggestion: EditForm generation

2007-01-14 Thread Kalle Korhonen
PROTECTED] wrote: Did you say you were waiting for a 4.1 release? Both 4.1 and 4.1.1 have officially been released already: http://tapestry.apache.org/download.html On 1/14/07, Kalle Korhonen [EMAIL PROTECTED] wrote: And hopefully nobody's re-inventing the wheel here because Trails has

Re: New Tapestry feature suggestion: EditForm generation

2007-01-15 Thread Kalle Korhonen
it come to fruition. On 1/14/07, Kalle Korhonen [EMAIL PROTECTED] wrote: And hopefully nobody's re-inventing the wheel here because Trails has a pretty extensive support even for the not-so-simple cases. I know Howard that you and Chris Nelson have talked a bit, so I hope you take a look

Re: Starting with Tapestry

2007-02-04 Thread Kalle Korhonen
I think you are just trolling, but I'll reply anyways. You miss the whole point of open source and the community behind it; it's not for you to just sit and wait for somebody to do the work for you for free, but for you to develop and maintain the framework further with others. Tapestry 4.1 will

  1   2   3   4   5   6   7   8   9   10   >