Re: T5: a strategy for a multi-page/multi-form wizard

2007-08-17 Thread Chris Lewis
"The activate event handler may also return a value, which is treated identically to a return value of an action request event trigger. This will typically be used in an access validation scenario." Missed that little gem ;-). Thanks Nick Westgate (Work) wrote: Read the docs for onActivate().

Re: T5: a strategy for a multi-page/multi-form wizard

2007-08-17 Thread Nick Westgate (Work)
Read the docs for onActivate(). Cheers, Nick. Chris Lewis-5 wrote: > > Hello, > > I'm redeveloping an application in T5 that will have several wizard-like > form sequences. Basically a few forms on a few pages that must be > followed in order, with the ability to revisit/jump around in ste

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

T4.1.2 BrowserEvent doesn't contain position in IE

2007-08-17 Thread Daniel Kleine-Albers
Hi all, The problem I'm experiencing only occurs in IE (6 and 7), Firefox is working fine. It seems that the position information in BrowserEvent is not populated when using IE. I have an EventListener attached to a DIV element like this: @EventListener(targets="createLinkLayer", events="o

Re: T5: real huge application with T5?!

2007-08-17 Thread Jonathan Glanz
Matt, we've been doing some load testing for a t5 app that will like have that type of traffic 10 fold and from the early analysis I could run a site like you're describing from my laptop. This is a dead solid platform from what we're seeing Jon Sent via BlackBerry by AT&T -Original Me

Re: real huge application with T5?!

2007-08-17 Thread Michael Grundvig
I don't have a T5 example with that many uniques but I can say that 10,000 uniques really isn't a big deal and you should have no trouble at all supporting it. Tapestry seems quite fast overall. The bigger problem is you need to be careful with is how you design your app. PHP developers have a

T5: real huge application with T5?!

2007-08-17 Thread matt22
Hi everyone, Is it possible to use T5 or previous tapestry for project with about 10,000 unique/day? I have been working in php a few years but last 5 years i work with java(jsp/struts/tapestry), i need to create some huge projects with visiting about 5-10-15,000 unique/day, i would like to write

How to get handle to the HiveMind Registry?

2007-08-17 Thread Michael Waluk
Hi, I'd like to use the HiveMind Registry created by Tapestry to expose plain old services (not just IEngineServices) to objects (a servlet) outside of Tapestry. Where can I get a handle to it? I'm using Tapestry 4.1.1 and HivemMind 1.1.1. I like the idea of https://springmodules.dev.java.net/d

ValidationDelete Error Message Display and locale (!) translation

2007-08-17 Thread ipoese
Hi Folks, for all those who cannot make much sense of my subject - sorry. I didn't know any better way of putting it, really. So, after i got validation working and figured out how to use the DelegationValidatior to display the Errors next to my input fields - here's the next... challenge :) D

Re: RE : Re: T5: date picker component

2007-08-17 Thread Marcelo lotif
Ted, do you have any example of your DatePicker inside a BeanEditForm? i'm trying to do it but i got this error 15:56:37.015 ERROR! [SocketListener0-1] org.apache.tapestry.internal.services.TemplateParserImpl.insideBody( TemplateParserImpl.java:313) >67> Content inside a Tapestry body element is n

T5: Tapestry message localization, java.util.Formatter vs. java.text.MessageFormat

2007-08-17 Thread Doug Hauge
Is there some reason Tapestry chose to use 'java.util.Formatter' style formatting as opposed to 'java.text.MessageFormat' style? The latter seems preferable for localization, primarily because it has the 'choice' format type. We would like to use the 'java.text.MessageFormat' style for our applicat

Re: T5 Validator

2007-08-17 Thread Chris Lewis
Another option is to provide and explicit banner parameter to the error component. You may not like having to set it explicitly, but I personally prefer doing that to overriding the prop file found on the class path (fyi, adding a 'default-banner' message to the application catalog doesn't work

T5: a strategy for a multi-page/multi-form wizard

2007-08-17 Thread Chris Lewis
Hello, I'm redeveloping an application in T5 that will have several wizard-like form sequences. Basically a few forms on a few pages that must be followed in order, with the ability to revisit/jump around in steps already completed. A wizard should prevent steps (pages) from being accessed ou

Re: T5: Changing locale within OnActivate event

2007-08-17 Thread Jesse Kuhnert
If you build a "shadow service" or similar sort of infrastructure related thing you can always intercept the call before pages are resolved / loaded / etc if you know ahead of time that you are going to want to change the locale in some way. (ie if it's architecture / infrastructure related and no

RE: T5: Changing locale within OnActivate event

2007-08-17 Thread Doug Hauge
I was afraid that would be the answer (I couldn't see any other way after looking at the code). I was wanting to avoid having to add duplicate redirection logic to each page, but I'll give it a try and see how it works. Thanks for the response. Doug > -Original Message- > From: Jesse Kuhn

Re: [T5] BeanEditForm CSS suggestion

2007-08-17 Thread Chris Lewis
Alexander, You can use CSS2 attribute selectors to match only submit input types. Try this: div.t-beaneditor-row input[type="submit"] { font-size: 20px; } This will match only input elements of type submit. chris Kolesnikov, Alexander GNI wrote: I wonder if it would make sense to use a dif

Re: [T5] instantiate a component on the fly

2007-08-17 Thread David Avenante
Yes but in an Ajax point of view I think you can't use this approach in my humble point of view. In an Ajax way for me the good approach is to have a component call like ComponentSubstitution who encapsulate and permit to generate an Ajax return whit html node substitution. With T5 it's very easy

[T4] update documentation to reflect client:page and client:app state scopes

2007-08-17 Thread Ulrich Stärk
Hi, could someone please update the docs for 4.0 and 4.1 to document the client:app and client:page scopes introduced in July 2005? Maybe just copy over the desciption from hibernate.persist.xml. Cheers, Uli - To unsubscribe,

Re: T5 Best way to alter core components?

2007-08-17 Thread Daniel Jue
Wow Robert, I was totally going in the wrong direction on that one! I had some confusion on how the Conduits worked, and I had thought the BeanModel* was doing more reflection deeper in the code. The code you wrote works great! I am now using maps back my Grid! I haven't yet implemented a way to

RE: [T5] instantiate a component on the fly

2007-08-17 Thread Mark Stang
In the past, and I haven't heard anything from Howard to make me think differently, this was not possible. Howard's view has been that there is no need to create a component on the fly. Instead the standard procedure is to embed it in a page and hide it until needed. hth. Mark J. Stang Softwa

Re: [T5] instantiate a component on the fly

2007-08-17 Thread David Avenante
Hum I not sure. My component is not define in class and is not define in the template => It's a really a NEW component. So as I can see there is a possibility with PageElementFactory.newComponentElement() that I can inject in my page. But there is too many parameters. I hope Tapestry give me

[T5] BeanEditForm CSS suggestion

2007-08-17 Thread Kolesnikov, Alexander GNI
I wonder if it would make sense to use a different CSS class for the DIV that contains the Submit button in BeanEditForm (not t-beaneditor-row)? I am trying to tweak the button using div.t-beaneditor-row input style, but whatever I do with it, the same applies to all the other elements in the fo

Re: [T5] instantiate a component on the fly

2007-08-17 Thread Robert Zeigler
Best bet here is probably to put your component into a block, then render the block (or else grab the component from the block and render the component). Check out the "delegate" component, for example. Robert On Aug 17, 2007, at 8/179:26 AM , David Avenante wrote: Hi, I'm very disappoint

[T5] instantiate a component on the fly

2007-08-17 Thread David Avenante
Hi, I'm very disappointed. After some investigation it seem it's not possible to instantiate a component in a page on the fly in T5. I have a page and his template, my component is not defined on the template but on a specific event, I want to create and instantiate this component. I need someth

Re: Render a Component in an other Component class

2007-08-17 Thread David Avenante
I post the same question without response ;) But I share my investigation with you. 1 - After first quick investigation I found a class responsible of this instantiation : ComponentClassTransformer but with more investigation the call to instanciate a component is Component target = componentCla

Render a Component in an other Component class

2007-08-17 Thread Max Scheffler
Hello, How is it posible to render a tapestry-component in a(n other) component-class and get the output? For example I want to response the rendered tapestry-component HTML to add it per JavaScript. - To unsubscribe, e-mail

Re: Jessionid and static resources

2007-08-17 Thread Jesse Kuhnert
Yep, the only thing blocking it now is the willpower to do it. We were on our own little sprint for the stuff I'm working on for "the man" - but I think I should have time to attack it next week. On 8/16/07, Kevin Menard <[EMAIL PROTECTED]> wrote: > Awesome. Thanks. > > Now if I just could get

Re: [Announce] Acegi Security library for Tapestry 5

2007-08-17 Thread Robin Helgelin
On 8/17/07, Kheldar666 <[EMAIL PROTECTED]> wrote: > > For the SecurityContextHolder I went a little too fast... You don't need to > use WebContextApplication : Ok, good, I'll add it to the next release. > For the loggout service, if the purpose is to use only the LogoutService... > What's the us