Re: [ANN] tapestry-profiler

2012-09-08 Thread Ben Dotte
Sep 8, 2012 at 3:48 AM, Massimo Lusetti wrote: > On Fri, Sep 7, 2012 at 11:52 PM, Ben Dotte wrote: > > > Hopefully this will be useful to others; we have not seen any noticeable > > overhead and we have used it frequently on large, busy production > instances > > to track d

[ANN] tapestry-profiler

2012-09-07 Thread Ben Dotte
Something we (at Widen) have found extremely useful is the ability to do some quick-and-dirty profiling of our production Tapestry applications when performance problems are actually happening. We wanted to make this tool available to multiple internal applications and decided to open-source it as

Tapestry Job Opening

2010-11-29 Thread Ben Dotte
cts in the works. Preferably candidates would be near or willing to relocate to the Madison, WI area. If you have questions feel free to shoot me an e-mail, but please send resumes to h...@widen.com Thanks! Ben Dotte Lead Developer Widen Enterprises, Inc. bdo...

Re: [Announce] RecurTrack.com Released

2010-09-30 Thread Ben Dotte
u, Sep 30, 2010 at 4:06 AM, Ben Dotte wrote: >> >>> Note this is a personal project, not related to my employer (Widen). >> >> That seems "huge" for a presonal project... BTW it seems nic

[Announce] RecurTrack.com Released

2010-09-29 Thread Ben Dotte
Hi Everyone, I'm pleased to announce the release of a new site built with Tapestry 5.2: RecurTrack.com This is a free budgeting and household tracking tool I've been building for the past 10 months. We did some fun things with zones and Howard's tapx-yui library to create a nice responsive UI and

Re: Tapestry Hibernate dependency

2010-05-24 Thread Ben Dotte
I had the same issue; I had to add a new Hibernate repository: hibernate https://repository.jboss.org/nexus/content/groups/public/ Using Hibernate Annotations I also had to add this for some reason: javax.persistence persistence-api

Re: Pretty Printing JSON

2010-05-21 Thread Ben Dotte
g T5 should do as it is known to be developer > friendly and aid in debugging whenever possible. > > It sounds good to enable this in non-production mode and disable in > production. > >  - Ville > > > Ben Dotte-2 wrote: >> >> I put up a post on pretty pr

Re: encountering Invalid length ... in LocalVariableTable error

2010-03-10 Thread Ben Dotte
Do you have multiple versions of javassist on your classpath? Take a look at this thread: http://old.nabble.com/-t5--upgrade-to-java-6-and-javassist-td25295834.html If you're trying to run on Google App Engine, take a look here: http://dmitrygusev.blogspot.com/2009/10/develope-java-applications-

Pretty Printing JSON

2010-02-23 Thread Ben Dotte
I put up a post on pretty printing the JSON that gets output on the bottom of the generated HTML by Tapestry: http://bdotte.blogspot.com/2010/02/pretty-printing-json-in-tapestry-5.html I'm not sure if there is any interest in having this functionality available in the actual Tapestry codebase; I

T5.2 on GAE post

2010-02-22 Thread Ben Dotte
I just put up a post talking about running Tapestry 5.2 on GAE: http://bdotte.blogspot.com/2010/02/running-tapestry-52-snapshot-on-google.html A lot of this has already been discussed on the list and other posts; I just went into a little more detail on modifying the batch and ant scripts provide

Re: Accessing the T5 IoC Registry

2009-10-07 Thread Ben Dotte
Here's a trick we use for this. We extend TapestryFilter and override init(Registry registry). Since this gets passed the created registry, we then store that in a static variable on our filter and provide a static getRegistry() method to retrieve it. This gets around the problem that TapestryFilte

Re: Autocompleter: value ignored when dismissing dropdown

2008-07-02 Thread Ben Dotte
Hi, Which version of Tapestry are you using? If you're referring to the Autocompleter from T4.x, I've already logged some bugs about these kinds of problems, which resulted in the Suggest component getting created: http://tapestry.apache.org/tapestry4.1/components/scriptaculous/suggest.html It t

Migration of T4 to T5

2008-06-05 Thread Ben Dotte
Hey, Sorry if I might have missed something for this already, but I was curious what is or will be out there to migrate a T4.1 app to T5. I know Jesse had mentioned he was planning to create an upgrade path from one of the T4 versions but I have not heard about any progress on this yet. We're run

Re: [t4] rendering DirectLink from Java code (renderer)

2008-03-18 Thread Ben Dotte
arameter. On Tue, Mar 18, 2008 at 11:16 AM, Petri Wessman <[EMAIL PROTECTED]> wrote: > Ben Dotte wrote: > > Hi Petri, > > > > To generate a DirectLink href programmatically, you'll need a class > > that implements IDirect. In the trigger() method on that, y

Re: [t4] rendering DirectLink from Java code (renderer)

2008-03-18 Thread Ben Dotte
Hi Petri, To generate a DirectLink href programmatically, you'll need a class that implements IDirect. In the trigger() method on that, you can call the intended listener. Refer to an instance of the class implementing IDirect for the first parameter of DirectServiceParameter, set the Direct engin

Re: [T4.1.5] Strange page within page rendering with only particular errors

2008-02-21 Thread Ben Dotte
http://issues.apache.org/jira/browse/TAPESTRY-1690 On Thu, Feb 21, 2008 at 11:43 AM, Anna Vo <[EMAIL PROTECTED]> wrote: > This is more of an irritation than a major issue, but I am curious to > know why it occurs. > > To reproduce, delete a script file that a page calls and forget to > remove t

Re: T4.1.3 - Upgrade Dojo

2007-12-17 Thread Ben Dotte
Ditto to that. An upgrade to Tapestry 5 still looks a ways off and the continued support of Tapestry 4 is extremely valuable to us. Thanks guys! On Dec 16, 2007 1:34 PM, Martino Piccinato <[EMAIL PROTECTED]> wrote: > +1 tnx to Jesse and Andreas. > > I think this work is important for T4 users but

Re: How to get handle to the HiveMind Registry?

2007-08-17 Thread Ben Dotte
Hi Michael, Take a look at this post: http://article.gmane.org/gmane.comp.java.tapestry.user/38716/ Hopefully that solution will work for you. Ben On 8/17/07, Michael Waluk <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to use the HiveMind Registry created by Tapestry to expose plain > old serv

Re: [T4] Event for every request to clear data

2007-08-03 Thread Ben Dotte
Ok, yeah actually Tapestry's ApplicationServlet takes care of the HiveMind filter so nevermind that part: http://tapestry.apache.org/tapestry4.1/usersguide/hivemind.html#Bootstrapping%20the%20Registry On 8/3/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > Yes, a threaded service is cre

Re: [T4] Event for every request to clear data

2007-08-03 Thread Ben Dotte
request with HiveMind's servlet filter and the Discardable interface if needed. On 8/3/07, Christian Haselbach <[EMAIL PROTECTED]> wrote: > On Thu, Aug 02, 2007 at 10:12:14AM -0500, Ben Dotte wrote: > > Is there any reason you can't use a threaded HiveMind service? That is &

Re: [T4] Event for every request to clear data

2007-08-02 Thread Ben Dotte
Hi Christian, Is there any reason you can't use a threaded HiveMind service? That is usually the approach I take when I have a shared resource that should only live for the duration of a request. Ben On 8/2/07, Christian Haselbach <[EMAIL PROTECTED]> wrote: > Hello, > > currently, we have a bean

Re: T4 XHR under JDK 1.4.2

2007-07-27 Thread Ben Dotte
Hi Bill, We implemented a fair bit of ajax using the XTile component before EventListener came about and it proved very usable (we still use it heavily on one component): http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/xtile.html It may be a little more work than Event

Re: [T4] Gerenating Response -- Component

2007-07-27 Thread Ben Dotte
Hi Daniel, You might want to take a look at the wiki for some suggestions about sending HTML e-mail generated by Tapestry: http://wiki.apache.org/tapestry/SendingHtmlEmailWithTap To be honest we have abandoned this approach due to the complexity involved and now use FreeMarker for that. Ben On

Re: Page render after the rewind

2007-07-24 Thread Ben Dotte
Do all of your pages extend from a common base page of your own? In the base page you could set a transient page property during rewind indicating a rewind had occurred, then check that again during render. Something like this: public abstract boolean isFromRewind(); public abstract void setFromR

RE: Passing a parameter in OGNL?

2007-07-11 Thread Ben Dotte
Just pass it in with parentheses like in Java: ognl:myMethod(myArg) If the method is a getter/setter make sure to use the full method name instead of the usual shortened version: ognl:setProperty(property) Ben -Original Message- From: Mark Stang [mailto:[EMAIL PROTECTED] Sent: Wednesd

RE: Order in which ognl expressions are evaluated

2007-06-14 Thread Ben Dotte
Does SomeComponent implement PageBeginRenderListener by any chance? I know we've run across that exact situation where the component couldn't possibly render within the conditional but since pageBeginRender() gets called before the page renders, it gets called on all components on the page regardle

RE: Injecting RequestGlobals

2007-05-16 Thread Ben Dotte
Hi Chris, I believe you can just do this: public abstract RequestGlobals getRequestGlobals(); We've been on annotations exclusively for a while so hopefully my memory is right about that.. Ben -Original Message- From: Chris Chiappone [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-08 Thread Ben Dotte
urce > resolution done globally work whether people stick things in the classpath / > context / mixture of the two. > > On 5/7/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > > > > Fair enough, it has to do with the way we handle client-specific > > functionality. Eclips

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-07 Thread Ben Dotte
Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 5:10 PM To: Tapestry users Subject: Re: 4.1.2 snapshot changes 4-20 to 4-30 RightI get that it's looking in the classpath first - but why is that a problem ? On 5/7/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > >

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-07 Thread Ben Dotte
s you like. Spec resolution logic has changed so it makes sense that there are side effects. What is the exact problem (expected vs. actual) happening now? I know generally what you mean but properties get resolved by a completely different service so the patterns are different. On 5/7/07, Ben

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-07 Thread Ben Dotte
it used to look on the context first (specifically for us this would also be WEB-INF/app). Would it be possible to change this back to look at the context first like it used to? Sorry to bother with this yet again! Thanks, Ben -Original Message- From: Ben Dotte [mailto:[EMAIL PROTECTED

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-03 Thread Ben Dotte
I think its finally working! Thanks!! -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 3:18 PM To: Tapestry users Subject: Re: 4.1.2 snapshot changes 4-20 to 4-30 OkIt's deploying now. On 5/3/07, Ben Dotte <[EMAIL PROTECTED

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-03 Thread Ben Dotte
t make sense to take the perf hit on resolving them for that. I'm not nearly done with these changes though ..Need to re-factor things so that only one service/object has knowledge of all the various places to search / how / etc.. On 5/3/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > &

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-03 Thread Ben Dotte
ath relative to component class -) relative to context root -) relative to context + WEB-INF root -) relative to context + WEB-INF + app name root Jar should be deployed by the time you read this email. On 5/3/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > > Yes, so an example would be WE

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-03 Thread Ben Dotte
ow does the "app" part come in? Is there literally a directory called "app" where you have stuff, and if so is your .application file there as well? On 5/3/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > > The issue where component templates cannot be found in WEB-INF/app

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-03 Thread Ben Dotte
5/3/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > > It appears this is still a problem, even with the newest snapshot > (tapestry-framework-4.1.2-20070503.050340-66.jar) > > -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered aroun

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-03 Thread Ben Dotte
It appears this is still a problem, even with the newest snapshot (tapestry-framework-4.1.2-20070503.050340-66.jar) -Original Message- From: Ben Dotte [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 2:50 PM To: Tapestry users Subject: RE: 4.1.2 snapshot changes 4-20 to 4-30 Ok

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-02 Thread Ben Dotte
Ok, looks like Marcus ran into the same problem: https://issues.apache.org/jira/browse/TAPESTRY-1396 On a separate note I see OGNL Jira is sending out e-mails now.. awesome. -Original Message- From: Ben Dotte [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 1:55 PM To: Tapestry

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-02 Thread Ben Dotte
I'll look in to this later today, but to be sure I'm not mis-interpreting A good example would be having a page with no spec + the html template just being under the web-inf folder right ? On 5/2/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > > It looks like the newest snapshot

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-02 Thread Ben Dotte
setup to work right now. If I comment out that if statement everything works fine again and the templates on WEB-INF/app are found. So, is this an intentional change, or should it be able to find templates in WEB-INF/app for specless apps? Thanks, Ben -Original Message- From: Ben Dotte [mail

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-01 Thread Ben Dotte
how annoying it was being blocked by all of those compilation errors, so at the very least you've earned having any problems you run into take higher priority than normal. Thanks! :) On 5/1/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > > Thanks for looking into it so quickly..

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-01 Thread Ben Dotte
o have > > a clean example demonstrating this and register a JIRA. > > > > For now, try using: > > > > > > org.apache.tapestry > > tapestry-framework > > 4.1.2-20070424.205219-56 > > > >

RE: 4.1.2 snapshot changes 4-20 to 4-30

2007-05-01 Thread Ben Dotte
your string it will work correctly. (though I intended for it to work without them, so it's a bug if it isn't working) On 5/1/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > > Were there some sort of fundamental changes that happened between the > Tapestry 4.1.2 4-20 snapshot

4.1.2 snapshot changes 4-20 to 4-30

2007-05-01 Thread Ben Dotte
Were there some sort of fundamental changes that happened between the Tapestry 4.1.2 4-20 snapshot and the one from 4-30? I tried upgrading to 4-30 and I just seem to hit one error after another. The first problem is an EventListener that used to work fine: @EventListener(targets="sessionData", ev

New OGNL snapshot?

2007-04-30 Thread Ben Dotte
Jesse - you fixed some ognl bugs on 4-28 but I don't see a new snapshot. Any chance you could push one out so we can test the fixes? Thanks! Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Couple OGNL 2.7 questions

2007-04-25 Thread Ben Dotte
e a good thing. Here I was adding comments and thinking people were ignoring me and it was really just the system not sending emails the whole time. :) I'll poke around and see if this is an option on that jira instance. On 4/25/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > > We'

Couple OGNL 2.7 questions

2007-04-25 Thread Ben Dotte
We've been working with the latest 4.1.2 snapshots and OGNL 2.7 snapshots for about a week now and things seem to be working a lot better than they were. There are still plenty of places where OGNL is broken but thankfully the failsafe feature seems to handle most of these situations. I have a coup

RE: Invoke a page listener from a component template

2007-04-18 Thread Ben Dotte
Sorry, I meant ognl:page.listeners.doClick -Original Message- From: Ben Dotte [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 5:28 PM To: Tapestry users Subject: RE: Invoke a page listener from a component template Hi Markus, Is there any reason you can't inject the ASO

RE: Invoke a page listener from a component template

2007-04-18 Thread Ben Dotte
Hi Markus, Is there any reason you can't inject the ASO into your component class? @InjectState("nameofASO") public abstract MyASO getMyASO(); Otherwise if you really want to access the listener on the page I wonder if listener:page.listeners.doClick would work instead. HTH Ben -Original

RE: Accessing the text input of an AutoCompleter with forceValidOption=false

2007-04-16 Thread Ben Dotte
: Accessing the text input of an AutoCompleter with forceValidOption=false I didn't see the tacos autocompeleter as a component in the Tacos 4.1.0 SNAPSHOT. Is it included? On 4/16/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > We too have had a lot of problems with the dojo-based Autocompl

RE: Accessing the text input of an AutoCompleter with forceValidOption=false

2007-04-16 Thread Ben Dotte
We too have had a lot of problems with the dojo-based Autocompleter that have led us to use the one from Tacos whenever possible. http://article.gmane.org/gmane.comp.java.tapestry.user/45240/ http://issues.apache.org/jira/browse/TAPESTRY-1244 Ben -Original Message- From: Chris Chiappone

RE: [announce] ognl 2.7 fail-safe enabled

2007-04-05 Thread Ben Dotte
I'm close to being able to upgrade but this one is a real blocker for us: http://jira.opensymphony.com/browse/OGNL-35 Even with the fail-safe this is a problem because it ends up evaluating things it isn't supposed to (which causes our code to throw exceptions). Ben -Original Message- F

T5 Calendars

2007-04-04 Thread Ben Dotte
I saw there are plans to get jscalendar working in T5 and that a separate project was already created to do so but I was curious if there are any plans to port the current dojo-based DropdownDatePicker or the original Tapestry DatePicker to T5. The reason I ask is we had several problems with jscal

RE: T4.1.1: injecting service into page/component

2007-04-03 Thread Ben Dotte
This should do the trick @InjectObject("engine-service:page") public abstract IEngineService getPageService(); Ben -Original Message- From: Wojtek Ciesielski [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 11:18 AM To: Tapestry users Subject: T4.1.1: injecting service into page/

RE: Latest OGNL 2.7-SNAPSHOT and Tapestry

2007-03-30 Thread Ben Dotte
all manner of problems that are easily solved..Refactoring in bytecode enhancements is a non trivial thing...bleh.. On 3/28/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > I would have to agree that until OGNL 2.7 is much more stable, the new > Tapestry snapshots are pretty useless to us. Jesse ha

RE: Latest OGNL 2.7-SNAPSHOT and Tapestry

2007-03-28 Thread Ben Dotte
I would have to agree that until OGNL 2.7 is much more stable, the new Tapestry snapshots are pretty useless to us. Jesse has been kind enough to fix several bugs I have found in record time (thanks Jesse!) but we're still at a point where most of our pages don't work at all yet. For now I have a s

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
AND errors Any chance you could do me a favor and file them in http://jira.opensymphony.com/browse/OGNL ? (it'll make it easier than filtering through mailing list emails ) On 3/26/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > Excellent, again I really appreciate it. > > While yo

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
Monday, March 26, 2007 1:09 PM To: Tapestry users Subject: Re: OGNL AND errors Yep.but this is probably still a bug...I'll get it tonight. On 3/26/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > Ok, actually the concrete listSource implementation in this case does > extend ArrayList i

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
Ok, actually the concrete listSource implementation in this case does extend ArrayList in addition to implementing the ListSource interface--that's got to be where this is coming from. -Original Message- From: Ben Dotte [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 12:10

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
hnert [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 12:05 PM To: Tapestry users Subject: Re: OGNL AND errors Aha..So what kind of interfaces does your listSource implement? On 3/26/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > Aha! "count" is a parameter, it is what is b

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
e().getTotal() (and it worked this way in 2.6). -Original Message- From: Ben Dotte [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 11:16 AM To: Tapestry users Subject: RE: OGNL AND errors I upgraded javassist to 3.4.ga so it should be the same version. I just verified that is the one on the

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
n think of with no failure. ...So I'm either not correctly re-creating the exact object structure you have or we are on different version of javassist. ..It should be 3.4ga (something like that) On 3/26/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > I got the latest OGNL snapshot f

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
IL PROTECTED] Sent: Friday, March 23, 2007 2:44 PM To: Tapestry users Subject: Re: OGNL AND errors Fix should be finished deploying in the next few minutes. On 3/23/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > Excellent thanks, that seems to have fixed the AND issue. Here's one

RE: OGNL AND errors

2007-03-23 Thread Ben Dotte
: Tapestry users Subject: Re: OGNL AND errors Fix should be finished deploying in the next few minutes. On 3/23/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > Excellent thanks, that seems to have fixed the AND issue. Here's one > that still isn't working: > > > > @P

RE: OGNL AND errors

2007-03-23 Thread Ben Dotte
se I discovered a critical section of code that hadn't had the same kind of refactoring that others had gone through recently..If similar new bugs come up they should be quicker to fix now. On 3/23/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > Awesome, I really appreciate it. The simpl

RE: OGNL AND errors

2007-03-23 Thread Ben Dotte
PROTECTED] Sent: Friday, March 23, 2007 10:16 AM To: Tapestry users Subject: Re: OGNL AND errors Well I'm going in to fix one other tiny bug this morning, so I'll see if what you wrote is enough to re-produce it. On 3/23/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > I tried

RE: OGNL AND errors

2007-03-23 Thread Ben Dotte
d try that first. On 3/23/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > I recently tried updating from a Tapestry 4.1.2 snapshot a couple months > old to one from 3-21. Along the way I had to incorporate the new 2.7 > OGNL snapshot from 3-18. I'm seeing multiple expressions on e

OGNL AND errors

2007-03-23 Thread Ben Dotte
I recently tried updating from a Tapestry 4.1.2 snapshot a couple months old to one from 3-21. Along the way I had to incorporate the new 2.7 OGNL snapshot from 3-18. I'm seeing multiple expressions on each page that no longer work. So far they have all involved AND expressions. Here are some examp

RE: Trying to use StateObjectFactory...

2007-03-05 Thread Ben Dotte
Hi Alexander, The way I have done this is to make the factory a service as well. HTH Ben -Original Message- From: Kolesnikov, Alexander GNI [mailto:[EMAIL PROTECTED] Sent: Monday, March 05, 2007 6:34 AM To: Tap

RE: @Insert default mode

2007-02-14 Thread Ben Dotte
ng of "InsertText", not "Insert". Having a mode of break by default on that component would break everyone using @Insert previously. (or am I losing my mind? ) On 2/12/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > Thanks but we try to avoid overriding Tapestry classes whenever poss

RE: @Insert default mode

2007-02-12 Thread Ben Dotte
From: Norbert Sándor [mailto:[EMAIL PROTECTED] Sent: Monday, February 12, 2007 3:40 PM To: Tapestry users Subject: Re: @Insert default mode Maybe override the Insert component in the .application file with your custom one. N. Ben Dotte írta: > Does anyone know if there is a way to specify a d

@Insert default mode

2007-02-12 Thread Ben Dotte
Does anyone know if there is a way to specify a default mode for the Insert component? When we upgraded to Tapestry 4.1 we ended up having to specify InsertMode.BREAK every place we use it but that ends up looking pretty ugly in the many places we use Insert (mode="ognl:@[EMAIL PROTECTED]"). It

RE: Migration to Tap4, accessing the hivemind registry without injection

2007-02-09 Thread Ben Dotte
going to try, I find it a bit of hack. And I find strange that there is no access to the registry. Thanks Numa Le 9 févr. 07 à 20:24, Ben Dotte a écrit : > I'm not sure if there is a more straightforward way, but one way is > to store the servlet into the request and then pull out

RE: Migration to Tap4, accessing the hivemind registry without injection

2007-02-09 Thread Ben Dotte
I'm not sure if there is a more straightforward way, but one way is to store the servlet into the request and then pull out the ServletContext from that. So make a subclass of org.apache.tapestry.ApplicationServlet: public class MyApplicationServlet extends ApplicationServlet { protected

RE: Autocompleter Validation Issues

2007-01-31 Thread Ben Dotte
some 4.1.0-SNAPSHOTS (and would hapilly accept contributions). Here's the url: http://tacos.sourceforge.net/tacos4.1/tacos-core/ Ben Dotte wrote: > Thanks for the suggestion and the background information on the > autocompleter. I guess the behavior makes sense on some levels but there

RE: Autocompleter Validation Issues

2007-01-31 Thread Ben Dotte
it auto-reverts to the initial value, if it can't match the current one. And this is by design. Now, the options to select from are returned by that IAutocompleteModel.getValues(String) method What i did, was having that method also return the passed in string, so that it's also avai

Autocompleter Validation Issues

2007-01-31 Thread Ben Dotte
Since we switched to Tapestry 4.1 we replaced our Tacos autocompleters with the new dojo-based one but it seems to have some pretty serious validation problems. Let's say I have an autocompleter with a required validator and an existing value. I type a bunch of characters into the field without pic

RE: Submit form and bypass validation

2007-01-16 Thread Ben Dotte
You can also use Form's "refresh" listener to bypass client-side validation. Note that calling clearErrors() on the validation delegate can have undesired consequences: http://issues.apache.org/jira/browse/TAPESTRY-867 Ben -Original Message- From: Patrick Klein [mailto:[EMAIL PROTECTED]

RE: Re: how to retrieve an Application State Object (ASO) with an application scope from the ServletContext ?

2007-01-04 Thread Ben Dotte
ibute("org.apache.tapestry.Registry:app"); returns null. D. 2007/1/4, James Carman <[EMAIL PROTECTED]>: > I don't think that'll work. The ApplicationStateManager needs a > reference to the current web request (eventually the session). > > > On 1/4/07, Ben Dotte <[EMAI

RE: how to retrieve an Application State Object (ASO) with an application scope from the ServletContext ?

2007-01-04 Thread Ben Dotte
Hi, You could do something like this: ((ApplicationStateManager) ((Registry) context.getAttribute("org.apache.tapestry.Registry:app")).getService(App licationStateManager.class)).get("myStateObject"); Where "myStateObject" is the name of your ASO. HTH Ben -Original Message- From: Tape

RE: Tapestry 4.1.1 dojo issue

2006-12-11 Thread Ben Dotte
r it appropriately for widgets > > being resolved. > > > > I'm not sure what path issues you've had based on your message (maybe > > I just missed that part), but more elaboration might help me provide a > > better answer. > > > > The Palette comp

Tapestry 4.1.1 dojo issue

2006-12-08 Thread Ben Dotte
Hi, We recently upgraded to 4.1.1 from 4.0.2 and are still having some issues with dojo-related stuff. Right now, we are on the snapshot build from 12-4. One thing I can't figure out is where the path for this is getting generated in the rendered html: dojo.registerModulePath("tapestry", "/

RE: direct link question

2006-11-01 Thread Ben Dotte
Or if you want to do it in the DirectLink's listener you could do: throw new RedirectException("theURL") -Original Message- From: Paul Cooley [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 8:47 AM To: Tapestry users Subject: Re: direct link question Can you use a http://ta

RE: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Ben Dotte
to programatically configure. Also I will be doing some background processing on behalf of a user so I will need to have a session object for that case as well. In neither case do I have a HttpRequest -Pat On 9/26/06, Ben Dotte <[EMAIL PROTECTED]> wrote: > > I hope that w

RE: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Ben Dotte
I hope that works for you, unfortunately I'm out of ideas on this one. I'm not sure what you're trying to do makes sense, if I understand this correctly. It sounds like you are trying to directly access a session-scoped ASO as your eager-loaded service gets created, correct? The problem is you aren

RE: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Ben Dotte
Hi Pat, We ran into a similar situation and found a workable (but not pretty) solution. First, you need to contribute to the ApplicationInitializers contribution point as described in this thread: http://article.gmane.org/gmane.comp.java.tapestry.user/33013 But in this case you'll want to make

RE: How do I intercept an org.apache.hivemind.ApplicationRuntimeException?

2006-09-21 Thread Ben Dotte
This thread might be a little help: http://article.gmane.org/gmane.comp.java.tapestry.user/29684 I've never found a way to override the "ugly" error page, I believe the exception is thrown by commons fileupload, not Tapestry. So I just set MultipartDecoderImpl's maxSize to "-1" and validate the fi

RE: Overriding the maximum file upload size

2006-07-27 Thread Ben Dotte
Unless something has changed recently, the limit is 10MB, not 10KB. Try it for yourself. I'm a little surprised the override in hivemodule.xml isn't working for you. We have had that line in for some time and haven't had any trouble with it. I just uploaded a 25MB image to make sure. We are also o

RE: Why I hate mailing lists

2006-07-07 Thread Ben Dotte
There is an archive going back to 2002 and a search feature here: http://dir.gmane.org/gmane.comp.java.tapestry.user Ben -Original Message- From: Epstein, Ezra [mailto:[EMAIL PROTECTED] Sent: Friday, July 07, 2006 2:20 PM To: Tapestry users Subject: Why I hate mailing lists So I wanted

RE: Mulitple annotations on a property

2006-07-07 Thread Ben Dotte
Hi Stephane, It is legal to have more than one annotation on a single property/method. But component parameters cannot be persisted on the component. You will need to persist the property on the page using the component, then pass that into the component. Ben -Original Message- From:

RE: [OT] Tapernate and Optimistic Locking

2006-06-23 Thread Ben Dotte
e allows you to use detached objects and still enforce optimistic locking. You have to use @Persist("reattach-merge") so that Tapernate will try to merge() your object. If the object stored in the session has the old version number, you'll get the exception. -----Original Messag

[OT] Tapernate and Optimistic Locking

2006-06-19 Thread Ben Dotte
Our Tapestry application is using Tapernate-like behavior to load persisted objects in automatically at the beginning of each request and now I've been asked to look into changing our database locking strategy from pessimistic to optimistic. I've tried versioning the objects as is suggested for Hib

RE: Preferred method to search Tapestry mailing list history

2006-06-07 Thread Ben Dotte
Try here: http://dir.gmane.org/gmane.comp.java.tapestry.user Ben -Original Message- From: Aaron Bartell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 8:11 AM To: Tapestry users Subject: Preferred method to search Tapestry mailing list history In the past I have used http://ww