Load ClassPathXMLApplicationContext just one time in the app

2008-10-02 Thread Daniel Alonso Sanchez
Hi everybody. I'm trying to optimize the loading of the cxf XML context of our application (for web services invocation) and so i have been reading all the stuff concerning Binding, because i think that, as happens with another modules like Hibernate, is there a possibility to load the xml context

T5: Function Tapestry.Validator.email() does not exist for field 'email'.

2008-10-02 Thread buckofive
Hi all, I just updated to the latest snapshot 5.0.16-SNAPSHOT and I'm getting a client side error during the initial page load: Function Tapestry.Validator.email() does not exist for field 'email'. My Entity method is defined as: @Validate("required,maxlength=70,email") public S

Re: T5: multi-module, multi-developer project

2008-10-02 Thread Kristian Marinkovic
hi angelo, we are devloping a quite huge application using t5 by splitting it into many T5 IOC modules. Every developer is responsible for his module and must ensure that his modules' UI is testable and can run on it self. so every module has also a web.xml in his test/ directory. The result

Interactive Organisation Chart in T5

2008-10-02 Thread wesley
hi all, I've been wondering is there a component which can render organisation chart in T5 pages? which will have a very basic interactive such as click and fire an event based on the hierarchical boxes? the closest to it was Tree structure that i found on the wiki tutorial pages, but its best to

Re: My Tapestry5 suggestion list

2008-10-02 Thread Thiago H. de Paula Figueiredo
Em Thu, 02 Oct 2008 18:04:24 -0300, Alex Kotchnev <[EMAIL PROTECTED]> escreveu: Who would have thought this much discussion would come out of this :-) Unanimities are boring and we learn next to nothing with them. :) I am not advocating the usage of some "other" magical framework to ma

T5: multi-module, multi-developer project

2008-10-02 Thread Angelo Chen
Hi, I'd like to know how to use T5 in a multi module project, example: 2 developers, each handle one module, A/P and Inventory, should this be two T5 app accessing the same database or one T5 app? which is a better approach? thanks. Angelo -- View this message in context: http://www.nabble.com

contributeMetaDataLocator ordering....

2008-10-02 Thread Tom Zurkan
I am including the annotation SubModule In one of the sub modules I call contributeMetaDataLocator and set up default values for my meta data. In my AppModule, I also call contributeMetaDataLocator to override the default. The problem is that my AppModule contribute is being called first

How to force values list to show in AutoCompleter component

2008-10-02 Thread Hugo Palma
I'm using the Autocomplete component with success but i'd like to provide a button next to it that would force the values list to show up. As the component doesn't keep the Ajax.Autocompleter javascript object that contains the appropriate methods for this i'm unable to find another way. Any i

Re: My Tapestry5 suggestion list

2008-10-02 Thread Marcelo Lotif
Hi all,I think that Chris' points are the most important ones, together with the #5 from Tobias (resolving template/component class names, i.e. naming strategy). Mainly the configurable URL's, the built in feature is REALLY great, but it's tricky sometimes... Adding these features to the core will

tapestry5.16-SNAPSHOT error with forms and zones on firefox....

2008-10-02 Thread Tom Zurkan
I am calling form.onsubmit through javascript. I am having problems with forms and zones on firefox 2. I get "event has no properties" in prototype.js(line 3801). The thing is, it works on IE 7 with no javascript errors. Anyone else aware of this problem? This also worked on tapestry5.11.

Re: My Tapestry5 suggestion list

2008-10-02 Thread Alex Kotchnev
A big +1 on URL rewriting that supports i18n. As a matter of fact the teensy app that I'm writing in T5 is not primarily for the US market and now my choices are not appealing at all: 1. Use english class names for pages and hope that non-english speaking customers are OK with that 2. Use the no

Ajax Response in IE with HTML Entities (4.1.6)

2008-10-02 Thread lt
In rendering a response from an async request, my html comes back valid. All browsers work but IE. I have narrowed it down to special characters such as ®. Without those IE works. With characters like that, the component doesn't update. There has to be a fix for this. My page has a valid dtd

Re: My Tapestry5 suggestion list

2008-10-02 Thread Chris Lewis
Good point. Markus Joschko wrote: > Talking about configurable URLs: Don't forget i18n issues. > We once had a product where customers wanted to have the URL > internationalized to be meaningful in different countries. > This requirement is not uncommon in Europa at least. > >

Re: My Tapestry5 suggestion list

2008-10-02 Thread Markus Joschko
Talking about configurable URLs: Don't forget i18n issues. We once had a product where customers wanted to have the URL internationalized to be meaningful in different countries. This requirement is not uncommon in Europa at least. --

T4: Deploy Tapestry in dmServer

2008-10-02 Thread craigham
Hi, Has anyone successfully deployed a Tapestry application within the Spring osgi server? I found a bundle for 4.1.5. that Jesse had provided, however, I cannot seem to get even a hello world application to work. Not sure what the web.xml should look like, and I get a strange error with the hi

Re: My Tapestry5 suggestion list

2008-10-02 Thread Chris Lewis
Hello, The only one of these that I'm interested in is the ability to have class-less components (just markup, no logic). I filed an issue for this many months ago, and am no longer certain where in the mix it is. I'll add one: Configurable URL-mapping service. I loathe - /loathe/ the fact that

Re: My Tapestry5 suggestion list

2008-10-02 Thread Alex Kotchnev
Who would have thought this much discussion would come out of this :-) Anyway, some more comments from me : On Thu, Oct 2, 2008 at 1:51 PM, Thiago H. de Paula Figueiredo < [EMAIL PROTECTED]> wrote: > Em Thu, 02 Oct 2008 13:10:23 -0300, Alex Kotchnev <[EMAIL PROTECTED]> > escreveu: > > 5. resolv

T4: Tapestry.onsubmit does not block form submission.

2008-10-02 Thread leonelag
Hi all, I'm using T4.0.2. I'm trying to validate a field via Javascript before submitting it. So far, I've included this snippet of code in my script file, that I'm including with a @Script component. Code: function doSomething() { ... } function validateUsername() {

Re: My Tapestry5 suggestion list

2008-10-02 Thread Daniel Jue
On Wed, Oct 1, 2008 at 4:38 AM, Tobias Marx <[EMAIL PROTECTED]> wrote: > Hi there! > > Here is my list of Tapestry5 suggestions: > > > Tapestry5 Suggestions: > > 1. User .tpl instead of .tml. This way there is also no problem with syntax > highlighting in most editors. > We already voted a while

Re: My Tapestry5 suggestion list

2008-10-02 Thread Thiago H. de Paula Figueiredo
Em Thu, 02 Oct 2008 13:10:23 -0300, Alex Kotchnev <[EMAIL PROTECTED]> escreveu: 5. resolving template/component class names: This one seems interesting, certainly some variation in the allowed naming conventions seems nice if it's configurable (e.g. a naming strategy) I don't know wheth

RE: template dynamics

2008-10-02 Thread Jonathan Barker
Luther, My practice is a carry-over from T4. It could use some streamlining. I have a Menu component class with public String getPageName(){ return _resources.getPageName(); } And then in my Menu.tml, I use the ognl binding available from the t5components libra

Re: My Tapestry5 suggestion list

2008-10-02 Thread Filip S. Adamsen
Hi, On 2008-10-02 18:10, Alex Kotchnev wrote: 4. Allow the use of templates without having to have a corresponding Java class for it. This would certainly be nice, as on a small project that I do (that for now only has little functionality) I already have a whole bunch of dumb java classes

Re: template dynamics

2008-10-02 Thread Luther Baker
Sorry. My point was to ask for suggestions. My tapestry development is in somewhat of a Vacuum so looking for some hints for this end goal. This process is a bit point blank... maybe there is a better method to use on the java class that is a part of the lifecycle of the component. As mentioned ea

Re: template dynamics

2008-10-02 Thread Luther Baker
I wrote a small custom menu component that includes or doesn't include an anchor href based on the href of the current page. I wonder if the block approach suggested here would be cleaner? I use the following idiom: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

Re: My Tapestry5 suggestion list

2008-10-02 Thread Alex Kotchnev
5. resolving template/component class names: This one seems interesting, certainly some variation in the allowed naming conventions seems nice if it's configurable (e.g. a naming strategy) > > > 1. User .tpl instead of .tml. This way there is also no problem with > > syntax highlighting in mos

Re: problem beaneditform and external ejb3

2008-10-02 Thread Thiago H. de Paula Figueiredo
Em Thu, 02 Oct 2008 05:39:12 -0300, mdes <[EMAIL PROTECTED]> escreveu: The problem with the beaneditform is that I want Tapestry to create an "empty" instance of my entity bean, but at the moment he can't understand what type he has to use (in this case, Operator). Maybe the problem is exact

RE: problem beaneditform and external ejb3

2008-10-02 Thread Jonathan Barker
This is one of those cases where the source would help. Re-reading your error message, it sounds like you are missing t:type="beaneditform" from your template. This doesn't have anything to do with your entity (yet). > -Original Message- > From: mdes [mailto:[EMAIL PROTECTED] > Sent: T

Re: template dynamics

2008-10-02 Thread Ulrich Stärk
That's a really nice solution. Have to keep that in mind. Uli Am Do, 2.10.2008, 15:49, schrieb Filip S. Adamsen: > Hi, > > Define Blocks containing the different states you need and use a > Delegate to render the block you need based on an expression. This way > you can do the whole if-then-else/

[T5] force a Zone update after page rendering?

2008-10-02 Thread Andy Pahne
I'd like to force a Zone update after page rendering without clicking any links or submitting any forms. I have the Zone ID, but have no idea how to execute the update or how to connect the update with a listener (like I would if I used an ActionLink). Andy --

Re: Load ClassPathXMLApplicationContext just one time in the app

2008-10-02 Thread Thiago H. de Paula Figueiredo
Take a look at the tapestry-spring project. ;) Em Thu, 02 Oct 2008 09:08:14 -0300, Daniel_ Alonso Sanchez <[EMAIL PROTECTED]> escreveu: Hi everybody. I'm trying to optimize the loading of the cxf XML context of our application (for web services invocation) and so i have been reading all

Re: template dynamics

2008-10-02 Thread Filip S. Adamsen
Hi, Define Blocks containing the different states you need and use a Delegate to render the block you need based on an expression. This way you can do the whole if-then-else/switch stuff in your page class. Template: ... ... Class: @Inject private ComponentResources resources;

Re: template dynamics

2008-10-02 Thread Ulrich Stärk
Indeed switching between states is a bit tedious fiddling because Tapestry won't just let you write something like "foo==bar" in your expressions. You'll have to do the more complex checks in your page class. Some of the trivial checks Tapestry can do on its on (see the If component reference docum

Re: [T5] loading parts of page after initial page load

2008-10-02 Thread Andy Pahne
I tried to implement a solution, inspiured by the source code of the Zone component. It works (almost). The problem is that the afterLoad block is empty for the dynamic request. Can anybody see, at a first glance, what I am missing? Next question would be: how can I force the update after lo

Load ClassPathXMLApplicationContext just one time in the app

2008-10-02 Thread Daniel_ Alonso Sanchez
Hi everybody. I'm trying to optimize the loading of the cxf XML context of our application (for web services invocation) and so i have been reading all the stuff concerning Binding, because i think that, as happens with another modules like Hibernate, is there a possibility to load the xml cont

Re: template dynamics

2008-10-02 Thread János Jarecsni
Hi Uli, thanks, I did not know about these. However, what if I have to switch between more states? If seems to be awkward in that case (if embedding is possible at all). Thanks Janos 2008/10/1 Ulrich Stärk <[EMAIL PROTECTED]> > Have a look at the If > ( > http://tapestry.apache.org/tapestry5/ta

Re: problem beaneditform and external ejb3

2008-10-02 Thread Geoff Callender
I was thinking about adding an example of Input (Using BeanEditForm). Here's a first cut that I've just tested. It creates a Person. http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd "> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Input (Using BeanEditForm) (2)

Tap 4.1 How to obtain page contain as string ?

2008-10-02 Thread Andrei Stroescu
Hello, I need to transform content of a component or page into string. I need this to send contain of the page to email. Thank you ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: Weird T5 error page versus component templates

2008-10-02 Thread superoverdrive
Sorry, my mistake: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> was missing around the component template ;-) Original-Nachricht > Datum: Thu, 02 Oct 2008 11:57:39 +0200 > Von: [EMAIL PROTECTED] > An: "Tapestry users" > Betreff: Weird T5 error page versus component

[T5] loading parts of page after initial page load

2008-10-02 Thread Andy Pahne
Hi, I need to build a page that dynamicly loads parts of itself after the initial render in the browser. Those parts are the result of longer running computation and can't be included when the page is rendered for the first time. I remember that a third party component that achieves someth

Weird T5 error page versus component templates

2008-10-02 Thread superoverdrive
When I put the following code into a page template it works, if I put it inside of a component template embedded within a page, it comes up with the error: "The prefix "t" for attribute "t:type" is not bound." The code: blablablabla Any ideas? Thanks! Toby --

Re: problem beaneditform and external ejb3

2008-10-02 Thread mdes
@Thiango: I use the ejb3 business logic as a stand alone project (I mean, another folder in the workspace), separeted by the Tapestry one. I deploy it indipendently in JBoss and than a war for the Tapestry project. @Geoff: thanks for the jumpstart examples, but I already read them, but my proble

Re: T5 integration with spring webflow

2008-10-02 Thread Francois Armand
Patrick Munis wrote: Does anyone know if T5 supports spring webflow? If not, is there a timeline on when to expect this integration.? I believe that subject was already discussed in the ml. What is rather sure it that today, T5 has no official integration module for Spring web flow. I also k

Re: [ANN] The Ars Machina Project: open-source packages related to Tapestry 5 (and some which aren't)

2008-10-02 Thread Francois Armand
Thiago H. de Paula Figueiredo wrote: Hi! I'm very happy to announce the Ars Machina Project: a collection of open-source packages, released under the Apache Public License version 2. [] Thank you very much for this project Thiago, As a community member, I'm really happy to see more and mor

RE: [T4.1] Reading values from the app.properties file from a page class

2008-10-02 Thread Craig Spry
Sorry I RTFM and worked it out for myself. Thanks, Craig -Original Message- From: Craig Spry [mailto:[EMAIL PROTECTED] Sent: Thursday, 2 October 2008 4:18 PM To: Tapestry users Subject: [T4.1] Reading values from the app.properties file from a page class Hello List, I want to be able to