Re: Problem wuth internacionalization

2008-05-12 Thread Michael Gerzabek
It depends on how your Module is named. If you name it .services.StartModule then it's Start.properties (Start_.properties). The archetype creates an AppModule.java file, so the right name is App.properties. Beginning from 5.0.6 - I suspect - you further have to put your templates into the we

problem in defining dojo.registerModulePath

2008-05-12 Thread abhilash
Hi all, I am using Tapestry4.1.5 I have a custom widget.When i try to access my custom widget the javascript errors i am getting are as follows. GET http://localhost:8080/dentaprise/asset.svc?path=%2Fdojo-0.4.3-custom-4.1.5%2F../mywidgets/widget/__package__.js404 (23ms)asset.svc (line 766) GET ht

Re: Problem wuth internacionalization

2008-05-12 Thread dh ning
Hi, What's your tapestry version? If is the latest version, you should not put the start.tml, start.properties in WEB-INF. They should be in parent level of WEB-INF(src/main/webapp/) or in /src/main/resources/com/igno/bookStore/pages/. And for app.properties, it should be always in WEB-INF. Thank

Re: Alternative to OutputLocale

2008-05-12 Thread Filip S. Adamsen
Hi, How about ${format:date-format=object.date} where date-format is picked up from the message catalogue? That's only one of many exciting possibilities with the format binding prefix: http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix I use it like that all the tim

Alternative to OutputLocale

2008-05-12 Thread Toby Hobson
Hi I was wondering if there is a way to display a localized date using an expansion, my idea is something like this: tml contains an expansion which references a Date object e.g. ${currentDate). Tapestry looks up the format for a date in the messageCatalogue and spits out the nicely formatted

Re: Quartz and IoC Registry

2008-05-12 Thread Sven Homburg
one possibility: /** * bind the http://www.opensymphony.com/quartz/";>job scheduling system. * * @param loggersystem logger * @param configuration configuration map * * @return job scheduling system */ public static SchedulerFactory buildScheduler

Problem wuth internacionalization

2008-05-12 Thread Igoor
when i make files Start.properties and Start_de.properties and put them into WEB-INF, or when i make com.igor.bookStore.pages and put these files into this root my application doesen't work... But when I make files app.properties and app_de.properties into WEB-INF whit same content like Start.prop

Re: T5: setupRender (named by convention) not called correctly in hierarchical base classes

2008-05-12 Thread Bill Holloway
That would be a way to do it, but it's just as easy to put @SetupRender on A's setup render method. I usually rename it now to "preRender()" or something. All good. On Sat, May 10, 2008 at 5:54 AM, Harald Geritzer <[EMAIL PROTECTED]> wrote: > Bill Holloway schrieb: > > > > I have two abstract co

Re: T5: Calling method with parameter in prop

2008-05-12 Thread Howard Lewis Ship
Mor expression language would be great; the pain is when you pull values out of a Map or Collection and lose their type, at which point you also lose annotations and components such as BeanEditor and Grid no longer operate as expected. But I agree that having a few boolean operators in the expres

T5 Blank option for select component

2008-05-12 Thread Toby Hobson
I am trying to display list of enums in my select component and this works well, but i would like to add a blank option and validate that the field has been selected by a user (i.e. not the blank option). Reading through the docs is seems T5 should support this but I can't seem to get it to disp

T5: Warning on grid reorder

2008-05-12 Thread Stephane Decleire
Hi all, Each time i reorder a grid by clicking on a column, i get the following warning : [WARN] ResourceCache Alias request of 'file:/F:/Steph/workspace/mailings/src/main/webapp/clients.grid.columns:sort/description' for 'file:/F:/Steph/workspace/mailings/src/main/webapp/clients.grid.colum

Re: [ANN] New article about Tapestry 5

2008-05-12 Thread Renat Zubairov
@Marcelo - Done! Thanks for the Tip! Renat 2008/5/12 Marcelo Lotif <[EMAIL PROTECTED]>: > Renat, add it to the wiki! > http://wiki.apache.org/tapestry/Tapestry5HowTos > > 2008/5/12 Ted Steen <[EMAIL PROTECTED]>: > > Very nice! > > This is needed! > > > > 2008/5/12 Filip S. Adamsen <[EMAIL PROTEC

Form AJAX submission with Zone component appears to break if form validation is added.

2008-05-12 Thread Eric Rogers
5.0.12 Snapshot If I have a page containing a form and an associated zone component to update, everything works as expected. However, when I add validation to a field on the form, the submission for the form is treated as regular submission, and not one handled through AJAX. More specifically, l

Re: EventListener and JavaScript function

2008-05-12 Thread Warner Onstine
From reading the docs I thought it was possible to intercept JavaScript objects (and functions being called on those objects), from what I'm reading here it sounds like that isn't the case. I'll investigate this further and post back any questions I have. -warner On May 12, 2008, at 1:08 AM

Re: TransformationException/ClassNotFoundException

2008-05-12 Thread zack1403
Peter, Thanks for the suggestions! The error came back after I continued building that page and one of your methods did work. I tried upgrading javassist but that didnt relieve the error and I am using jetty through eclipse with no try/catch blocks. Finally I removed the block of my code that

Re: Quartz and IoC Registry

2008-05-12 Thread Howard Lewis Ship
On Mon, May 12, 2008 at 7:53 AM, Heiko Burghardt <[EMAIL PROTECTED]> wrote: > Hello Howard, > > I am interested in using Quartz in my Tapestry 5 project and found the > following page with some comments from you to this issue: > > http://www.nabble.com/T5:-Quartz-and-the-IoC-Registry--tc14348106.

Re: T5: How do we secure our views?

2008-05-12 Thread Robert Zeigler
Basically any of the render-phase states can return false to short- circuit subsequent states (see: http://tapestry.apache.org/tapestry5/tapestry-core/guide/rendering.html for the full state diagram). So if you're looking for this sort of granularity for securing your view, one approach woul

Re: T5.0.11: onActivate() called twice, more questions

2008-05-12 Thread Szemere Szemere
Your images/pic.gif is relative to the current page url (which includes your context parameters), so will get caught as a page request by Tapestry. You should probably use src="${asset:context:images/pic.gif}" instead. Szemere On Mon, May 12, 2008 at 11:23 AM, Tomasz Dziurko <[EMAIL PROTECTED]>

Re: [ANN] JumpStart 3.6: Wizards, Conversations, and more

2008-05-12 Thread SergeEby
Hi, Read the tips on Geoff website: http://files.doublenegative.com.au/jumpstart /Serge CG-6 wrote: > > Not sure whether this is the correct place to ask abt jumpstart or > not, however, I really need some hints. > > Jumpstart is using the hsql embeded in JBoss, I would like to use > m

Re: [ANN] JumpStart 3.6: Wizards, Conversations, and more

2008-05-12 Thread CG
Not sure whether this is the correct place to ask abt jumpstart or not, however, I really need some hints. Jumpstart is using the hsql embeded in JBoss, I would like to use mysql instead, and i saw the building process does download mysql-connector-java . I wonder how should I configure to use my

problem in html with 2 forms

2008-05-12 Thread Kameswari
Iam having a HTMl page with 2 tapestry forms in it. After entering some values in the Text Boxes in the 1st form and perform some action like clicking a button in the 2nd form ,the values in the 1st form is not retained and it disappears. In order to aviod it, Iam using "Onchange" event and updat

Re: [ANN] New article about Tapestry 5

2008-05-12 Thread Igor Drobiazko
I think further parts of the article will follow :) There are a lot of things we could write about. On Mon, May 12, 2008 at 12:23 PM, Ted Steen <[EMAIL PROTECTED]> wrote: > Very nice! > This is needed! > > 2008/5/12 Filip S. Adamsen <[EMAIL PROTECTED]>: > > Wow, that's a mighty fine article! :) >

T5: How do we secure our views?

2008-05-12 Thread Partogi, Joshua
Dear all, Let me get this straight to the point. In JSF for each component there are a 'rendered' property which tells JSF whether to display the current component or not. But there isn't any property like this in T5. I do this usually to authorize user whether he/she are able to view the componen

Re: [ANN] New article about Tapestry 5

2008-05-12 Thread Marcelo Lotif
Renat, add it to the wiki! http://wiki.apache.org/tapestry/Tapestry5HowTos 2008/5/12 Ted Steen <[EMAIL PROTECTED]>: > Very nice! > This is needed! > > 2008/5/12 Filip S. Adamsen <[EMAIL PROTECTED]>: >> Wow, that's a mighty fine article! :) >> >> -Filip >> >> >> On 2008-05-11 20:58, Renat Zubairo

Re: question about submit component

2008-05-12 Thread Marcelo Lotif
Try to catch the event by your FORM ID: @OnEvent(component="addTasksForm") void onSubmitButton() { System.out.println("Submit Here"); } or simply switch the onSubmiot method by onSuccess() see http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apac

Re: T5.0.11: onActivate() called twice, more questions

2008-05-12 Thread Tomasz Dziurko
Ok, I found solution, but I still would be grateful if someone could put some light on this subject: More investigation showed me that context.length is always +1 greater than I should expect. When I printed all elements from context while executing http://localhost:8607/myApp/start/testmessage 1

Re: [ANN] New article about Tapestry 5

2008-05-12 Thread Ted Steen
Very nice! This is needed! 2008/5/12 Filip S. Adamsen <[EMAIL PROTECTED]>: > Wow, that's a mighty fine article! :) > > -Filip > > > On 2008-05-11 20:58, Renat Zubairov wrote: > > > Hello All, > > My self and Igor Drobiazko are proud to present our new article about > > Tapestry 5: > > > > "Tapes

question about submit component

2008-05-12 Thread amebaliu
Enter a to-do item Who's responsible?

T5.0.11: onActivate() called twice, more questions

2008-05-12 Thread Tomasz Dziurko
Hi. I read previous posts about problem with onActivate called twice, but none of answers seems to suit my situation. Here's the problem: Abstract base page public abstract class AbstractTopPage { private String context[]; public abstract Object performActivation(String[] context);

Re: T5: latest version?

2008-05-12 Thread Filip S. Adamsen
I upgraded from 5.0.11 to 5.0.12-SNAPSHOT a week ago or so and didn't have to change any code. But your mileage may vary. -Filip On 2008-05-12 10:43, Angelo Chen wrote: Hi, I'm using 5.0.11 dated march 12, 2008. any chance a new version be released soon? if I just use the nightly build, do I

Re: [ANN] New article about Tapestry 5

2008-05-12 Thread Filip S. Adamsen
Wow, that's a mighty fine article! :) -Filip On 2008-05-11 20:58, Renat Zubairov wrote: Hello All, My self and Igor Drobiazko are proud to present our new article about Tapestry 5: "Tapestry for Nonbelievers" published on InfoQ http://www.infoq.com/articles/tapestry5-intro Special thanks to H

Re: T5: Calling method with parameter in prop

2008-05-12 Thread Andreas Pardeike
Hi, Don't know what you folks do, but I have created a bunch of custom bindings for different cases. The only thing I actually miss is the ability to COMBINE them. I.e., I have added a binding equals:foo=bar where foo and bar can be other binding objects or literals. I use it successfully for

T5: latest version?

2008-05-12 Thread Angelo Chen
Hi, I'm using 5.0.11 dated march 12, 2008. any chance a new version be released soon? if I just use the nightly build, do I have to make some changes to the source code? Thanks. Angelo -- View this message in context: http://www.nabble.com/T5%3A-latest-version--tp17183507p17183507.html Sent fr

Re: EventListener and JavaScript function

2008-05-12 Thread Marcus Schulte
Hi Warner I'm not quite sure whether I understand you setup completely. Nevertheless two hints: - the "targets" attribute must refer to tapestry components. If you want to refer to a client-side object use "elements". - The element you want to intercept indeed *must* be a DOM-node. You could cal

Re: Implementation dojo widget as a tapestry component

2008-05-12 Thread Renat Zubairov
Hi You can check the Tacos 4.1.1, they have a special generic component for Dojo widgets: *Dojo Widget -* Generic componentfor all dojo widgets. Just use the formal parameter dojoType to determine which do

Re: TransformationException/ClassNotFoundException

2008-05-12 Thread Peter Stavrinides
When using Java 6 with Javassist you will come across these problems eventually, we have been using it for nearly a year and the good news is that it can work reliably. We had to suffer somewhat until we found some workarounds though, so anyone with this setup please take note of the following: