Re: T4 T4.1.2: tapestry.form.registerForm is not a function

2007-06-28 Thread Jeremy F. Kassis
Just to be clear, I "broke it more" to see what would happen and eliminate the possibility that the defaultDojoPath and related IAsset declarations were wrong. I changed them back, assuming they are right, but I don't have any new theories. I'm using Firefox 2, which I know is a little bleeding e

Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread spot_
Hi Jesse, gant thank you very much! After deleting the whole "/var/cache/tomcat5/Catalina/localhost/MyApp" dir recursively on the server machine everything works fine. Cheers Christoph Jessek wrote: > > I don't know Maybe it's not a tomcat version issue at all but more of > a > library ve

Re: T4 T4.1.2: tapestry.form.registerForm is not a function

2007-06-28 Thread Jeremy F. Kassis
Good idea. I restarted the server and loaded the page. Looks clean on the server-side. Then, I "broke it more" by messing with one of IAsset declarations. I get asset not found errors and the page fails to load. I'm attaching my page source in case it might help. http://www.nabble.com/file/p1135

Re: T4 T4.1.2: tapestry.form.registerForm is not a function

2007-06-28 Thread Jesse Kuhnert
And on the server do you get log warning messages about classpath resources not being found? Maybe your urls aren't being handled properly for some reason? I haven't tested anything without friendly urls in a while, maybe something there is broken. On 6/29/07, Jeremy F. Kassis <[EMAIL PROTECTED

Re: T4 T4.1.2: tapestry.form.registerForm is not a function

2007-06-28 Thread Jeremy F. Kassis
Thanks for the quick reply. I cleared my browser cache, but no luck. Then, I rebuilt the tapestry-framework-4.1.2 jar with a couple of alert('hi'); lines embedded in the form.js file. Cleared my cache again and checked the GET request responses to make sure the browser was fetching the updated f

Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread gant
may be you should clear the tomcat caches which are in tomcat temp directory. - Original Message - From: "spot_" <[EMAIL PROTECTED]> To: Sent: Friday, June 29, 2007 1:32 PM Subject: Re: Problem after upgrade to Tapestry 4.1.2 Hello Jesse thanks for help. But no, I have not overri

Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread Jesse Kuhnert
I don't know Maybe it's not a tomcat version issue at all but more of a library version issue. Somehow that server machine has an old version of tapestry somewhere. On your server go to wherever the root path of tomcat is (I never install any java related software with apt/yum) and do: find

Re: T4 T4.1.2: tapestry.form.registerForm is not a function

2007-06-28 Thread Jesse Kuhnert
Clear your browser cache? I've never seen/heard of something like this so I don't have a lot of ideas. On 6/29/07, Jeremy F. Kassis <[EMAIL PROTECTED]> wrote: Just upgraded to T4.1.2. On pages with forms, I get the following error: "tapestry.form.registerForm is not a function" Using fi

T4 T4.1.2: tapestry.form.registerForm is not a function

2007-06-28 Thread Jeremy F. Kassis
Just upgraded to T4.1.2. On pages with forms, I get the following error: "tapestry.form.registerForm is not a function" Using firebug, I... 1. Set a breakpoint on this line: require("tapestry.form"); 2. clear the console 3. step over the function call 4. observe the GET requests for

Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread spot_
Hello Jesse thanks for help. But no, I have not overriden the Shell component. I searched all project files for the terms 'dojoPath' and 'Shell' with no result (except of Border.html where it belongs to). But what about this: The WebApp works fine on my development machine! It's WinXP/Tomcat 5.5.

Re: Build Tapestry5.0.5 error

2007-06-28 Thread Howard Lewis Ship
Use Maven 2.0.5. On 6/28/07, Allen Guo <[EMAIL PROTECTED]> wrote: Hi All, Today I build the tapestry-ioc module in eclipse, I get the following build error 07-6-29 上午11时07分33秒: Project build error Failed to validate POM 07-6-29 上午11时07分33秒: 'dependencies.dependency.version' is missing for jbos

Re: Invoke method with pararmeters in TP5.0.5

2007-06-28 Thread Nick Westgate
No, not yet. Expansions are a shorthand for Property Bindings, described here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html The original reason for prop (IIRC) was to improve on the performance of OGNL. Now that the much faster OGNL 2.7 has been released, it could be a

Invoke method with pararmeters in TP5.0.5

2007-06-28 Thread Allen Guo
Hi All, Suppose there is a method with parameters in page class like this // CssPage.java . pubic String getEcho(String echo){ return "[" + echo + "]"; } Can I call it in html template like this? // CssPage.html .. ${getImage('HELLO')} ... I just tested it. It doesn't work. I want to k

Re: Tap 4.1.2 PageNotFoundException not caught

2007-06-28 Thread Jesse Kuhnert
Damn those commons-pool developers for making me catch their checked exception...And not even a specific type at that...Oh no...just java.lang.Exception. fuc%4%-ers... I should probably try some strategy to re-throw the original exception if it's within the org.apache.tapestry package. If s

Build Tapestry5.0.5 error

2007-06-28 Thread Allen Guo
Hi All, Today I build the tapestry-ioc module in eclipse, I get the following build error 07-6-29 上午11时07分33秒: Project build error Failed to validate POM 07-6-29 上午11时07分33秒: 'dependencies.dependency.version' is missing for jboss:javassist 07-6-29 上午11时07分33秒: 'dependencies.dependency.version' is

Re: [t4] EventListener question

2007-06-28 Thread Jesse Kuhnert
Hmmm I'm not sure completely. If you had an example I can play with more easily attached to a jira issue I can take a look. On 6/28/07, Julian Wood <[EMAIL PROTECTED]> wrote: Well I'll look forward to the time when that's implemented! But I'm still curious what the problem is with my origina

Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread Jesse Kuhnert
The exception message saying its missing classpath resource "'/dojo/'." sounds suspicious. This was the old parameter given and shouldn't be something Tapestry would reference by default in the current release. I think Marcus was on to something there.You may want to check very carefully wha

Re: [T5] Configurable value encoders for select?

2007-06-28 Thread Nick Westgate
It's a bit inconvenient to have to add ValueEncoders for all the basic wrapper types that are often in domain objects (Boolean, Integer etc.) Howard's previous comment about translators applies here too: "It does make sense that there should be a default translator that leverages the TypeCoercer

Re: upgrade to 4.1.1

2007-06-28 Thread Jesse Kuhnert
I'm not sure... You can use some fancy client side libraries but there is also the easier to implement: var flag = setInterval(function(){ // do stuff here, like call javascript functions...maybe something like tapestry.bind("generated url"); }, 1000); setInterval is like setTimeout except tha

Re: OutOfMemoryError after serving N pages

2007-06-28 Thread Jesse Kuhnert
Doesn't happen in dev or production mode with Tapestry 4.1.2. At least not even remotely near what it used to. It's possible someone may hit it at one point I suppose. On 6/28/07, Evan Rawson - Work <[EMAIL PROTECTED]> wrote: that is correct. we disable caching on our dev machines, but enabl

Re: [Tap 4.1.2] More OGNL problems

2007-06-28 Thread Jesse Kuhnert
Not sure, can you file in http://jira.opensymphony.com/browse/OGNL just in case? I usually do them all in one batch so it's in everyones best interest to get them in to jira asap. On 6/28/07, Bastian Voigt <[EMAIL PROTECTED]> wrote: Hi *, we have the following problem with both OGNL 2.7.0 and

Re: Problems with ognl 2.7

2007-06-28 Thread Jesse Kuhnert
I think his case was slightly more complicated with the (sub expression) == foo syntax,. Probably is broken I'm sure. (though not for long) On 6/28/07, Ray Fortycoats <[EMAIL PROTECTED]> wrote: perhaps this was posted in relation to the second issue? http://jira.opensymphony.com/browse/OGNL-

Re: T5: Will it be a full stack framework?

2007-06-28 Thread Todd Orr
Come on. Don't be shortsighted. I managed to add a service layer and bind it in the AppModule. I was thinking to have declarative transaction each time the web layer invoke the method in this service layer. Whatever works for you. Every project has its own nuances. For me, transactions are not a

Re: T5: Conditional JavaScript code

2007-06-28 Thread 蝈蝈龙
Hi Howard, When do TP5 plan to support CDATA? I think it is very important. 2007/6/29, Howard Lewis Ship <[EMAIL PROTECTED]>: for (var i = 0; i < someConstant; i++) { On 6/27/07, Martin Dietze <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to add inline JavaScript code to a form dependi

Re: T5: Will it be a full stack framework?

2007-06-28 Thread Joshua Jackson
On 6/28/07, Todd Orr <[EMAIL PROTECTED]> wrote: Transactions declared in the Web tier? Oy vey. What's next, Tapestry-SOAP??? Come on. Don't be shortsighted. I managed to add a service layer and bind it in the AppModule. I was thinking to have declarative transaction each time the web layer invo

Re: T5: form context not invoking onActivate with matching parameters

2007-06-28 Thread Howard Lewis Ship
There's two different contexts here: the page's activate context (produced by the "passivate" event, provided to the "activate" event and the Form component's context, which is provide to event handler methods related to the Form ("success", "prepare", etc.). The Form does not fire an "activate"

T5: form context not invoking onActivate with matching parameters

2007-06-28 Thread Ben Tomasini
I was using the following code: Start.html Start.java void onActivate() { System.out.println("No args"); } void onActivate(String value) { System.out.println("String arg"); } On a form submit, the console shows: No args I expected the form tag above to invok

Re: T5: Conditional JavaScript code

2007-06-28 Thread Howard Lewis Ship
for (var i = 0; i < someConstant; i++) { On 6/27/07, Martin Dietze <[EMAIL PROTECTED]> wrote: Hi, I would like to add inline JavaScript code to a form depending on conditions set within the page class. I thus wrote code like this: | | function myFunc() { | |

Re: T5: Will it be a full stack framework?

2007-06-28 Thread Howard Lewis Ship
One of the reasons Tapestry uses the T5 IoC container is to allow this debate to actually pursue both desired courses: keep it simple and focused vs. be a full stack. Because of the IoC container, the dynamic module discovery, and the distributed service configuration (wherein modules may contrib

Re: Updated T5 Tutorial

2007-06-28 Thread Howard Lewis Ship
5.0.6 will have some kind of pop-up calendar, a date-input field. Jetty is just easier to use from inside Eclipse than Tomcat. YMMV. On 6/28/07, Bhuiyan, Nazmul <[EMAIL PROTECTED]> wrote: Great!! Is it possible for you to include Date field and validation into the form (e.g. Address created on

RE: Updated T5 Tutorial

2007-06-28 Thread Bhuiyan, Nazmul
Great!! Is it possible for you to include Date field and validation into the form (e.g. Address created on) that capture date and time? What are the advantages using Jetty over Tomcat? Thanks a lot for giving us Tapestry Naz -Original Message- From: Howard Lewis Ship [mailto:[EMAIL PROT

Re: [T5] tapestry-spring and WebApplicationContext

2007-06-28 Thread Fidel Chavarria
Hi I think this willhelp you, http://tapestry.apache.org/tapestry5/tapestry-spring/ cyrille37 wrote: > > Hi, > > In the T5 tapestry-spring documentation it is writed to don't use other > Spring beans than Singleton ones. > Inject the WebApplicationContext instead. > http://tapestry.apache.

Updated T5 Tutorial

2007-06-28 Thread Howard Lewis Ship
The T5 Tutorial has been updated: - It is now HTML format, not PDF - I've added a chapter on forms and validation it's still very much a work in progress, but I think it will server many people's needs better than the raw reference documentation. http://tapestry.apache.org/tapestry5/tutorial1/i

Re: [T5] Can't put mixins in parent classes?

2007-06-28 Thread Howard Lewis Ship
It is very important that the abstract base class be in a controlled Tapestry folder; typically you'll put the base class in root.base (and your concrete pages go in root.pages). If Tapestry doesn't get a chance to transform the class, then annotations and the rest simply don't happen. This is i

Tap 4.1.2 PageNotFoundException not caught

2007-06-28 Thread Shing Hing Man
After updating to the latest Tap 4.1.2, a PageNotFoundException is no longer caught in the following piece of code in my border component. public boolean isShowHelpLink() { boolean show = true; IPage currentPage = getPage(); String helpPageName = c

Re: [t4] EventListener question

2007-06-28 Thread Julian Wood
Well I'll look forward to the time when that's implemented! But I'm still curious what the problem is with my original approach, as it seems to be a different problem. That is, after an initial async submission, the eventlistener invokes the listener on the submit button when it shouldn't.

Re: T5: Component Cheatsheet

2007-06-28 Thread Howard Lewis Ship
Your state diagram lays out a lot nice than mine, I'll see about updating mine to match yours. On 6/28/07, Ben Acker <[EMAIL PROTECTED]> wrote: This is great! Thanks! Ben On 6/28/07, David Peterson <[EMAIL PROTECTED]> wrote: > > I put together a simple cheatsheet for the Tapestry 5 component p

[T5] tapestry-spring and WebApplicationContext

2007-06-28 Thread #Cyrille37#
Hi, In the T5 tapestry-spring documentation it is writed to don't use other Spring beans than Singleton ones. Inject the WebApplicationContext instead. http://tapestry.apache.org/tapestry5/tapestry-spring/ But howto inject the WebApplicationContext ? thanks cyrille --

Re: [T5] Configurable value encoders for select?

2007-06-28 Thread Howard Lewis Ship
This is in 5.0.5, it's a new service called ValueEncoderSource. You can map types to a ValueEncoderFactory implementation. On 6/28/07, Dan Adams <[EMAIL PROTECTED]> wrote: Select has hard-coded support for Enums and then defaults to strings. Could we introduce a service that would allow register

Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread spot_
Hi Marcus no, I didn't set it explicitly anywhere in the code. This is the first time, I recognize this parameter. I also tried to fix the problem using this parameter and set it to dojoPath="classpath:/dojo-0.4.3/" as I saw it in the tapestry 4.2.1 jar file, but with the same results. Any furth

Re: T5 : potential feature - JSON component

2007-06-28 Thread Evan Rawson - Work
thanx for bringing that up. flash would be really nice as well, that could expand alot of the UI. however i really think AJAX is gonna take over flash as more and more things are discovered which you can do with AJAX. flash is kewl, but its also plugin dependent where as AJAX works on any JS com

Re: T5 : potential feature - JSON component

2007-06-28 Thread #Cyrille37#
I spoke about Java Applet, but we can think about Macromedia Flash too. Flash is a really nice technology. If JSon is implemented in Tapestry like every great Tapestry designs, it should be very easy to add more protocols !! cyrille. Evan Rawson - Work a écrit : it really wouldn't be that

[T5] Configurable value encoders for select?

2007-06-28 Thread Dan Adams
Select has hard-coded support for Enums and then defaults to strings. Could we introduce a service that would allow registering values encoders by type? I just hit a situation where I had to register an encoder because my options were a list of booleans. Could also be useful for lists of hibernate

Re: is ognl usable inside *.css files ?

2007-06-28 Thread Evan Rawson - Work
good question we made this like 16 months ago, so i gotta remember how it works. this stomps out the shell and replaces it with your own custom. we did this so we can easily incorporate a DB driven meta generator, as well as full control of the head. really it wasn't that bad to make it. took ab

RE: is ognl usable inside *.css files ?

2007-06-28 Thread Ken nashua
Evan I appreciate your assistance and knew you had the best solution. But does your derivative completely stomp/override and replace default Shell.renderComponent? Or does the default Shell.renderComponent get executed somewhere? I am just wondering if you had to go thru th epain of copying o

Re: T5 : potential feature - JSON component

2007-06-28 Thread Evan Rawson - Work
it really wouldn't be that hard. basically you would create a java class to generate your RPC calls and internally within your java app it would share data via java objects. i believe they would be serialized so you could easily access and share them. the bulk of the work would be having the t

Re: upgrade to 4.1.1

2007-06-28 Thread Paulo Ramos
This example may help you. Paulo Ramos Test.html: estadoactual onclick="this.disabled = true"/> onclick="this.disabled = true"/> --- Test.page: value="ognl:{'AjaxEstadoAc

Re: is ognl usable inside *.css files ?

2007-06-28 Thread Evan Rawson - Work
our company hasn't migrated to t5 yet so my syntax experience in that version is only limited to 3.1 this is how we handle extending our external shell which generate the external css links, basically this generates our own custom head to all pages within our app. import java.util.Date; impo

Re: OutOfMemoryError after serving N pages

2007-06-28 Thread Evan Rawson - Work
that is correct. we disable caching on our dev machines, but enable it on our live servers and testing servers. This allows for less local resources to be used and faster redeployments, usually only happens after say 20 to30 redeployments on a 2gig box. using about 60% of system resources. Ive s

Re: upgrade to 4.1.1

2007-06-28 Thread craigham
that is what I tried to do with the annotation isn't it? i can't find the documentation or an example to explain it. Paulo Ramos wrote: > > Hi, > > Why you dont use ajax to do this? > > Paulo Ramos > > > > - > To unsu

Re: upgrade to 4.1.1

2007-06-28 Thread Paulo Ramos
Hi, Why you dont use ajax to do this? Paulo Ramos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 : potential feature - JSON component

2007-06-28 Thread #Cyrille37#
Hello, I'm interesting by the subject. How to integrate JSON with Tap5 in a nice way. For the moment I'm using http://oss.metaparadigm.com/jsonrpc/ to communicate between Java Applets and WebApps. But I didn't integrate it in Tapestry ; I'm using the JSonRpc Servlet and share objects with We

Re: T5 How reach Sub components informations

2007-06-28 Thread David Avenante
Merci Francois j'ai bien lu cette partie de la documentation mais mon probleme est que je voudrais "decouvrir" ces composants donc je ne connais pas leurs id ni leur type. En fait je recherche a savoir si il existe une facon de lister les sous composants suivant leur type (Class) et pour chacun

RE: is ognl usable inside *.css files ?

2007-06-28 Thread Ken nashua
Also, is it possible for someone to offer a snippet as how to actually implement the instrumentation of the CSS logic? is this specified in a template? Or do I have to write it out to the writer? Thanks for any assistance. Best regards Ken in nashua ___

RE: is ognl usable inside *.css files ?

2007-06-28 Thread Ken nashua
Folks, I am trying to get a handle on the right way to extend Shell component. I would like to use OGNL based on Evan Rawson's best practice. Currently I am receiving this... org.apache.hivemind.ApplicationRuntimeException component: [EMAIL PROTECTED] location: context:/WEB-INF/Home.page, li

Re: T5 How reach Sub components informations

2007-06-28 Thread Francois Armand
David Avenante wrote: Hi, I try to create a component with embedded sub component. How can I access in my root component to the informations about my sub components ? You can access sub component trough ComponentResources 8< @Inject private ComponentResources resources;

T5 simple problem

2007-06-28 Thread matt22
I use T5-5.0.4 without Maven. I use Netbeans and Tomcat 5.5, and have a primitive problem with components. I have page StartPage.html: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> hilo Start Page 123ItemsView And Component-ItemsView template: http://tapestry.apache.or

T5 How reach Sub components informations

2007-06-28 Thread David Avenante
Hi, I try to create a component with embedded sub component. How can I access in my root component to the informations about my sub components ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: upgrade to 4.1.1

2007-06-28 Thread craigham
my task is very similar to processing a payment request for a shopping cart. This task can take 4 seconds. I use jms to start this async process. I think I just need to poll the server from the client to see when the processing is done, and when done move on to the next step in the process.

Re: OutOfMemoryError after serving N pages

2007-06-28 Thread Norman Franke
I get this if I disable caching after a while. However, I have not seen it with caching enabled. -Norman On Jun 28, 2007, at 11:47 AM, Evan Rawson - Work wrote: what application host are you using. cuz i know in tomcat, when you redeploy X amount of times you will get out of memory error. i

[T5] Can't put mixins in parent classes?

2007-06-28 Thread Dan Adams
I put a mixin in an abstract parent class of a component and it was ignored. I just moved it down to the concrete class and it worked fine. Is this the decided behavior? -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 --

Re: Component Cheatsheet

2007-06-28 Thread Evan Rawson - Work
thats awesome. we need more charts like that :) maybe an interactive one on the website would be best, then we can have only one tab ;) evan - Original Message - From: "David Peterson" <[EMAIL PROTECTED]> To: Sent: Thursday, June 28, 2007 9:45 AM Subject: T5: Component Cheatsheet I

T5 : potential feature - JSON component

2007-06-28 Thread Evan Rawson - Work
It would be great if a JSON component could be created for T5. After some extensive research i feel that this feature really would add a ton of flexibility of how your tapestry application can communicate with other tapestry application running on a network. For example my company needs to spli

Re: [Tap 4.1.2] More OGNL problems

2007-06-28 Thread Christian Dutaret
Did you try to replace getLoggedIn() by isLoggedIn()? 2007/6/28, Bastian Voigt <[EMAIL PROTECTED]>: Oh I forgot to say that all this was working with Tap 4.1.1 Bastian Voigt wrote: > Hi *, > > we have the following problem with both OGNL 2.7.0 and OGNL > 2.7.1-20070625 on Tap 4.1.2 with a cons

Re: [T5] OS Summit Asia submission

2007-06-28 Thread Evan Rawson - Work
good write up. i couldn't see y they wouldn't accept that. i truly believe that tapestry will become the leader in web application development. when someone finally makes a working opensource visual IDE for T5 its gonna be game over =) evan - Original Message - From: "Kolesnikov, Alex

Re: OutOfMemoryError after serving N pages

2007-06-28 Thread Evan Rawson - Work
what application host are you using. cuz i know in tomcat, when you redeploy X amount of times you will get out of memory error. i dont know if this is some how related. but the only way to fix it is to shut down and start tomcat back up. evan - Original Message - From: "Thomas Wiz" <

Re: upgrade to 4.1.1

2007-06-28 Thread Evan Rawson - Work
i didn't think tapestry had that kinda control, so we use quartz scheduler, which is invoked by the servlet during loading of the application. the application can use the quartz methods to set up new jobs to be chron'd or one time runs. Its works really well. we use it to import and export data

Re: T5: Will it be a full stack framework?

2007-06-28 Thread Francois Armand
Kalle Korhonen wrote: Tapestry 4 isn't far behind in powerfulness and in some areas way ahead, but certainly with a higher learning curve. Well, I'm just a beginner with Tapestry 5, and don't even had a look to Tapestry 4, so my notice was just about the thrill I have to use T5 :) (I'm coming

Re: T5: Will it be a full stack framework?

2007-06-28 Thread Kalle Korhonen
On 6/28/07, Francois Armand <[EMAIL PROTECTED]> wrote: My personal thought are that this kind of application will come to life in a near future... It already exists Trails (http://www.trailsframework.org) for Tapestry 4, and well... Tapestry 5 seems to be so pleasant and so powerful... Just need

Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread Marcus Schulte
do you have the @Shell parameter "dojoPath" set explicitly somewhere, possibly in an override for the standard Exception -page? 2007/6/28, spot_ <[EMAIL PROTECTED]>: Hi all I have a problem after upgrading to Tapestry 4.1.2. Here is the stack trace: org.apache.hivemind.ApplicationRuntimeExc

AW: How can i make a Tapestry Component of a Stream Response

2007-06-28 Thread Peter Schröder
hi fidel, there is already an example somewhere on the list. search for streamresponse or chart. kind regards, peter -Ursprüngliche Nachricht- Von: Fidel Chavarria [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 28. Juni 2007 01:09 An: users@tapestry.apache.org Betreff: How can i make

Re: T5: Component Cheatsheet

2007-06-28 Thread Ben Acker
This is great! Thanks! Ben On 6/28/07, David Peterson <[EMAIL PROTECTED]> wrote: I put together a simple cheatsheet for the Tapestry 5 component parameters and the rendering cycle. I've been finding it useful, so I thought I might as well stick it on the web in case you find it useful too...

Re: T5: Component Cheatsheet

2007-06-28 Thread Francois Armand
David Peterson wrote: I put together a simple cheatsheet for the Tapestry 5 component parameters and the rendering cycle. I've been finding it useful, so I thought I might as well stick it on the web in case you find it useful too... http://www.davidpeterson.co.uk/files/tapestry5/t5-component-

Re: [Tap 4.1.2] More OGNL problems

2007-06-28 Thread Bastian Voigt
Oh I forgot to say that all this was working with Tap 4.1.1 Bastian Voigt wrote: Hi *, we have the following problem with both OGNL 2.7.0 and OGNL 2.7.1-20070625 on Tap 4.1.2 with a construct like this: html-- You do not have the permission for this! ---

T5: Component Cheatsheet

2007-06-28 Thread David Peterson
I put together a simple cheatsheet for the Tapestry 5 component parameters and the rendering cycle. I've been finding it useful, so I thought I might as well stick it on the web in case you find it useful too... http://www.davidpeterson.co.uk/files/tapestry5/t5-component-cheatsheet.pdf David

Re: T5: Will it be a full stack framework?

2007-06-28 Thread Francois Armand
Robert Sanders wrote: I certainly don't think that tapestry-core should ever be a "full stack", but I hope that there is eventually something like the quick-start which allows new users to generate a "quick and dirty" CRUD application very easily (it would be nice it this were less typing than

Re: [T5] missing some listener to bind component/page events ?

2007-06-28 Thread Francois Armand
#Cyrille37# wrote: Thank you François, The problem is not on the component context, but on the component id. Oups ^^ I think a listener concept is missing ! Another example : (This code is invalid because of the duplicate component id) YES YES Object onActionFromWant2beRich( boole

Re: T5: Will it be a full stack framework?

2007-06-28 Thread Robert Sanders
Francois Armand wrote: Todd Orr wrote: [] More to the point, I believe that Howard and the Tapestry developers will be utilized as development resources most effectively if the focus remains on creating the #1 MVC framework. Thanks a million guys! Just to continue arguing in this way : I use

Re: Problems with ognl 2.7

2007-06-28 Thread Ray Fortycoats
perhaps this was posted in relation to the second issue? http://jira.opensymphony.com/browse/OGNL-96 On 6/28/07, Maximilian Weißböck <[EMAIL PROTECTED]> wrote: Thanks for your feedback, I filed an Issue at OGNL Jira. And also Thanks for the great work you did in both Tapestry and OGNL. Ta

Re: [T5] How to retrieve the id of an event emitter in handler method ?

2007-06-28 Thread Francois Armand
Nick Westgate wrote: Ok, here is a solution. Took me 5 minutes to write, 20 mins to test. ;-) Oh. I should have attempt to do it :) thank you very much, works like a charm :) Yeah, this is exactly what I have implemented. Eventually a shared hidden input should probably be used, but I can't see

Re: [T5] How to retrieve the id of an event emitter in handler method ?

2007-06-28 Thread Ulrich Stärk
Nick Westgate schrieb: Ok, here is a solution. Took me 5 minutes to write, 20 mins to test. ;-) > Ulrich Stark wrote: >> Nick, >> >> there is no difference whether your event method gets triggered upon >> clicking a link or a button. Except that you can pass parameters like >> an index whe

Re: [T5] missing some listener to bind component/page events ?

2007-06-28 Thread #Cyrille37#
Francois Armand a écrit : #Cyrille37# wrote: In another way to explain, I would like to make "by hand" the same work than a t:actionLink in a t:loop the code : ${guess} create several links like : /do.guess/4 /do.guess/6 /do.guess/7 So, howto do the same "by hand" (without a lo

Re: [T5] How to retrieve the id of an event emitter in handler method ?

2007-06-28 Thread Nick Westgate
Ok, here is a solution. Took me 5 minutes to write, 20 mins to test. ;-) > Ulrich Stark wrote: >> Nick, >> >> there is no difference whether your event method gets triggered upon >> clicking a link or a button. Except that you can pass parameters like >> an index when using actionlink. And that's

Re: [T5] How to retrieve the id of an event emitter in handler method ?

2007-06-28 Thread Francois Armand
Ulrich Stärk wrote: Nick, there is no difference whether your event method gets triggered upon clicking a link or a button. Except that you can pass parameters like an index when using actionlink. And that's exactly what you want. Ok, but if the data are not transmitted to the server, we are

[Tap 4.1.2] More OGNL problems

2007-06-28 Thread Bastian Voigt
Hi *, we have the following problem with both OGNL 2.7.0 and OGNL 2.7.1-20070625 on Tap 4.1.2 with a construct like this: html-- You do not have the permission for this! java-- @InjectStateFlag("loginData") public abstract boolean getLogged

Re: [T5] How to retrieve the id of an event emitter in handler method ?

2007-06-28 Thread Ulrich Stärk
Nick, there is no difference whether your event method gets triggered upon clicking a link or a button. Except that you can pass parameters like an index when using actionlink. And that's exactly what you want. Uli Nick Westgate schrieb: This is not useful in a form. (Francois did not quote

Re: [T5] How to retrieve the id of an event emitter in handler method ?

2007-06-28 Thread Nick Westgate
This is not useful in a form. (Francois did not quote his original email which describes his use case.) Cheers, Nick. Ulrich Stärk wrote: Use an actionlink and it's context parameter. See here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html Uli Nick Westgate schrieb: H

Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread spot_
Hi all I have a problem after upgrading to Tapestry 4.1.2. Here is the stack trace: org.apache.hivemind.ApplicationRuntimeException: There was an error borrowing the page with key PageKey[_pageName='Exception' , _locale=de_DE ] from the page pool. [classpath:/org/apache/tapestry/html/Shell.jwc

Re: [T5] How to retrieve the id of an event emitter in handler method ?

2007-06-28 Thread Ulrich Stärk
Use an actionlink and it's context parameter. See here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html Uli Nick Westgate schrieb: Hi Francois. I had a similar situation but was able to use multiple forms, so each had a different context used for identification. T5 needs

Re: [T5] How to retrieve the id of an event emitter in handler method ?

2007-06-28 Thread Nick Westgate
Hi Francois. I had a similar situation but was able to use multiple forms, so each had a different context used for identification. T5 needs a LinkSubmit component like that in previous versions which uses a hidden field and submits the form with Javascript. I suppose that's a hint if you have t

[T5] OS Summit Asia submission

2007-06-28 Thread Kolesnikov, Alexander GNI
Okay, I have submitted two topics to OS Summit Asia, see below. Let's see whether they will be accepted. *** Submitter: Alexander Kolesnikov <[EMAIL PROTECTED]> Title: Creating Web Applications with Apache Tapestry 5 Level: Novice Style: Tutorial-full Orientation: Developer Duration: 360 Categori

Re: Refreshing a dojo Dialog on submit

2007-06-28 Thread Heping Zhang
do you resolve the problem? I think you can try to update the entire dialog box component, not only the if component, or something like this, contains the error message. I don't know whether it will work in your project, but I when encounter this problem, I tried this and it works.

Re: [T5] How to retrieve the id of an event emitter in handler method ?

2007-06-28 Thread Francois Armand
Francois Armand wrote: Hello, I would like to know how I can retrieve the ID of the component which triggered an even when I'm in an event handler method ? [] I'm still interested by an hint on this topic... - To unsu

Re: [T5] missing some listener to bind component/page events ?

2007-06-28 Thread Francois Armand
#Cyrille37# wrote: In another way to explain, I would like to make "by hand" the same work than a t:actionLink in a t:loop the code : ${guess} create several links like : /do.guess/4 /do.guess/6 /do.guess/7 So, howto do the same "by hand" (without a loop) ??? You can use list i

Re: OutOfMemoryError after serving N pages

2007-06-28 Thread Thomas Wiz
Arjan Verstoep wrote: > > I'm building an application with the Tapestry 4.0.2 framework, which > manages my music-collection. I'm getting OutOfMemoryErrors since I've > created a small ajax-ish component that refreshes every 10 seconds to > show the song that is currently playing. A piece of

Re: T5: Will it be a full stack framework?

2007-06-28 Thread Francois Armand
Todd Orr wrote: [] More to the point, I believe that Howard and the Tapestry developers will be utilized as development resources most effectively if the focus remains on creating the #1 MVC framework. Thanks a million guys! Just to continue arguing in this way : I use Tapestry 5 to build an

AW: Problems with ognl 2.7

2007-06-28 Thread Maximilian Weißböck
Thanks for your feedback, I filed an Issue at OGNL Jira. And also Thanks for the great work you did in both Tapestry and OGNL. Tapestry 4.1.2 looks very promising! Max > -Ursprüngliche Nachricht- > Von: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 27. Juni 2007 21:22