(T 5.0.5 snapshot) "No root element has been defined"

2007-06-05 Thread Steven Coco
Hi. [I got my project building fine again with T 5.0.5]. And I'm still a complete newbie! I'm having a blocker of a problem. I have the simplest webapp I can think of, and I am getting an IllegalStateException: "No root element has been defined." I've found a thread in the archives about this

Re: Cometd Implimentation

2007-06-05 Thread andyhot
Craig Spry wrote: Thanks for your feedback, I'll try and add the ability to add comments to my site. I would also like to contribute this to somewhere where it can be worked on by more than just me and isn't so hidden away. Can anyone tell me where the best place to put this would be? I'd

Re: Integration Tapestry 4.0 + Spring 2.0 + Hibernate 3.0 + JBoss 4.2

2007-06-05 Thread andyhot
Doesn't your app use a hivemodule.xml? See http://tapestry.apache.org/tapestry4.1/usersguide/hivemind.html on where to add this... You then have to place the sitemap.xml file at the same location, and then do the modifications described at http://tacos.sourceforge.net/hivemind/SiteMap.html C

Re: How To Get 5.0.5

2007-06-05 Thread Howard Lewis Ship
That's cool; I haven't switched to Maven 2.0.6, since there's an issue building tapestry-test. On 6/4/07, Steven Coco <[EMAIL PROTECTED]> wrote: Fixed it. All I had to do was run the Maven archtype and copy the repository and plugin repository elements: my POM was missing some of those I though

dojo's dialog which should hidden not hidden at first

2007-06-05 Thread Heping Zhang
hi, I use dojo's dialog to let people login,like this: All is ok, except one small problem. Before the page opened completely,the loginDialog appears on the top of the page. Only after the browser download the entire page the dialog hidden. I initialize the loginHidden property to true. If

RE: Cometd Implimentation

2007-06-05 Thread Craig Spry
I've allowed the addition of coments, so you can let me know what you think there. Craig -Original Message- From: Craig Spry [mailto:[EMAIL PROTECTED] Sent: Wednesday, 6 June 2007 9:15 AM To: Tapestry users Subject: RE: Cometd Implimentation Thanks for your feedback, I'll try and add th

RE: Cometd Implimentation

2007-06-05 Thread Craig Spry
Thanks for your feedback, I'll try and add the ability to add comments to my site. I would also like to contribute this to somewhere where it can be worked on by more than just me and isn't so hidden away. Can anyone tell me where the best place to put this would be? Thanks, Craig -Origina

SiteService in 'tapestry + tacos'

2007-06-05 Thread César Augusto Mateus
Hi all, speaking of the SiteService perhaps i´m some lost, but if somebody is equal, the service work finally in my application I work myself thus: in the jar of tacos, in my case tacos-4.0.1-lib.jar in the folder META-INF exist a file tacos.service.xml, a service in this file see it thus:

Re: [OT] who can use selenium to test dojo dialog widget?

2007-06-05 Thread César Augusto Mateus
Hi all, I´m proving inside my application the service for SiteMap, somebody has knowledge on the matter? On 6/5/07, Miguel Angel Hernández <[EMAIL PROTECTED]> wrote: Im also testing my app with selenium, and use waitForCondition for most of my tests... which evaluates a given Javascript expres

Re: [OT] who can use selenium to test dojo dialog widget?

2007-06-05 Thread Miguel Angel Hernández
Im also testing my app with selenium, and use waitForCondition for most of my tests... which evaluates a given Javascript expression till returns a truthy value. cheers, Miguel On 6/4/07, Geoff Callender <[EMAIL PROTECTED]> wrote: This clicks on a submit, checks the dialog text, then clicks t

Re: [T5] Reminder: Tapestry 5 is Alpha

2007-06-05 Thread Juan Maya
Gabriel, actually now is possible to have a paypal account in colombia :) On 6/5/07, Gabriel Lozano <[EMAIL PROTECTED]> wrote: I would like to help support Howard. I think it is a very good idea allthough I dont have too much money ( for now, I hope ). I have a problem. I'm in Bogota, Colombia,

Re: Classless template component

2007-06-05 Thread Howard Lewis Ship
Not at this time. I truly believe even the most trivial component will eventually have some internal state, methods, or other resources that require a class. Tapestry 5 is much less ambiguous than Tapestry 4; it locates all component classes at application startup (*). Only the presence of a .c

Re: Integration Tapestry 4.0 + Spring 2.0 + Hibernate 3.0 + JBoss 4.2

2007-06-05 Thread César Augusto Mateus
Good afternoon, I have a problem configuring the library tacos with spring in my environment. Perhaps you are using this library. How integrate the descriptor of Spring with the service-point of tacos. I'm trying this: there is a hivemodule.xml in the folder META_INF of the jar tapestry-spring-1.0

Classless template component

2007-06-05 Thread Ben Tomasini
In Tap5, do template components require a Java class? I am working on a Layout.html component whose Layout.java is empty. Is there a way to omit the Layout.java class and have tapestry pickup the component? Ben

Re: 4.1.2 without maven

2007-06-05 Thread Daniel Jue
When I came to this point a few weeks ago, taking on an unfamiliar build tool (maven) seemed like such a pain, just because I wanted to work with 4.1.2. There were lots of emails and notes online that i had to search through to overcome little problems I had. But in the end, it was worth it. I

T5: disabling tapestry logging

2007-06-05 Thread Jessica Sobieski
Hi, My application is configured to use commons logging via log4j. The logging itself works okay, except that even though I set org.apache logging to ERROR tapestry still logs in its messages at DEBUG level. It seems that I can only change log level for tapestry if I change my own logging level (

Re: [T5] Reminder: Tapestry 5 is Alpha

2007-06-05 Thread Jesse Kuhnert
I don't speak for Howard of course - but I think it would take a really really large paypal donation to get any significant dev time alloted for him. Not that the ideas aren't appreciated (and again I don't speak for him anyways ;) ) . I'm pretty sure the most ideal way to move it along would b

Re: [T5] Reminder: Tapestry 5 is Alpha

2007-06-05 Thread Daniel Jue
I would like to help support T5 development. Is there a Paypal or mailing address? On 6/5/07, Gabriel Lozano <[EMAIL PROTECTED]> wrote: I would like to help support Howard. I think it is a very good idea allthough I dont have too much money ( for now, I hope ). I have a problem. I'm in Bogota,

tapestry future redux

2007-06-05 Thread Warner Onstine
Hi everyone, First I want to thank everyone on this list that joined in the discussion on my last "big" post and would invite you to do the same on this one. http://jroller.com/page/WarnerOnstine? entry=tapestry_future_adoption_redux - warner Warner Onstine - Programmer/Author New book o

JSF 2.0 spec JSR approved

2007-06-05 Thread Thiago H de Paula Figueiredo
http://jcp.org/en/jsr/detail?id=314 That JSR uses Tapestry 5 as something that shows some features wanted for JSF 2: Tapestry 5 leverages annotations and contains ideas about eliminating the deployment step. It also addresses performance. It's intereseting that one of the stated main po

Re: Can't create two mocks in same test with tapestry-testng

2007-06-05 Thread Hugo Palma
I had completely forgotten about that, crap Thanks for pointing it out Jesse. Anyway, i finally remembered the anonymous login at javaforge, so i can access the source now. Jesse Kuhnert wrote: Don't forget http://tapestry.apache.org/tapestry4.1/tapestry-test/index.html- which is basical

Re: Can't create two mocks in same test with tapestry-testng

2007-06-05 Thread Jesse Kuhnert
Don't forget http://tapestry.apache.org/tapestry4.1/tapestry-test/index.html- which is basically a duplicate of tapestry-testng + more tapestry specific base class stuff. I can make that change later today as I'd like it as well. (and maybe copy over those junit friendly changes I saw Howard mak

Re: [T5] Reminder: Tapestry 5 is Alpha

2007-06-05 Thread Gabriel Lozano
I would like to help support Howard. I think it is a very good idea allthough I dont have too much money ( for now, I hope ). I have a problem. I'm in Bogota, Colombia, and I think that I would not be able to pay via payPal 'cause it is not enabled here so If there is any other way it would be ok.

Re: Can't create two mocks in same test with tapestry-testng

2007-06-05 Thread Howard Lewis Ship
I've unfortunately let those languish. There is an anonymous access for the SVN repository (it's been discussed on this list before). I'm very much bandwidth strapped, but I can look at updating the pom.xml to generate source with the release which would not take time and would help with this si

Re: How to use the "ILink"

2007-06-05 Thread Geoff Callender
Basic usage of ILink to go to next page. This is a listener method. public ILink doNextPage() { return getPageService().getLink(false, "pages/TheSecondPage"); } Example of ILink in a real life situation - logging in. This is a listener on the Log In button.

Re: [T5] Reminder: Tapestry 5 is Alpha

2007-06-05 Thread Patrick Yip
Just wabt to ask if anyone out there would like to support Howard in Tappestry development. I think if everyone give a little, it could become a significant source of income to allow him to spend more of his time on this amazing framework. Howard, if you have a Paypal account, please let me know.

Re: Can't create two mocks in same test with tapestry-testng

2007-06-05 Thread Hugo Palma
Cool, that solved it. Is there any where i can get the code of tapestry-testng from ? I can't login in the javaforge svn repo, the anonymous login seems to be disabled. That would really help solving problems like these without having to bother you. Also, where should i request for new featur

Re: Can't create two mocks in same test with tapestry-testng

2007-06-05 Thread Howard Lewis Ship
tapestry-testng creates the mocks as strict, meaning order of invocation counts. I've since decided this isn't a good idea, that it just makes tests brittle (as in your example). Add getMocksControl().checkOrder(false) at the top of your test. On 6/5/07, Hugo Palma <[EMAIL PROTECTED]> wrote: I

Can't create two mocks in same test with tapestry-testng

2007-06-05 Thread Hugo Palma
I'm using tapestry-testng 1.0.0-SNAPSHOT. Everything works fine if i just create one mock object per test. But once i create two mocks it seems that the second recorded behaviour doesn't get added to the expected behaviour. So if i have this: Messages messagesMock = newMock(Messages.class); me

T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-06-05 Thread Erik Vullings
Hi, I've recently started working with T5 because I liked a lot what I've seen! I therefore have some basic questions, and I hope you can help me with them: 1. I've started changing the quickstart project to move a current struts2-spring-jdbc application to T5. Where can I put my dao initializat

How to use the "ILink"

2007-06-05 Thread Kushan Jayathilake
Hi Im new to tapestry, and dont know much Anyone can give me examples of using ILink interface Plz give me some actual codings that you guys used ILink Regards Kushan

Re: 4.1.2 without maven

2007-06-05 Thread Chris Chiappone
I don't believe that its out yet so maven is the way to go. What I actually do since our project does not use maven is set up a separate project with maven just for tapestry and its dependencies and then copy over the appropriate jar files. Seems to work for me. Just make sure you have the rig

[T5] renderInformalParameters call redundant in ActionLink ?

2007-06-05 Thread Kristian Marinkovic
hi, is there any reason for the ActionLink component to call resources.renderInformalParameters(writer) although it has the RenderInformals Mixin attached? g, kris

[ANN] Tapestry 4 Tutorial, issue 11

2007-06-05 Thread Kolesnikov, Alexander GNI
Looks like DevShed has resumed publication of Tapestry tutorials after a period of stagnation. So here is the next one: http://www.devshed.com/c/a/Apache/The-DatePicker-and-Shell-Components-of -Apache-Tapestry/ Cheers, Alexander --

Re: Cometd Implimentation

2007-06-05 Thread Alejandro Scandroli
Hi Craig Nice component!. I've tested it with 6.1.0 version of maven-jetty-plugin and It works fine! I'm testing it on linux and at first Tapestry complained about not been able to find a template for the Cometd component, it was because the html template name is lowercase. Once I changed that it

Re: T5: How to generate page links from Java code?

2007-06-05 Thread Martin Grotzke
On Mon, 2007-06-04 at 17:21 +0700, Ivan Dubrov wrote: > Nick Westgate wrote: > > Hi Martin. > > > > A typical way to do this in previous Tapestry versions is to have > > some simple logic functions in your component class to provide a > > boolean result ("this link is to the current page") which is

Re: @Dialog form with validation errors broken

2007-06-05 Thread Paul Stanton
OK, I've changed my form declaration from to This stops the rendering issues and log messages, however how can I notify the user of their invalid entry? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: T5 class reloading

2007-06-05 Thread Martin Grotzke
On Tue, 2007-06-05 at 09:00 +0200, Martin Grotzke wrote: > On Wed, 2007-05-30 at 09:54 +0200, Francois Armand wrote: > > Le mercredi 30 mai 2007 à 07:28 +, Martin Grotzke a écrit : > > > For me changed classes are not picked up automatically, when running > > > mvn jetty6:run... > > > > Well..

RE: How to obtain 'URL' for a page being rendered?

2007-06-05 Thread Firas Adiler
I use this method: /** * Call this from pageBeginRender: */ public void savePageLink() { if (getRequestCycle().isRewinding()) return; ILink iLink = null; if (this instanceof IExternalPage) { ExternalServiceParameter esp = new ExternalService

Re: T5 class reloading

2007-06-05 Thread Martin Grotzke
On Wed, 2007-05-30 at 09:54 +0200, Francois Armand wrote: > Le mercredi 30 mai 2007 à 07:28 +, Martin Grotzke a écrit : > > For me changed classes are not picked up automatically, when running > > mvn jetty6:run... > > Well... I encounter some strange behaviour with mvn jetty:run and class > r