Re: Session and application scope

2007-10-23 Thread Peter Stavrinides
How can i instanciate an Application Object? @ApplicationState private MyObject objectName_; how i use a request @Inject private RequestGlobals requestGlobals_; Then you have access to the Servlet API with things like: HttpServletRequest request = requestGlobals.getHTTPServletRequest(); Gi

Is there any change in 5.0.6 address resolution???

2007-10-23 Thread Eko S.W.
Dear All, I am sorry, but is there any change in 5.0.6 address resolution? Because all my asset can not be shown? Here is my 5.0.5 asset address resolution : /* images */ @Inject @Path("classpath:crms/images/openresearch.ico") private Asset _openResearchIcon; What is it like in 5.0.6

Re: Tapestry 5 Roadmap

2007-10-23 Thread Alex Shneyderman
On 10/23/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Let me repeat ... I have seven years of experience (in Tapestry) on how NOT > to be backwards compatible. T5 is all about ensuring future backwards > compatibility without compromising the ability to enhance the framework > going forward.

Re: T5.07 SNAPSHOT! Where is the Inject Annotation??

2007-10-23 Thread lasitha
https://issues.apache.org/jira/browse/TAPESTRY-1800 Its a good idea to keep an eye on jira or the developer mailing list for some forewarning of such chanages :). On 10/24/07, Donyee <[EMAIL PROTECTED]> wrote: > I tried the t5.07 snapshot today, the Inject Annotation is not found in the > src. >

Re: T5.07 SNAPSHOT! Where is the Inject Annotation??

2007-10-23 Thread Josh Canfield
I had a similar "discovery". It appears to have been replaced by org.apache.tapestry.ioc.annotations.Inject. http://tapestry.formos.com/nightly/tapestry5/apidocs/org/apache/tapestry/ioc/annotations/Inject.html I just chalked it up to the refactoring that you have to live with when playing with al

T5: customize the Grid component

2007-10-23 Thread Ken
Hi, Sorry for my newbie question and bad English. I used the component 'Grid' and succeeded to display DB-stored-data to the browser (thanks to committers). Now, I want to give hyper links to some columns. 1. does 'Grid' has this function? 2. or maybe 'Grid*' components are useful? 3. or I have

T5.07 SNAPSHOT! Where is the Inject Annotation??

2007-10-23 Thread Donyee
I tried the t5.07 snapshot today, the Inject Annotation is not found in the src. the doc is not mentioned, Is there anything new? 徐 依伟

Re: T4.1.3 : 100% CPU usage on tomcat due to server-side email validation

2007-10-23 Thread andyhot
thx for all - i'll see if i can have the test do performance check, and commit asap Ulrich Stärk wrote: I Just created a JIRA report and a fix for that problem. https://issues.apache.org/jira/browse/TAPESTRY-1857 Uli Ulrich Stärk schrieb: I just came to the same conclusion. The problem is with

Re: T4.1.3 : 100% CPU usage on tomcat due to server-side email validation

2007-10-23 Thread Ulrich Stärk
I Just created a JIRA report and a fix for that problem. https://issues.apache.org/jira/browse/TAPESTRY-1857 Uli Ulrich Stärk schrieb: I just came to the same conclusion. The problem is with the ([-_\\.]*[A-Za-z0-9]+)* part of the regexp in the user as well as the domain part. Apart from that

Re: T4.1.3 : 100% CPU usage on tomcat due to server-side email validation

2007-10-23 Thread Ulrich Stärk
I now remember where I saw that one before. Jeffrey Friedl included it in "Mastering Regular Expressions". In print! :) Uli andyhot schrieb: hmmm - nice report - looks like that specific email regex is problematic when the given string is not email and contains lots of chars (>25-30 result in

Re: [t5] decoding utf-8 in form submissions

2007-10-23 Thread Ken
Hi, I am using Tapestry 5.0.5. Thanks. Ken Hi, I copied 'buildUtf8Filter' method from the URL below (in citation) and add: configuration.add("Utf8Filter", utf8Filter); in my AppModule. Then I got: HTTP ERROR: 500 Internal Server Error RequestURI=/sample/ Powered by Jetty://

Re: [t5] decoding utf-8 in form submissions

2007-10-23 Thread Ken
Hi, I copied 'buildUtf8Filter' method from the URL below (in citation) and add: configuration.add("Utf8Filter", utf8Filter); in my AppModule. Then I got: HTTP ERROR: 500 Internal Server Error RequestURI=/sample/ Powered by Jetty:// What am I wrong? I have some concern. 1. in

Re: Tapestry 5 Roadmap

2007-10-23 Thread Christian Gruber
I am apparently a bit touchy this week, Kranga, et al. Please forgive. I also wasn't stating that lack of compatibility was an industry norm. I was saying, merely, that often (and demonstrably) a major version number implies a lack of complete backwards compatibility. That was all. Jus

Re: T5: Newbie question - example needed

2007-10-23 Thread César Lesc
Thanks for the link, if you want more blocks in action see the wiki: http://wiki.apache.org/tapestry/Tapestry5HowToCreateATabPanel César. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

RE: T5: @Persist form field or not?

2007-10-23 Thread Jonathan Barker
This topic comes up periodically. Under T4, it might come up under null-handlers for OGNL where a usr object could automatically be created if one did not exist already. One way or another, you need to make sure that usr is not null when you go to assign the name. It's OK for name to be null in

Re: Tapestry 5 Roadmap

2007-10-23 Thread kranga
I didn't implicate you as stupid. You wouldn't be using Tapestry if you were stupid. I was commenting on you summarily dismissing the concerns of quite a few Tapestry users about the lack of version compatiblity and your implying that this was the industry norm. Look, Howard has carte blanche

Re: Tapestry 5 Roadmap

2007-10-23 Thread kranga
I am speaking from my experience (and based on others in the mailing list who have echoed a similar sentiment). It is very frustrating for an organization to decide to use a framework and then find it is "legacy" in 6 months. Such is software development (and open source) and developers and cor

Re: [T5] components collection release 0.3.0

2007-10-23 Thread Daniel Jue
Oh, I know we _could_ each create our own, but I remember back in T4 it was nice to have a contrib jar that contained several useful components. I guess if I put out a library, I better make it worthwhile (several interesting things)! :-) On 10/23/07, Thiago H. de Paula Figueiredo <[EMAIL PRO

Re: [T5] Will a BeanEditor accept a parameter block to property override?

2007-10-23 Thread Daniel Leffel
OK, so I've done more digging and although it's not working, I think I know why, but I don't know how to fix it. Please help. This BeanEditor is being uses as a customer property editor as described in the "Adding New Property Editors" (here http://tapestry.apache.org/tapestry5/tapestry-core/guide

[T5] Will a BeanEditor accept a parameter block to property override?

2007-10-23 Thread Daniel Leffel
I realize a BeanEditForm will, but I have a BeanEditor which is ignoring the parameter blocks and was wondering if this behavior is by design or a bug. Does anyone know? In this code, the parameter block is being ignored:

Re: [T5] components collection release 0.3.0

2007-10-23 Thread Thiago H. de Paula Figueiredo
Em Tue, 23 Oct 2007 18:55:56 -0200, Daniel Jue <[EMAIL PROTECTED]> escreveu: This is great Sven! Do you intend to have this library become T5's "contrib" library? Or would you suggest potential contributors to start their own public library for people to download? One of the beauties of o

Re: [T5] components collection release 0.3.0

2007-10-23 Thread Daniel Jue
This is great Sven! Do you intend to have this library become T5's "contrib" library? Or would you suggest potential contributors to start their own public library for people to download? Daniel Jue On 10/23/07, Sven Homburg <[EMAIL PROTECTED]> wrote: > Hi there, > > components collection rele

[T5] components collection release 0.3.0

2007-10-23 Thread Sven Homburg
Hi there, components collection release 0.3.0 is accessable now at http://code.google.com/p/tapestry5-components (requiers tapestry 5.0.6) -- best regards Sven - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: T4 Custom components with iterated child components

2007-10-23 Thread Norman Franke
Cool, thanks! I see it creates @Block components at the page level. I've done the same thing with my component and that works great. -Norman Franke On Oct 23, 2007, at 11:08 AM, Miguel Angel Hernández wrote: BeanForm component does something similar... you can look at the code to give yo

Re: T4.1.3 : 100% CPU usage on tomcat due to server-side email validation

2007-10-23 Thread Ulrich Stärk
I just came to the same conclusion. The problem is with the ([-_\\.]*[A-Za-z0-9]+)* part of the regexp in the user as well as the domain part. Apart from that this regexp will reject email addresses which are valid according to RFC 3696 like [EMAIL PROTECTED] Uli andyhot schrieb: hmmm - nice

Re: [T4] Handle AjaxDirectLink when session expired?

2007-10-23 Thread Phillip C. Rhodes
Below is the response that came over the wire. The HTTP Return code was a "302". IE reported an "(Error 0x80070005)" in my httpwatch plugin. HTTP/1.1 302 Moved Temporarily Date: Tue, 23 Oct 2007 14:19:08 GMT Server: Apache/1.3.33 (Darwin) mod_jk/1.2.5 Set-Cookie: JSESSIONID=FD8DB6FDD00F93C4DE1

Re: T5: Newbie question - example needed

2007-10-23 Thread jblier
For those interested, here is a demo with source code: http://lombok.demon.co.uk/tapestry5Demo/test/delegate/block - J jblier wrote: > > I'm making progress with T5.0.5 and I'm eager to switch to 5.0.6 when it > will be available. > > In 5.0.5, I am now able to create advanced Layouts by me

Re: [T4] Handle AjaxDirectLink when session expired?

2007-10-23 Thread andyhot
No, this is tacos 4.0 specific - what are the contents of the response? I think it was caused due to invalid xml in the response... Also, try setting tacosConfig.debugAjaxResponseError to true and see if it presents any more info Phillip Rhodes wrote: While this is happening in tapestry/tacos,

Re: T4.1.3 : 100% CPU usage on tomcat due to server-side email validation

2007-10-23 Thread andyhot
hmmm - nice report - looks like that specific email regex is problematic when the given string is not email and contains lots of chars (>25-30 result in more than 10 iterations according to RegexBuddy) - we'll probably have to find a better regex i guess http://www.ex-parrot.com/~pdw/Mail-

Re: Strange problem with OGNL (just happening on our production servers)

2007-10-23 Thread Alejandro Scandroli
Hi Martino We are seeing these stack traces too, but the applications doesn't hang. http://jira.opensymphony.com/browse/OGNL-115 The error happens when a getter method doesn't have the matching setter method. Does the page still work? or it brakes your app? In case you don't need a setter method

Other problems with ognl/enhancements

2007-10-23 Thread Martino Piccinato
It seems it's ognl time for us :-) I send a different messages for this problem because it seems it might be due to another. After some time (2/3 hours?) my server is running I keep getting the exception I copied down here. It seems to be a different one from the one I reported. It's like javassis

Re: Tapestry 5 Roadmap

2007-10-23 Thread Christian Edward Gruber
I with you, here. But (as you know, 'cause you did it) sometimes you have to start over to get it right. One can architect one into a corner, and evolving back into a good state isn't always possible. Christian. On 23-Oct-07, at 11:51 AM, Howard Lewis Ship wrote: Let me repeat ... I have

Re: Tapestry 5 Roadmap

2007-10-23 Thread Howard Lewis Ship
Let me repeat ... I have seven years of experience (in Tapestry) on how NOT to be backwards compatible. T5 is all about ensuring future backwards compatibility without compromising the ability to enhance the framework going forward. On 10/23/07, Christian Gruber <[EMAIL PROTECTED]> wrote: > > Ok,

Re: Tapestry 5 Roadmap

2007-10-23 Thread Christian Gruber
Ok, whatever. I give in. I'll go and use T4 and whine at Howard now. Oh wait, no I won't. I'll work on T5 and try to encourage it into as re-usable, and less brittle and change-vulnerable a form as I can, so that there is more likelihood of upgradability. (Howard's doing quite well abou

Re: T4 Custom components with iterated child components

2007-10-23 Thread Miguel Angel Hernández
BeanForm component does something similar... you can look at the code to give you some idea. On 10/23/07, Norman Franke <[EMAIL PROTECTED]> wrote: > > I've been working on my custom inline table editor component, and I > figured it would be easier to allow the user of the component to > specify t

T4 Custom components with iterated child components

2007-10-23 Thread Norman Franke
I've been working on my custom inline table editor component, and I figured it would be easier to allow the user of the component to specify the component used for display and editing of each column. I was thinking doing something like this: This every time the componen

[T4] Handle AjaxDirectLink when session expired?

2007-10-23 Thread Phillip Rhodes
While this is happening in tapestry/tacos, I feel it might be global to ajax/tapestry in general. 1) User has expired session 2) User clicks AjaxDirectLink 3) Application detects an expired session and sends Redirect to login page back to the user 4) Browser receives the redirect, but both IE an

Re: Tapestry 5 Roadmap

2007-10-23 Thread Thiago H de Paula Figueiredo
On Tue, 23 Oct 2007 10:15:03 -0300, Peter Stavrinides <[EMAIL PROTECTED]> wrote: but Tapestry will die a quick death, no matter how good it is under the hood, if you slap devotees in the face again and again. Howard has stated very clearly that there will be no Tapestry 6 or, at least, th

How can I change Locale in 5.0.6

2007-10-23 Thread Eko S.W.
Hi All, Is 5.0.6 already capable of changing HTTP locale ? I see that 5.0.5 can't do it. How we do it? Thanks in advance -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/

Re: Why Can't I get the 5.0.6?

2007-10-23 Thread Eko S.W.
Woaw. Great. Many thanks! 2007/10/23, Francois Armand <[EMAIL PROTECTED]>: > > Eko S.W. wrote: > > I change the 5.0.5 to 5.0.6-SNAPSHOT > > But why I can't get it? > > Is there any new place to store the 5.0.6-SNAPSHOT? > > > The repository for Tapestry Snapshot is : > 8<--

Re: Tapestry 5 Roadmap

2007-10-23 Thread Peter Stavrinides
Christian, kranga is right. You can't keep telling yourself it is okay to change the framework to the point that an entire rewrite is needed to existing code. Some upgrading is expected (and necessary), but Tapestry will die a quick death, no matter how good it is under the hood, if you slap de

Re: why Tapestry 5.0.6 hasn't released yet?

2007-10-23 Thread Francois Armand
Penyihir Kecil wrote: i saw @ http://tapestry.formos.com/maven-snapshot-repository/org/apache/tapestry/tapestry-core/ tapestry 5.0.6-SNAPSHOT development has moved to tapestry 5.0.7-SNAPSHOT. then...why the 5.0.6 hasn't released yet ? The vote for the release of 5.0.6 is not finished (one da

why Tapestry 5.0.6 hasn't released yet?

2007-10-23 Thread Penyihir Kecil
i saw @ http://tapestry.formos.com/maven-snapshot-repository/org/apache/tapestry/tapestry-core/ tapestry 5.0.6-SNAPSHOT development has moved to tapestry 5.0.7-SNAPSHOT. then...why the 5.0.6 hasn't released yet ? sorry for bothering i just curious... ^_^ Dwi Ardi Irawan ~ ...and the stor

Re: Checking null value using If component on UI

2007-10-23 Thread Marcos Chicote
In Tapestry 4 try On 10/23/07, Joshua Jackson <[EMAIL PROTECTED]> wrote: > > Dear all, > > How do I check whether an instance is null on user interface using the > If component? I tried this: > > > but it doesn't work. > > Thanks in advance :) > > -- > What you want today, may not exist tommorro

Checking null value using If component on UI

2007-10-23 Thread Joshua Jackson
Dear all, How do I check whether an instance is null on user interface using the If component? I tried this: but it doesn't work. Thanks in advance :) -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/ -

Strange problem with OGNL (just happening on our production servers)

2007-10-23 Thread Martino Piccinato
Hi, we are experiencing a very strange problem just on our production server, from time to time bindings/ognl starts giving strange exceptions it does not give on our dev workstations. The problem is also difficult to reproduce on production server so I think it might be some race condition proble

Re: T5: how to let pojo (no component) have reference to PropertyAccess

2007-10-23 Thread Britske
Never mind. I thought it would be difficult to define SelectModelRepository in Tapestry-IOC given the existing spring-ioc chain it needs for construction. I didn't realize injecting spring-instances in the build()-method of Tapestry-IOC works just as good as normally in components.. and i love it

T5: how to let pojo (no component) have reference to PropertyAccess

2007-10-23 Thread Britske
I have a helperclass SelectModelRepository which centralizes logic concerning selectmodels which different pages/ components can access. This class needs a reference to PropertyAccess to do some of its work, which normally is available as: @Inject PropertyAccess _access. However, this only work

Antwort: [T5] howto decorate the ComponentClassResolver

2007-10-23 Thread Kristian Marinkovic
overriding a service is done using the alias service. please look at the tapestry-ioc documentation or earch the mailing list (nabble). there are several examples using the alias service. it think there's also an example in the tapestry wiki :) g, kris "Joost Schouten" <[EMAIL PROTECTED]> 2

Re: Session and application scope

2007-10-23 Thread Massimo Lusetti
On 10/23/07, Gianluigi <[EMAIL PROTECTED]> wrote: > Only a question, how i use a request or a Session in Tapestry 5? How can i > instanciate an > Application Object? > > in JSP i wrote : HttpSession session and session.setProperty("Key"); > and in Tapestry 5? Take a look at application state: h

Re: form enctype

2007-10-23 Thread Yohan Yudanara
Dear all, I've done this through creating component which extends AbstractFormComponent. protected void renderFormComponent(IMarkupWriter w, IRequestCycle c) { IForm form = getForm(); form.setEncodingType("multipart/form-data"); } Now, the form renders as e

Re: Why Can't I get the 5.0.6?

2007-10-23 Thread Francois Armand
Eko S.W. wrote: I change the 5.0.5 to 5.0.6-SNAPSHOT But why I can't get it? Is there any new place to store the 5.0.6-SNAPSHOT? The repository for Tapestry Snapshot is : 8< tapestry-snapshot http://tapestry.formos.com/

Session and application scope

2007-10-23 Thread Gianluigi
Hi to all, i'm a JSP developer and i want to know a more on Tapestry 5, it seem very cool! :) Only a question, how i use a request or a Session in Tapestry 5? How can i instanciate an Application Object? in JSP i wrote : HttpSession session and session.setProperty("Key"); and in Tapestry 5?

Why Can't I get the 5.0.6?

2007-10-23 Thread Eko S.W.
I change the 5.0.5 to 5.0.6-SNAPSHOT But why I can't get it? Is there any new place to store the 5.0.6-SNAPSHOT? Thanks in advance, and sorry for the dumb question -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/