Re: T5: disable javascript

2007-11-06 Thread Angelo Chen
Hi Lastiha, You could have saved me one day work:) it's exactly what I'm looking for, well, my fault not reading the doc:(( anyway, I do find something interesting about T5's form, when a form is loaded using Ajax, the scripts do not completely loaded causing several errors and you see a blank

Re: T5: disable javascript

2007-11-06 Thread Christian Köberl POI
Hello Angelo! Angelo Chen wrote: You could have saved me one day work:) It could have saved you one day if it would work, but unfortunately it doesnt: http://issues.apache.org/jira/browse/TAPESTRY-1748 -- View this message in context:

T5: Grid width

2007-11-06 Thread Heck, Bob
Is there a way to control the width and alignment of the entire grid component? I am wanting to make it about 95% width and/or center it on the page using some kind of css setting. I see there is a setting for each row, but not for the grid as a whole (like something that would render in the

Re: 3 new French Tapestry5 tutorials

2007-11-06 Thread Baptiste Meurant
j'autorise la traduction bien sur et je suis disposé à faire une relecture des tutoriels une fois traduits. Merci. I allow you translating my tutorials. I can read them once translated if you need. Thanks. Michael Courcy wrote: Si vous m'y autorisez je peux faire la traduction en anglais et

Re: T5 no root element??

2007-11-06 Thread Ted Steen
make sure that all resources (including .tml files) are copied on compile. that is, if you have a resources folder with your tml files in it, you need to add that as a class folder in your eclipse project. an alternative would be to move all .tml files to the source folder (side by side with the

Re: 3 new French Tapestry5 tutorials

2007-11-06 Thread #Cyrille37#
Baptiste Meurant a écrit : j'autorise la traduction bien sur et je suis disposé à faire une relecture des tutoriels une fois traduits. Merci. I allow you translating my tutorials. I can read them once translated if you need. Thanks. Hello I think it's a very good thing. When your tutorials

Re: T5: disable javascript

2007-11-06 Thread Angelo Chen
Hi Christian, Good you pointed out, It works now with 5.0.6. I upgraded to 5.0.6 yesterday hoping t:container/t:container might be a better option than div/div hack, so for 5.0.5 user I do have some contribution, use divbodybody/div. clientvalidation=false works with 5.0.6 only. Lashita's post

T5 no root element??

2007-11-06 Thread Michael Bernagou
I copied and paste my Eclipse project from my Home computer to my work computer. And it works at home, not at works and the error is this one : [ERROR] DefaultRequestExceptionHandler Processing of request failed with uncaught exception: No root element has been defined.

Re: T5: Grid width

2007-11-06 Thread Marcelo Lotif
Hi Bob, Try this: style TABLE.t-data-grid { width: 95%; } /style but i don't know how to change the align... maybe a center/center solves this 2007/11/6, Heck, Bob [EMAIL PROTECTED]: Is there a way to control the width and alignment of the entire grid component? I am

Re: General question regarding Web 2.0 and Tapestry

2007-11-06 Thread Peter Stavrinides
The term web 2.0 was coined by O'Reilly media, and simply describes the business revolution in the computer industry caused by the move to the internet as platform. From a technology point of view you can't get more general than that, so web 2 technologies are pretty much everything used

Re: T5: disable javascript

2007-11-06 Thread Christian Köberl POI
Angelo Chen wrote: Good you pointed out, It works now with 5.0.6. Hey, that's good - I checked that and it seems to work. But then I looked at how and it seems that Tapestry still generate the validation script: script type=text/javascript !-- Event.observe(window, load, function() {

[T4] Log4J configuration outside of WAR

2007-11-06 Thread Marnix Bindels
Hi All, I'd like to my web app to initialize the Log4J system using a log4j.xml file for which the location will be specified at server startup. In previous projects, using spring, this proved to be easily done by including some Log4jWebConfigurer instance. It's setup to refer to

Re: T5.0.6 - How to use GridRows

2007-11-06 Thread CarstenM
Hi again, anyone who can give me an example how to use the GridRows component? Thanks, Carsten -- View this message in context: http://www.nabble.com/T5.0.6---How-to-use-GridRows-tf4744539.html#a13606753 Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: 3 new French Tapestry5 tutorials

2007-11-06 Thread Michael Courcy
ok alors je vais m'y mettre Ok let's do it Merci / Thanks #Cyrille37# a écrit : Baptiste Meurant a écrit : j'autorise la traduction bien sur et je suis disposé à faire une relecture des tutoriels une fois traduits. Merci. I allow you translating my tutorials. I can read them once translated

Problems Deploying Tapestry 5.0.6 to JBOSS Web

2007-11-06 Thread Charles Mason
Hi all, I am having some problems deploying my Tapestry 5.0.6 based site to Jboss Web. I have the same web app running from Eclipse through Jetty without any problems. I don't think there's anything wrong with the Jboss Web installation as it runs Roller and Tapestry 4 apps fine. Its probably

T5: why this not working in IE?

2007-11-06 Thread Angelo Chen
Hi, I have this code : @InjectPage private FeedbackBasic feedback; Object onActionFromDelete(Long id) { String html; // some process here to set up html string return feedback.setHtmlbock(html); } This code works in Safari, FF, I can see from a debugger that ,

Re: T5: disable javascript

2007-11-06 Thread Angelo Chen
Hi Christian, I created a simple project and put a simple form there, got the same result as yours, don't know why. so I copied my complicated form over and reduce it to the following, it removes those javascripts, I can't tell why as I already erased the first simple form:( please try this

T5: Loop with variables

2007-11-06 Thread Tobias Wehrum
Hi all, I am currently working with the tutorial 1 at the Tapestry 5 homepage ( http://tapestry.apache.org/tapestry5/tutorial1/hilo.html ). Now, one of the further tasks there is As we guess, we're identifying ranges of valid and invalid numbers. Can you only show valid guesses to the user?

Re: Changing from https and http

2007-11-06 Thread Kevin Menard
I've found the whole scheme/port parameters just too much of a pain in the neck to work with. In an ideal world, you'd be able to tag a page class as @Secure and it would automatically do the correct thing with regards to scheme. What I've resorted to is using mod_rewrite rules that handle the

Re: T5: Loop with variables

2007-11-06 Thread Howard Lewis Ship
The x...y syntax is limited to constant values for x and y. I think a future release of Tapestry will increase the power of the built-in expression language, but for the moment, there you go. The x..y syntax is ultimately converted into an instance of IntegerRange, so one way would be to create

Re: Changing from https and http

2007-11-06 Thread Norman Franke
I didn't hear anything on this. At first, I tried creating a DirectLink component and set its scheme and port and then return an ILink from that from my form listeners. However, despite setting scheme to http, it ignores the scheme and stays https. So, I then decided to just throw a

Re: T5: Loop with variables

2007-11-06 Thread Tobias Wehrum
Hi Howard, thanks for the fast answer, IntegerRange solved the problem. Maybe you could suggest this in your tutorial. Keep up the great work, Tobias Howard Lewis Ship schrieb: The x...y syntax is limited to constant values for x and y. I think a future release of Tapestry will increase

Re: Newbie: Help me on using Select Component

2007-11-06 Thread Eko S.W.
Yepz! It definitely help! Thanks! I am planning too, but maybe in Indonesian... -- Best wishes, Eko SW My Job : http://swdevsoftwareconsulting.blogspot.com

[t5] Creating an event to another page

2007-11-06 Thread Dan Adams
So I have a link that, when clicked, I want to fire an 'add' event in some page. The way I'm currently doing this is as follows: Page page = pageCache.get(nameofthepage); Link link = page.createActionLink(page.getRootElement(), add, false); When running this through PageTester I get an exception

Re: Problems Deploying Tapestry 5.0.6 to JBOSS Web

2007-11-06 Thread Charles Mason
On 06/11/2007, Howard Lewis Ship [EMAIL PROTECTED] wrote: Generally, these kinds of errors indicate that the classpath has two or more versions of the tapestry JARs. Thanks for that. I had the Tapestry 4 jars in the servers lib directory, which seems to have been interfering with Tapestry 5.

Best strategy to do custom server side validations and add errors

2007-11-06 Thread rkalsi
I need to do some validations across fields (e.g comparing password and retypePassword fields on server). At the moment, I inject a validationTracker into form using @Environment annotation. And, then use it in onValidate method, to add errors using recordError method. Is this the correct

[t5] Firing a page activate event with a different event name?

2007-11-06 Thread Dan Adams
How do you fire an event on a different page (like a normal page activate event) but with a different name for the event (for instance, 'add' or 'edit' instead of 'activate')? -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857

Re: Problems Deploying Tapestry 5.0.6 to JBOSS Web

2007-11-06 Thread Howard Lewis Ship
At one point I really thought about naming the packages org.apache.tapestry5 (not org.apache.tapestry). On Nov 6, 2007 10:46 AM, Charles Mason [EMAIL PROTECTED] wrote: On 06/11/2007, Howard Lewis Ship [EMAIL PROTECTED] wrote: Generally, these kinds of errors indicate that the classpath has

Re: T5 how to control login state

2007-11-06 Thread Massimo Lusetti
On Nov 5, 2007 9:32 PM, Marcus [EMAIL PROTECTED] wrote: Hi Massimo, Can you post some code about this RequestFilter solution ? It's really the same as with the Dispatcher both API has just one method, thanks Howard! So the example in the wiki is adaptable to the RequestFilter just implement

Re: [t5] Firing a page activate event with a different event name?

2007-11-06 Thread Massimo Lusetti
On Nov 6, 2007 10:16 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: This is not so cool ... I wonder if there's a way we could build a bit more of an event bus into Tapestry. Now that Tapestry knows all the pages at startup, we could do some pretty sophisticated things: Have annotations

Re: [t5] Creating an event to another page

2007-11-06 Thread Massimo Lusetti
On Nov 6, 2007 7:14 PM, Dan Adams [EMAIL PROTECTED] wrote: So I have a link that, when clicked, I want to fire an 'add' event in some page. The way I'm currently doing this is as follows: Page page = pageCache.get(nameofthepage); Link link = page.createActionLink(page.getRootElement(), add,

Re: [t5] Firing a page activate event with a different event name?

2007-11-06 Thread Howard Lewis Ship
You can get the page, cast it to ComponentResourcesAware to get the ComponentResources. At that point, you can invoke triggerEvent(). This is not so cool ... I wonder if there's a way we could build a bit more of an event bus into Tapestry. Now that Tapestry knows all the pages at startup, we

Re: T4.1.3 loop index issues, migrating from 4.0.2

2007-11-06 Thread Dom Couldwell
Thanks for your help Jessie. Fix you applied to the 4.1.4-SNAPSHOT has fixed our issue. We have run into another issue in the migration which I'll post about separately... Dom Couldwell Global Markets Research +1(212)250-7082 --- This e-mail may contain confidential and/or privileged

T4.1.4-SNAPSHOT issue migrating from 4.0.2 with PopupLinkSubmit

2007-11-06 Thread Dom Couldwell
We have a link on a page that does a submit and pops up a new window once the form has been submitted. The code is based on the PopupLinkSubmit example here: http://wiki.apache.org/tapestry/PopupLinkSubmit This all works fine on 4.0.2 but under 4.1.4-SNAPSHOT we get the following error when the

Re: [Fwd: T5: basic CRUD pattern]

2007-11-06 Thread Andy Huhn
Thank you, Cesar! My hair was saved just in the nick of time. Andy On Mon, 2007-11-05 at 22:50 -0600, César Lesc wrote: may be this post can help your hair. http://article.gmane.org/gmane.comp.java.tapestry.user/45921 Cesar.

Re: OGNL Methode called several times

2007-11-06 Thread Aaron Kaminsky
Hi all, I am using the released 4.1.3 jar and I am seeing the same behavior. Does anyone know if this is supposed to be fixed, or if there is a way to turn it off or work around it? Thanks, Aaron Kaminsky Gusti Benawi wrote: Thanks for the info. Could you tell me if there is anything I

T5: Preparing a pristine object for re-use

2007-11-06 Thread Andy Huhn
Hello, I have a DAO that I want to re-initialize every time it is injected (that is, the DAO has state that I want to reset to make it pristine). I thought I could do it in the constructor for the DAO, since I am defining the service as follows in my AppModule: public static AccountDAO

T4.1.3 - Upgrade Dojo

2007-11-06 Thread Henrik Schlanbusch
Hi Is it possible to upgrade to Dojo 0.9 when using T4.1.3? And if it is possible, how do I do it? Regards, Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5 Hibernate Session Management Lock Problem

2007-11-06 Thread César Lesc
Hi All, I've been using the tapestry-hibernate module without a problem until i faced the following scenario I have a entity called profile with a many to one association with the entity user. suppose that i have the profile P associated with some user U in the database so if try to delete P a

T5: how to past two parameters to pageLink?

2007-11-06 Thread Angelo Chen
Hi, here i pass one param, how to pass two? let's say : usr.name? Thanks, A.C. -- View this message in context: http://www.nabble.com/T5%3A-how-to-past-two-parameters-to-pageLink--tf4762928.html#a13621953 Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: T5: how to past two parameters to pageLink?

2007-11-06 Thread Angelo Chen
found a old posting, return a list from a method in the page class, then context=myList Angelo Chen wrote: Hi, here i pass one param, how to pass two? let's say : usr.name? Thanks, A.C. -- View this message in context:

RE: T4.1.3 - Upgrade Dojo

2007-11-06 Thread Marcus.Schulte
This would mean changing tapestry's built-in javascript libraries since they use dojo extensively and dojo's api changed incompatibly between 0.4.x and 0.9. I'd say this would be quite some work. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Henrik Schlanbusch