T5: Transformation rename method

2007-10-27 Thread Robin Helgelin
On 6/29/07, Dan Adams <[EMAIL PROTECTED]> wrote: > yeah, the docs say that it adds you code to the end of it. I added a > ticket: > > https://issues.apache.org/jira/browse/TAPESTRY-1615 Hi Dan, thanks for the prefixMethod. However, the original issue suggests that one should be able to rename a m

Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-27 Thread Eko S.W.
Great! I just know that I had to rename and move the templates! Now its' working !!! Thanks! 2007/10/27, jblier <[EMAIL PROTECTED]>: > > > Thanks for the answer, > > Now my application is loading (aside from some components). > > I still get a warning, though: > log4j:WARN No appenders could be fo

Re: T5: Transformation rename method

2007-10-27 Thread Robin Helgelin
On 10/27/07, Robin Helgelin <[EMAIL PROTECTED]> wrote: > thanks for the prefixMethod. However, the original issue suggests that > one should be able to rename a method, are there any works on this? Ok, I have something running here but I'm having two different kind of problems. 1: I use CtNewMeth

T5 page without a class (only a template)

2007-10-27 Thread Ben Gidley
Hi, Is it possible to create a T5 page that doesn't have a class - only a template. For example I have a simple case of a page that simply uses other components, so the java class for it is basically empty. However if I don't create the class T5 doesn't seem to find the page. Is there a way roun

Re: T5 page without a class (only a template)

2007-10-27 Thread Nick Westgate
No. The class defines the page. This is implicit in the design. The alternatives are a slippery slope to configuration complexity. Cheers, Nick. Ben Gidley wrote: Hi, Is it possible to create a T5 page that doesn't have a class - only a template. For example I have a simple case of a page th

Re: EventListener and PropertySelection (Solution)

2007-10-27 Thread lt
Ok after looking into this. It appears to be a conflict with DOJO and Prototypte. the isNode method in dojo check to see if Element is of type function and then compare it to the object. I am not willing to give up prototype for this, so i just commented out this section of the code in /dojo-0.4

Re: Tapestry 5 Roadmap

2007-10-27 Thread Howard Lewis Ship
Thanks for the vote of support! I concur, I don't think of final release in terms of code quality, since I strive to keep code quality high at all times. It's mostly about missing features. Sure there's lots of fiddly little bits that need some work (many localization issues, trickiness with form

T5: Application State

2007-10-27 Thread Christoph Jaeger
Hi, after upgrading from 5.0.5 to 5.0.6 (which was not too difficult thanks to some messages on this list), my application somehow seems to not work with the @ApplicationState as before. I have three components on my page: - LanguageSwitch - MenuBar - Login Depending on who is logged in and the

T4.1: Failure to export classpath resource /tapestry.

2007-10-27 Thread Malin Ljungh
Hi there all, I have this strange stack trace on my log. Have no idea where it comes from or how to make it happen. Has anyone seen this? It's on Tomcat. /Malin ** Failure to export classpath resource /tapestry. Exceptions: java.lan

Re: T4.1: Failure to export classpath resource /tapestry.

2007-10-27 Thread Martin Strand
I've seen that too, but I haven't figured out what the cause is. (Using Tomcat) Sometimes it's "java.lang.NumberFormatException: multiple points" instead of NullPointerException. Please post again if you find something. Martin On Sat, 27 Oct 2007 20:30:13 +0200, Malin Ljungh <[EMAIL PROTECTE

T5: BeanEditForm

2007-10-27 Thread Christoph Jaeger
Hi, I like using the BeanEditForm, but I think there should be some additional annotations to make it even easier to use. There is already an annotation called "NonVisual" to mark properties you do not want to display on your page. How about @Display(type=password) so you do not have to use

Re: T5: BeanEditForm

2007-10-27 Thread Christian Gruber
Hmm. I've definitely wondered this as well. Unfortunately, something like this might bind the view and the model too closely together. You're really then instrumenting your model not with business logic (per, validate) but with display characteristics which starts to move away from the p

Re: T5: BeanEditForm

2007-10-27 Thread Christoph Jaeger
When I initially saw Howard's screencast, the first thing that came to my mind was similar to your thoughts: this binds view and model too close together. I don't want to have view-related annotations in my business objects. Then I thought about how to solve this. Somehow you have to define which

Re: T5: BeanEditForm

2007-10-27 Thread Howard Lewis Ship
I've been thinking in terms of @Type("foo"). Right now, it is deducing the type exclusively from the Java type: so String and Number -> text, etc. Allowing @Type would provide an easy way to reference additional, or custom, types such as "password" or "textarea", etc. On 10/27/07, Christoph Jaeg

Re: T5: BeanEditForm

2007-10-27 Thread Howard Lewis Ship
Two notes: 1) I've moved the annotations out of tapestry proper, into a tiny additional JAR containing just the annotations. This makes it more palatable to use them outside of the web tier without dragging in an extra MB or so of dependencies. 2) The mechanism by which we go from beans and prop

Re: T5: Application State

2007-10-27 Thread Howard Lewis Ship
Please add an issue to JIRA. Although we have unit and integration tests covering the application state mechanism it is still possible that there is a bug. On 10/27/07, Christoph Jaeger <[EMAIL PROTECTED]> wrote: > > Hi, > > after upgrading from 5.0.5 to 5.0.6 (which was not too difficult thanks

Re: T5: BeanEditForm

2007-10-27 Thread Kalle Korhonen
How Trails does it, is that it builds descriptors (that hold metadata) for the business classes and their properties. You can modify this metadata with annotations (that you would attach directly to the business entity), or later on, programmatically in the page class. Type, size, validation, etc a

Re: T5: Application State

2007-10-27 Thread Christoph Jaeger
I do not have a JIRA account yet. Unfortunately, it seems I can not sign up right now (always get a "session timed out" error message in the signup screen). Maybe it has to do with the switching of daylight saving time, which happens right now. I'll try again later. Should I create a small example

T5: property value in external javascript file

2007-10-27 Thread Angelo Chen
Hi, How to get properties value in an external javascript file? example: I have this: var link = "$(theLink)"; it does not expand, i tried to put prob: before that, same, any ideas? Thanks, A.C. -- View this message in context: http://www.nabble.com/T5%3A-property-value-in-external-javascr