how do you gracefully shutdown run-jetty-run ?

2010-11-05 Thread Paul Stanton
i've just started using the run-jetty-run plugin for eclipse. since you start it via the eclipse 'run' configuration, i don't know how to issue a shutdown command to the process so that it can do so gracefully, instead of simply terminating the process. this means that shutdown hooks etc are

Re: best stack ...

2010-11-05 Thread Paul Stanton
AH!! just figured out that m2eclipse was configured to be offline... i use multiple workspaces (for different project groups) and this workspace has never used the plugin before ... :( however, i now have the surefire problem fixed, and i assume perhaps the T5.2 maven issues listed earlier .

Re: best stack ...

2010-11-05 Thread Paul Stanton
Hi Andreas, Rest assured, I am connected ... but my concern is more regards to why there is no 'tried and true' setup path for new users wanting to use the latest and or recommended stack. Many developers aren't familiar with maven and therefore need their hands held through this step. Oth

Re: best stack ...

2010-11-05 Thread Andreas Andreou
Not sure why you get "The repository system is offline and the requested artifact is not locally available" That usually shows up when a build is offline - you'd need to be online for maven to download the deps... or perhaps that's a maven/eclipse issue, gg it. As for the archetype catalo

Re: best stack ...

2010-11-05 Thread Paul Stanton
Howard, After reading all the responses to my question and trying a few things I'm confused. I'm not a new user and have been using tapestry since T3, however I've never been 100% satisfied by how I've managed to setup T5 projects in the past and keep coming back to this step for new project

Re: best stack ...

2010-11-05 Thread Howard Lewis Ship
I bet you make sure your JARs have version numbers in the name, though! Take a peek at Gradle when you get a chance; it's really best-of-both-worlds. On Fri, Nov 5, 2010 at 5:28 AM, Adam Zimowski wrote: > > it takes a brave soul to manage 30 to 40 megs of libraries manually > > We do, and we'r

Re: T5 Guide: Building T5.2.2 Application Using Netbeans 6.9.1

2010-11-05 Thread Alex Kotchnev
Very nice , thanks for posting the steps. Cheers, Alex K On Fri, Nov 5, 2010 at 5:56 AM, ael wrote: > > 1. File->New Project > 2. Choose->Maven->Maven Project > 3. Maven Archetype->Click Add > 4. Specify Archetype Detail >a. group id: org.apache.tapestry >b. artifact id: quickstart >

Re: tapestry-spring-security support for Spring Security 3.0.4.RELEASE?

2010-11-05 Thread Alex Kotchnev
Olle, I'm not sure what the best way of doing this is . At this time TSS supports Spring 3.0 (I think I recal 3.0.3) in the latest snapshot builds. The problem is that if we bum the snapshot to support 3.0.5.RELEASE, this will effectively break anyone who uses TSS w/ Spring 3.0 prior to 3.0.5.REL

Re: FAQ Entry? How to render TML from a database.

2010-11-05 Thread Howard Lewis Ship
On Fri, Nov 5, 2010 at 5:15 AM, Michael Gentry wrote: > Thanks for pointing that out, Howard. I was looking at the code a bit > on GitHub (don't know if that is current). The JavaDoc seems to imply > it allows access to properties, assets, messages, but maybe not other > TML items? For example,

Re: Does tapestry with hibernate

2010-11-05 Thread Katia Aresti
Hi, Have a look to he Hotel Booking Demo. You will find there how to configure hibernate and how to use it with Tapestry 5.2 ^^ https://github.com/ccordenier/tapestry5-hotel-booking Katia 2010/11/5 Josh Kamau > Hello; > > I have used tapestry maven archetype to create a project. I am wonderi

Does tapestry with hibernate

2010-11-05 Thread Josh Kamau
Hello; I have used tapestry maven archetype to create a project. I am wondering, do i have to add tapestry-hibernate or it comes bundled with tapestry? I have tried adding the same to the Pom and i cant get tapestry-hibernate-5.2.2 . regards. Josh

Re: EJB3 Statefull Session Beans and Tapestry IOC - possible?

2010-11-05 Thread Christian Riedel
Hi Adam, perthread-services are recreated on each request... > PERTHREAD > An alternate scope provided with Tapestry; a per-thread instance is created > on demand, behind a shared proxy. You could create a simple Object to hold your proxy instead and store it in the session. Something like th

Re: Responding to ui component events via ajax.

2010-11-05 Thread Josh Kamau
Thanks Thiago, Thats what is was looking for. The mailing list is very helpful. Regards. On Fri, Nov 5, 2010 at 10:15 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 05 Nov 2010 11:59:32 -0200, Josh Kamau > wrote: > > I am new to tapestry and i did my first hello wor

Re: Responding to ui component events via ajax.

2010-11-05 Thread Thiago H. de Paula Figueiredo
On Fri, 05 Nov 2010 11:59:32 -0200, Josh Kamau wrote: I am new to tapestry and i did my first hello world today. Welcome to Tapestry and its the mailing list! :) I have a check box that is labeld 'Advanced User', I want when its is checked, more controls in the same form are shown. When t

Responding to ui component events via ajax.

2010-11-05 Thread Josh Kamau
I am new to tapestry and i did my first hello world today. I have a specific requirement that i would want to implement . Kindly let me know if its supported. I have a check box that is labeld 'Advanced User', I want when its is checked, more controls in the same form are shown. When the check is

Re: best stack ...

2010-11-05 Thread Michael Gentry
I've opted to use Maven to run Jetty (mvn jetty:run). Combined with the m2eclipse plugin, this gives me a lot of flexibility. In Eclipse, I can Run or Debug. I can also run from the command-line. In the pom.xml I can specify which version of Jetty I want to use. This is important if you want to

Re: best stack ...

2010-11-05 Thread Andreas Andreou
Depends on the type of project you're making and policies you enforce. If you always depend on releases or if your snapshot deps are from projects that don't often change their deps, then yes, it's very easy to manage libs manually (basically a one-time setup process) On Fri, Nov 5, 2010 at 14:28

Re: best stack ...

2010-11-05 Thread Adam Zimowski
> it takes a brave soul to manage 30 to 40 megs of libraries manually We do, and we're not that brave either :) It really isn't all that bad as Maven fans want you to think. Adam On Fri, Nov 5, 2010 at 7:25 AM, Peter Stavrinides wrote: > You are not forced to develop with Maven, but it takes

Re: best stack ...

2010-11-05 Thread Peter Stavrinides
You are not forced to develop with Maven, but it takes a brave soul to manage 30 to 40 megs of libraries manually :) lol. Peter - Original Message - From: "Adam Zimowski" To: "Tapestry users" Sent: Friday, 5 November, 2010 04:35:38 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subjec

Re: FAQ Entry? How to render TML from a database.

2010-11-05 Thread Michael Gentry
Thanks for pointing that out, Howard. I was looking at the code a bit on GitHub (don't know if that is current). The JavaDoc seems to imply it allows access to properties, assets, messages, but maybe not other TML items? For example, does it support t:loop, t:if, t:textfield, etc? Thanks, mrg

Re: EJB3 Statefull Session Beans and Tapestry IOC - possible?

2010-11-05 Thread Adam Zimowski
Hi Christian - I did not know about @Scope annotation and it is nice. To answer your question yes, we need to retain a specific sfsb proxy instance per session, so yes, across multiple requests. Can I annotate service builder method with @Scope to tell Tap IOC to pull a specific instance for a ses

Re: Allowing users to override message properties

2010-11-05 Thread Mats Andersson
It would be enough to cache all messages in the service and reload periodically if something has changed. BR Mats Mats Andersson Ronsoft AB - Fridhemsvägen 8 - 372 25 Ronneby Tel. 073-368 79 82 http://www.ronsoft.se _

Re: EJB3 Statefull Session Beans and Tapestry IOC - possible?

2010-11-05 Thread Thiago H. de Paula Figueiredo
On Fri, 05 Nov 2010 08:30:52 -0200, adasal wrote: Hi Christian, Hi, guys! You know Tapestry very well. Do you have any points of comparison with JEE JSF, e.g. Ice Faces? It seems to me that JSF is very similar (by borrowed design) to Tapestry. But there must be technical points of signific

Re: HTML5 forms for Tapestry 5.3?

2010-11-05 Thread Christian Köberl
Igor Drobiazko wrote: > > Well, I don't think 5.3 will support HTML 5 as it will take some time > until > the standard is ready. > The article says you can (and should) support new browser features now event if they aren't standardized yet. It's about graceful degradation of HTML and progress

Re: EJB3 Statefull Session Beans and Tapestry IOC - possible?

2010-11-05 Thread adasal
Hi Christian, You know Tapestry very well. Do you have any points of comparison with JEE JSF, e.g. Ice Faces? It seems to me that JSF is very similar (by borrowed design) to Tapestry. But there must be technical points of significant difference? I haven't dived down to find these. I'm working fo

T5 Guide: Building T5.2.2 Application Using Netbeans 6.9.1

2010-11-05 Thread ael
1. File->New Project 2. Choose->Maven->Maven Project 3. Maven Archetype->Click Add 4. Specify Archetype Detail a. group id: org.apache.tapestry b. artifact id: quickstart c. version: 5.2.2 d. repository: http://repo1.maven.org/maven2 5. Select your created Archetype->Next 6. Projec

tapestry-resteasy next release

2010-11-05 Thread Borut Bolčina
Hi, is there a plan to release the next version of tapestry-resteasy with the latest resteasy 2.0.1-GA? I see the trunk has 2.0.0-GA (commited in July), but it would be much nicer to use a released version. :-) Thanks, Borut

tapestry-spring-security support for Spring Security 3.0.4.RELEASE?

2010-11-05 Thread Olle Hallin
Hi! We're using nu.localhost:tapestry-spring-security:2.1.0 in the project i work on. Now we're trying to upgrade to Spring 3.0.5.RELEASE and Spring Security 3.0.4.RELEASE, but I get a runtime error because of a renamed package (org.springframework.security.ui -> org.springframework.security.web)

Re: tapestry archetype

2010-11-05 Thread Ulrich Stärk
Thanks for pointing out the obvious. On 05.11.2010 09:39, Josh Kamau wrote: THanks Uli, I made it work by generating with 5.1* then editing the pom. I think its is very important that being able to start up a new project for a newbie like me to be as painless as possible. Failing on the first a

Re: tapestry archetype

2010-11-05 Thread Josh Kamau
THanks Uli, I made it work by generating with 5.1* then editing the pom. I think its is very important that being able to start up a new project for a newbie like me to be as painless as possible. Failing on the first attempt can put someone off will being able to succeed on first attempt is very

Re: tapestry archetype

2010-11-05 Thread Josh Kamau
Thanks for the quick response. It still failed with -U jos...@ubuntu:~/projects$ mvn archetype:generate -DarchetypeCatalog= http://tapestry.apache.org -U [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for

Re: tapestry archetype

2010-11-05 Thread Ulrich Stärk
it's a known bug. just set the version in pom.xml to 5.2.3-SNAPSHOT or 5.2.2 (without snapshot) Uli On 05.11.2010 09:18, Josh Kamau wrote: Maven cannot find any of the tapestry 5.2.* in mvn repository. Anyone in the mailing list? jos...@ubuntu:~/projects$ mvn archetype:generate -DarchetypeC

Re: tapestry archetype

2010-11-05 Thread Christophe Cordenier
Hi Have you tried by forcing maven to update ? mvn -U 2010/11/5 Josh Kamau > Maven cannot find any of the tapestry 5.2.* in mvn repository. > > Anyone in the mailing list? > > > jos...@ubuntu:~/projects$ mvn archetype:generate -DarchetypeCatalog= > http://tapestry.apache.org > [INFO] Scan

tapestry archetype

2010-11-05 Thread Josh Kamau
Maven cannot find any of the tapestry 5.2.* in mvn repository. Anyone in the mailing list? jos...@ubuntu:~/projects$ mvn archetype:generate -DarchetypeCatalog= http://tapestry.apache.org [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] -

Tapestry archetype not working

2010-11-05 Thread Josh Kamau
Option 4 Didnt work either. cant find T 5.2.1 in the maven repo. Any body home ? jos...@ubuntu:~/projects$ mvn archetype:generate -DarchetypeCatalog= http://tapestry.apache.org [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO]

maven archetype not working

2010-11-05 Thread Josh Kamau
I am trying to start developing in tapestry but i cant be able to create a project from the archetype . what am i doing wrong? jos...@ubuntu:~/projects$ mvn archetype:generate -DarchetypeCatalog= http://tapestry.apache.org [INFO] Scanning for projects... [INFO] Searching repository for plugin with