Re: Strange performance issue Tomcat/Jetty

2008-06-23 Thread Moritz Gmelin
Hi again, I could nail this problem down to the hibernate level. Executing hibernate queries takes 2-5 times longer when an application is hosted on tomcat than when it is hosted on jetty5.1.10. Does anyone have an explanation on that? Is this a pure hibernate problem or rather in

Re: Security of t:formdata

2008-06-23 Thread Ivan Dubrov
Howard Lewis Ship wrote: Although you could use this technique (severe hacking of t:formdata) to control what ComponentAction was instantiated at what point in the form submission, the security effects of this are minimal; Tapestry includes only a finite set of ComponentAction classes and each

Re: [T5] how to add dojo in tapestry5?

2008-06-23 Thread Vladimir Solomenchuk
Hi, You have two ways to do this: 1. simply include into your page/components dojo javascript libraries 2. write your own PageRenderSupport (see public void contributeMarkupRenderer(...) in TapestyModule) Tan [EMAIL PROTECTED] wrote: hi all, hi i know tapestry5 come with

grid component exclude/inlcude has no effect (t5.0.10)

2008-06-23 Thread Udo Abel
Hi I have a grid component like this: t:grid source=addrList row=addrRow reorder=kurzname, adressnr, ort, strasse /t:grid The reorder parameter works, but neither include nor exclude seem to do anything, as in: t:grid source=addrList row=addrRow include=kurzname,

programmatic component rendering

2008-06-23 Thread Udo Abel
Hi, we're planning a highly dynamic web app, where it is necessary to display certain components depending of the application state. E.g., in an address detail view there should be a paragraph which contains different details for a customer and a supplier. Or if the balance of an account is

Re: programmatic component rendering

2008-06-23 Thread Kristian Marinkovic
hi udo, there are different approaches to it... :) ... you can configure the view using blocks ... i do it by defining some Blocks that are then composed using certain rules through my pimped BeanEditor component. eg. a new Dealer has at least one employee. Therefore when a new Dealer is

t5: t5.0.13 and DocumentHeadBuilder

2008-06-23 Thread Angelo Chen
Hi, I'm upgrading to 5.0.13, i use this internal service:DocumentHeadBuilder.addScript, it's not in the 5.0.13 any more, what are the equivalents? Thanks, Angelo -- View this message in context: http://www.nabble.com/t5%3A-t5.0.13-and-DocumentHeadBuilder-tp18065869p18065869.html Sent from the

Re: Strange performance issue Tomcat/Jetty

2008-06-23 Thread Massimo Lusetti
On Mon, Jun 23, 2008 at 8:13 AM, Moritz Gmelin [EMAIL PROTECTED] wrote: Hi again, I could nail this problem down to the hibernate level. Executing hibernate queries takes 2-5 times longer when an application is hosted on tomcat than when it is hosted on jetty5.1.10. Does anyone have an

Re: t5: t5.0.13 and DocumentHeadBuilder

2008-06-23 Thread Kristian Marinkovic
i think the RenderSupport service is what you are looking for. g, kris Angelo Chen [EMAIL PROTECTED] 23.06.2008 11:44 Bitte antworten an Tapestry users users@tapestry.apache.org An users@tapestry.apache.org Kopie Thema t5: t5.0.13 and DocumentHeadBuilder Hi, I'm upgrading to

[T4.1.5] RadioGroup EventListener doesn't work

2008-06-23 Thread Jerome Da Costa
Hi, When trying to you the onChange method on a RadioGroup component, we encountered the following error client side : [Exception... 'Error: bad srcObj for srcFunc: onChange' when calling method: [nsIDOMEventListener::handleEvent] nsresult: 0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT) location:

[ANN] JumpStart 3.8: for Tapestry 5.0.13

2008-06-23 Thread Geoff Callender
Hi all, JumpStart 3.8 is now available. It's for Tapestry 5.0.13. New in this release: * @ProtectedPage annotation - uses an annotation instead of a super class to protect pages against users who aren't logged in. * Provides a script that creates a fresh, working project with your

Re: Merge T4-Application with a T5-Page

2008-06-23 Thread Tommyboy66
I solved little problems with a temporary solution in the meantime. I created another application with T5 and switch beetween pages with hard-coded URLs. The problem is that it is not possible to pass parameters beetween the applications. For example i wrote a page with a grid component in T5 and

Re: Security of t:formdata

2008-06-23 Thread Martijn Brinkers (List)
Using ClientPersistentFieldStorage (t:state:client parameter) you can 'inject' arbitary serialiable objects so it would be easy to 'inject' a huge byte array that consumes all memory. Securing this with an HMAC would not be that hard because it only requires changes to Base64ObjectInputStream. I

Re: [T5] how to add dojo in tapestry5?

2008-06-23 Thread Tan [EMAIL PROTECTED]
thank you. I will try it out first. On Mon, Jun 23, 2008 at 4:13 PM, Vladimir Solomenchuk [EMAIL PROTECTED] wrote: Hi, You have two ways to do this: 1. simply include into your page/components dojo javascript libraries 2. write your own PageRenderSupport (see public void

5.0.13 IE javascript error

2008-06-23 Thread Joachim Van der Auwera
Hi, after upgrade of my application to tapestry 5.0.13 I get a unknown runtime error on loading the page in IE. This is reported at line 2403 of prototype.js on the line else element.innerHTML = content.stripScripts() Does anybody have any idea how this problem can be remedied? Kind

Re: T5 onActivate

2008-06-23 Thread Geoff Callender
Before 5.0.13, if onActivate() appeared in a subclass and its parent, Tapestry used to jump in and call both. From 5.0.13 it seems to follow the normal Java convention, ie. only the subclass method is called, so it is up to the subclass to call the parent if that's what you want. I ran a

Re: 5.0.13 IE javascript error

2008-06-23 Thread Sven Homburg
please read http://tapestry.apache.org/news.html#Tapestry%205.0.13 2008/6/23 Joachim Van der Auwera [EMAIL PROTECTED]: Hi, after upgrade of my application to tapestry 5.0.13 I get a unknown runtime error on loading the page in IE. This is reported at line 2403 of prototype.js on the line

T5: Passing values to JavaScript function

2008-06-23 Thread SergeEby
Hi, Passing a dynamic values from the Java page to a JavaScript function embedded in the .tml file works fine. However, I need to pass that values to an external (basic) JavaScript function. The external javacript files is attached to the page using the IncludeJavaScriptLibrary annotation:

Re: T5: Passing values to JavaScript function

2008-06-23 Thread Sven Homburg
look for this small sample: http://pastebin.com/f3c9f5056 2008/6/23 SergeEby [EMAIL PROTECTED]: Hi, Passing a dynamic values from the Java page to a JavaScript function embedded in the .tml file works fine. However, I need to pass that values to an external (basic) JavaScript function.

Re: T5: Parent before child clarification

2008-06-23 Thread Howard Lewis Ship
So the sub-class setupRender() overrides the base-class setupRender()? The method setupRender() is still invoked at the appropriate time. The difference is that it is not invoked twice, as it was before 5.0.13. In coding terms, what happens is that Tapestry provides an implementation of the