Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread zack1403
Thanks Joost! While I'm sorting through that to find out what youre doing that I am missing, here is a question. When my onAddRow event is throwing an exception, shouldn't the transaction be rolled back? I would think that is expected behavior but the transaction is being committed. When I refres

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread Joost Schouten (mailing lists)
sorry, I forgot the encoder for the AjaxFormLoop: public ValueEncoder> getContactDetailEncoder() { final LegalEntityService service = serviceProvider.getService(LegalEntityService.class); return new ValueEncoder>() {

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread Joost Schouten (mailing lists)
Here is the code related to my AjaxFormLoop which works (besides a few non T5 related persistance issues in my own code ;-) *** java file ** @Property @Persist private List> details; @Property p

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread zack1403
Hmm, the jumpstart example you gave uses t:submitnotifier as well as all examples (even nightly docs). The example you gave is running on 5.0.18. You are sure that example works on upgrade to 5.1.0.2? Even at the simplest form I am still getting my exception. The simplest possible form I could

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread Joost Schouten (mailing lists)
The example at http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/ajaxformloop1 which I used as a guide worked well for me on 5.1.0.3. In your examples you use the t:submitnotifier. I never really used it but maybe you do some DOM alterations in those event methods that Tapestr

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread zack1403
Hey I hate to bump but this is a huge blocker for me. Is there more information I can give to try and help troubleshoot?? -- View this message in context: http://www.nabble.com/AjaxFormLoop-Exception-on-5.1.0.2-upgrade-tp23175801p23269752.html Sent from the Tapestry - User mailing list archive

Re: TextStreamResponse - TypeError

2009-04-27 Thread Geoffrey Wiseman
On Mon, Apr 27, 2009 at 5:20 PM, Howard Lewis Ship wrote: > Yes, the client-side logic expects a JSON response in a particular > format; this format includes the content to put into the Zone, but > also JavaScript libraries to include, and JavaScript to execute after > the content is loaded ... a

Re: Getting a zone id when inside another zone

2009-04-27 Thread DH
What about giving the static id to the innerZone, like following: DH - Original Message - From: "Hugo Palma" To: "Tapestry users" Sent: Monday, April 27, 2009 11:38 PM Subject: Getting a zone id when inside another zone >I have a template that looks something like this: > > > >

Re: [wiki T5 howtos] Utf8 filter hints obsolete?

2009-04-27 Thread Christian Edward Gruber
Hah. I didn't really notice, and I never bothered to remove the filters. I guess I have some code to delete! Christian. On Apr 27, 2009, at 8:09 PM, Howard Lewis Ship wrote: Post 5.0.14, Tapestry switched to a simpler system: the application defined a single character set (default: 'UTF-8'

Re: [wiki T5 howtos] Utf8 filter hints obsolete?

2009-04-27 Thread Howard Lewis Ship
Post 5.0.14, Tapestry switched to a simpler system: the application defined a single character set (default: 'UTF-8') for the entire application. This solved some ugly problems with needed to know the character set of the page before we could parse the URL to determine the name of the page (!). On

Re: [wiki T5 howtos] Utf8 filter hints obsolete?

2009-04-27 Thread Christian Edward Gruber
I had some problems with UTF-8 characters in forms without them, but that was around 5.0.14, and I can't remember if they were fixed after. I'll re-test vanilla. But it wasn't just about uploads. Christian On Apr 27, 2009, at 7:52 PM, Thiago H. de Paula Figueiredo wrote: Em Mon, 27 Apr 20

Re: [wiki T5 howtos] Utf8 filter hints obsolete?

2009-04-27 Thread Thiago H. de Paula Figueiredo
Em Mon, 27 Apr 2009 12:32:32 -0300, Christoph Lechleitner escreveu: Hello everyone. Hi! But if I understand these issues ... https://issues.apache.org/jira/browse/TAPESTRY-2537 https://issues.apache.org/jira/browse/TAPESTRY-2543 ... correctly, those filter hacks should be totally obsolete

Re: Exception while http://localhost:8080/myapp/index.pageForm

2009-04-27 Thread Thiago H. de Paula Figueiredo
Em Mon, 27 Apr 2009 12:26:31 -0300, wesleywj2 escreveu: that is the problem, typically when user close their browser, they will save the state as index.pageForm, i don't know why. they will either hit the refresh button or hit enter button on the address bar and cause this exception to b

Re: Getting a zone id when inside another zone

2009-04-27 Thread Joost Schouten (mailing lists)
I think there might be another problem at play here because when you refresh your outer zone, your form and zone are both re-rendered. I have numerous situations like this in my app which work fine. It more sounds like the scripts passed along in the response JSON from your outerZone are not handle

Re: TextStreamResponse - TypeError

2009-04-27 Thread Howard Lewis Ship
Yes, the client-side logic expects a JSON response in a particular format; this format includes the content to put into the Zone, but also JavaScript libraries to include, and JavaScript to execute after the content is loaded ... and in 5.1 it may also include updates for other zones. But a in yo

TextStreamResponse - TypeError

2009-04-27 Thread Geoffrey Wiseman
Probably something really basic that I'm missing here -- I'm hoping one of you already knows the answer. This is my first time trying TextStreamResponse for an ajax action link. The .tml has bits like this: invite And the .java has this: public StreamR

Re: Exceptions during registry startup

2009-04-27 Thread Howard Lewis Ship
Which version of T5? I had thought that it would report problems at startup a bit better. Can you use the debugger to catch the NPE? If so, add an issue with the stack trace to the NPE and I'll make sure it gets reported better. On Fri, Apr 24, 2009 at 3:24 AM, Alfie Kirkpatrick wrote: > Hi, I

Re: tapestry5 on google appengine exception

2009-04-27 Thread ஸ்ரீராம் கீர்த்தி
Hedinges, I did it this way. (1) Create a google app engine application using the eclipse plugin (2) Add tapestry-core, annotations, ioc, sl4j, log4j and all needed jars to the war/WEB-INF/lib folder (3) Write your tapestry helloworld program as you like (make sure you changed the web.xml to inclu

RE: T5.1 Property Expressions

2009-04-27 Thread Blower, Andy
Congratulations, you have raised the "JIRA Issue of the Beast" as a duplicate of Tap5-663 which I entered last week. ;-) Well that's an easy way round the 666 superstition, just mark as a dup and close... > -Original Message- > From: Howard Lewis Ship [mailto:hls...@gmail.com] > Sent: 2

Re: T5.1 Property Expressions

2009-04-27 Thread Michael Prescott
Reminds me of some washroom graffiti I saw, reading: 668 - the neighbour of the beast On Mon, Apr 27, 2009 at 12:28 PM, Howard Lewis Ship wrote: > Congratulations, you have The JIRA Issue Of The Beast: > > https://issues.apache.org/jira/browse/TAP5-666 > > > On Thu, Apr 23, 2009 at 10:37 AM, And

Re: T5.1 Property Expressions

2009-04-27 Thread Howard Lewis Ship
Congratulations, you have The JIRA Issue Of The Beast: https://issues.apache.org/jira/browse/TAP5-666 On Thu, Apr 23, 2009 at 10:37 AM, Andy Blower wrote: > > I just tried out the new T5.1 property expressions for the first time and got > an error. I’m trying to replace this: > > ${linkTitle} >

Re: Tapestry upgrade

2009-04-27 Thread Howard Lewis Ship
I believe Jesse did considerable work to OGNL (to speed it up, using bytecode manipulation) between the two releases. The conflict between two overloadings of getMessage() is a problem. OGNL simply doesn't have syntax to let you select which of the two you want to invoke, and it looks like its inv

Tapestry upgrade

2009-04-27 Thread Howard.Kelsey
Hi I’m trying to upgrade from tapestry 4.0.2 to 4.1.6 and am seeing some strange behaviour. Basically we have our own implementation of org.apache.hivemind.Messages which extends org.apache.hivemind.impl.AbstractMessages now in our implementation we have a method called getMessage(org.sprin

Re: Fix for TAP5-624, Support for javascript callbacks on zone update

2009-04-27 Thread Hugo Palma
I agree. The most common use case where i've missed this feature is for handling different results that can come from some server side execution. With the current fix i would have to parse the returned JSON on the client side and code all logic there. If addScript() support was added to XHR reques

Getting a zone id when inside another zone

2009-04-27 Thread Hugo Palma
I have a template that looks something like this: The problem is figuring out the id of the innerZone in order to pass it to the form. Because the innerZone is itself inside a zone once the outerZone gets updated a new id is generated to the innerZone making the id i passed to the form an

Re: tapestry5 on google appengine exception

2009-04-27 Thread Jun Tsai
You can deploy on appspot.woks fine. 2009/4/26 hedinges > > Are there any updates about this error? > > I am also trying to setup tapestry 5.0.18 on GAE but I am stuck with the > same error. > > > java.lang.NoClassDefFoundError: > org/apache/tapestry5/corelib/components/Loop$1 >at > org.

[wiki T5 howtos] Utf8 filter hints obsolete?

2009-04-27 Thread Christoph Lechleitner
Hello everyone. I am evaluating T5[.1] as one possible direction to go after T4. Unfortunately the state of the "documentation" still is quite an argument against Tapestry. Well, to help fixing that everlasting flaw: The wiki page ... http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding ... sugg

Re: Exception while http://localhost:8080/myapp/index.pageForm

2009-04-27 Thread wesleywj2
that is the problem, typically when user close their browser, they will save the state as index.pageForm, i don't know why. they will either hit the refresh button or hit enter button on the address bar and cause this exception to be thrown. what's really uneasy is the exception shows up all the a

Re: HTTP Streaming (Ajax) / Comet Integration

2009-04-27 Thread Peter Stavrinides
Comet is still a very hacky technology stack with no solid / mature infrastructure let alone standards, though HTML 5 will change that. If this doesn't bother you then Jetty and Tomcat both have built in Comet support, though be forewarned that using a reverse proxy has issues and Comet misused

RE: Fix for TAP5-624, Support for javascript callbacks on zone update

2009-04-27 Thread Blower, Andy
Anyone have an opinion on this? (just wondering if it got lost among the Tapestry is beautiful discussion... ;-) > -Original Message- > From: Blower, Andy [mailto:andy.blo...@proquest.co.uk] > Sent: 24 April 2009 14:09 > To: 'Tapestry users' > Subject: Fix for TAP5-624, Support for javasc

Re: Exception while http://localhost:8080/myapp/index.pageForm

2009-04-27 Thread Onno Scheffers
You should type the url of your page in the browser and not the url of your component: http://localhost:8080/myapp/index Typing an URL in the browser typically causes a GET-request instead of a POST-request. The form-component is part of the page and wi

Exception while http://localhost:8080/myapp/index.pageForm

2009-04-27 Thread wesleywj2
hi, when i type this url in my browser and hit enter, http://localhost:8080/myapp/index.pageForm it throws "Forms require that the request method be POST and that the t:formdata query parameter have values." exception. index is my first/login page, where pageForm is the id of my form. why it thro

Re: Web framework evaluation - What is beautiful in Tapestry?

2009-04-27 Thread Kristian Marinkovic
what i like most: - the tapestry ioc container - component development: it is so easy to create components even complex ones. JSF needs at least 5-6 artifacts (java, xml, jsp) to create a component. T5 apps tend to have more component reuse and a reduced amount of duplicate gui code (jsf 2.0 is

Re: Web framework evaluation - What is beautiful in Tapestry?

2009-04-27 Thread Otho
These were the ones I meant of course. I have admittedly not the slightest idea about smalltalk beside the fact that it exists. 2009/4/26 Christian Edward Gruber > Just for the record, component-oriented MVC is much more consistent with > the SmallTalk-style MVC, so in some ways it is more "pure