Re: Services and generics

2010-11-04 Thread Taha Hafeez
Will try it out... Thanks taha On Fri, Nov 5, 2010 at 9:01 AM, Josh Canfield wrote: > Real generic support is coming in 5.3. There is a patch on the dev list if > your brave. > On 4 Nov 2010 19:20, "Taha Hafeez" wrote: > > Hi > > > > I have a generic service GenericDao and all Dao's extend fro

Re: Services and generics

2010-11-04 Thread Josh Canfield
Real generic support is coming in 5.3. There is a patch on the dev list if your brave. On 4 Nov 2010 19:20, "Taha Hafeez" wrote: > Hi > > I have a generic service GenericDao and all Dao's extend from it.. Now i > want to get a service based on generic type. > As generics are not present at runtime

Re: best stack ...

2010-11-04 Thread Adam Zimowski
> Don't really like Maven but have found it's a necessary evil if you want to > develop with Tapestry 5. Well, while Maven is helpfull it's not exactly true :-) We have a large Tapestry app (ported struts 1 gozilla), and zero Maven. Remember, Maven is just a tool to automate things. You can setup

Services and generics

2010-11-04 Thread Taha Hafeez
Hi I have a generic service GenericDao and all Dao's extend from it.. Now i want to get a service based on generic type. As generics are not present at runtime so I think this is very unlikely. So this is what I have done I created another service GenericDaoFinder as public interface GenericDaoF

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

2010-11-04 Thread Bob Harner
Michael, If the customer doesn't like the down time for small changes, it might be beneficial to cluster the app, so you can update it without any down time. That would probably be a lot easier/cheaper to set up than the major code changes you're considering. Just a thought. On Nov 4, 2010 9:06 AM

Re: best stack ...

2010-11-04 Thread Anas Mughal
Use Maven archetype to create the project for you: http://tapestry.apache.org/tapestry5.1/quickstart/ It will take care of everything.Then, import it into Eclipse as Maven project. -- Anas Mughal http://anas-mughal.com     --- On Thu, 11/4/10, Howard Lewis Ship wrote: From: Howard Lewis

Re: best stack ...

2010-11-04 Thread Thiago H. de Paula Figueiredo
On Thu, 04 Nov 2010 21:27:22 -0200, Howard Lewis Ship wrote: I prefer Jetty to run my application. I'm always amazed at how tortured people's setups are. Mee too. It's really simple: Create a project (using Maven, or otherwise). Use the RunJettyRun Eclipse plugin. You can even use Jetty

Re: best stack ...

2010-11-04 Thread Thiago H. de Paula Figueiredo
On Thu, 04 Nov 2010 21:22:02 -0200, Paul Stanton wrote: Hi all, Hi!. The project may need to be deployed to tomcat for hosting, but development could be done on Resin if necessary. I've never used Resin but if the development time advantages are sufficient I would consider this appro

Re: best stack ...

2010-11-04 Thread Howard Lewis Ship
I prefer Jetty to run my application. I'm always amazed at how tortured people's setups are. It's really simple: Create a project (using Maven, or otherwise). Use the RunJettyRun Eclipse plugin. Make sure you are NOT compiling to src/main/webapp/WEB-INF/classes (compile to target/classes or s

best stack ...

2010-11-04 Thread Paul Stanton
Hi all, I'm starting a new project, which will be in beta (non-prod) for some time and I'd like to start with the current cutting edge setup with the hope that it will be the standard or release phase down the track. I'd like to set up my development environment for rapid development. The pr

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

2010-11-04 Thread Christian Riedel
Hi Adam, do you need to use the sfsb across multiple requests as a kind of conversational bean or is it sufficient to hold the reference for the time of one request? You can define a Tapestry-Service's scope as "per-thread" (1) so you could wrap the connection to your remote inside a service si

Re: Configuring the Tapestry Eclipse environment for use with external Tomcat

2010-11-04 Thread Paul Stanton
the problem of having generated files inside the source tree is easily handled by adding the classes dir to the ignore list. On 27/05/2010 4:44 AM, Josh Canfield wrote: Generally you do not want to put your generated files in your source tree because it gets messy with version control, etc. If

Re: HTML5 forms for Tapestry 5.3?

2010-11-04 Thread françois facon
did you know that http://ishtml5readyyet.com/ use html5 :) What about doing desktop capability detection to check if browser is ready for html5? This could be done at server side (sniffing header + free db) or at client side (http://diveintohtml5.org/detect.html) Is possible to tapestry an equiv

EJB3 Statefull Session Beans and Tapestry IOC - possible?

2010-11-04 Thread Adam Zimowski
Hi Experts - Our business (service) layers lives within OpenEJB on a remote host. Most of our business logic (DAOs, etc) are stateless session beans. We were able to elegantly define them as Tapestry services using standard static module builder. Here is our (simplified) EjbModule with one statles

Re: Tapestry for mobile devices

2010-11-04 Thread Muhammad Mohsen
Thank you so much Thiago :) On Thu, Nov 4, 2010 at 8:26 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 04 Nov 2010 15:06:45 -0200, Muhammad Mohsen > wrote: > > Hello All, >> > > Hi! > > > Sadly I don't know much about web programming for mobile devices. The only >> th

Re: Tapestry for mobile devices

2010-11-04 Thread Thiago H. de Paula Figueiredo
On Thu, 04 Nov 2010 15:06:45 -0200, Muhammad Mohsen wrote: Hello All, Hi! Sadly I don't know much about web programming for mobile devices. The only thing I know is that mobile devices uses different protocol to browse the web. That was true many, many years ago . . . You're talking

Re: Layouts how-to

2010-11-04 Thread Thiago H. de Paula Figueiredo
On Thu, 04 Nov 2010 14:24:03 -0200, Kado wrote: Hi, Hi! We have seen 2 possible options. The first one: http://tapestry.apache.org/tapestry5/guide/layout.html We find out that this is not so useful to us because if the idea is to have a general page (to be used in other projects), we ca

Tapestry for mobile devices

2010-11-04 Thread Muhammad Mohsen
Hello All, Sadly I don't know much about web programming for mobile devices. The only thing I know is that mobile devices uses different protocol to browse the web. But I find modern devices using usual protocols such as http based on wireless application protocol. So say I need to make a web appl

Layouts how-to

2010-11-04 Thread Kado
Hi, After the other day mail (no direct URL access to components), we start to review our architecture and how to re-design things in order to have pages instead of components. We have seen 2 possible options. The first one: http://tapestry.apache.org/tapestry5/guide/layout.html We find out t

[Tapestry Central] First Rule of LinkedIn: Customize the Message

2010-11-04 Thread Howard
As far as social networks go, I like LinkedIn a lot. Nice site, lots of features, generally quite useful. In fact, I like it enough to be careful about who I link to ... for example, I only link to people I've met in person (or, at least, had a phone conversation with). For some people, social netw

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

2010-11-04 Thread Howard Lewis Ship
Yes, there's no documentation (yet), but what you are trying to do can be accomplished with the tapx/Dynamic component (part of tapx-core). Alas, you'll need to build it yourself (using Gradle, so it's easy) since I haven't updated the tapestry360 Bamboo for Gradle, so no nightly builds. On Thu,

Re: T 5.2.2 API URL

2010-11-04 Thread Howard Lewis Ship
We're right in the middle of building out the new site, so things are a little shakey. But your right, our updated release procedures don't include building the public web site, and somethings broken the Hudson build that's supposed to do it. I'm manually generating the site right now. On Thu, N

Allowing users to override message properties

2010-11-04 Thread Stephan Windmüller
Hello! We want out users to be able to override certain (or all) message keys for the application permanently so they can customize it to their needs. Is there something already available in Tapestry to do this? At first we thought about extending the messages service which asks the database befo

Re: Re: T5.2.2 IOC: Non public service implementations

2010-11-04 Thread nille hammer
Thanks for the answers. I understand that ServiceBinder (and all the stuff behind it) come from tapestry packages cannot invoke my package-private constructors. By now I code builder methods for all implementations. That works for me and is not too much more code than calling the bind() methods.

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

2010-11-04 Thread Michael Gentry
On Thu, Nov 4, 2010 at 10:21 AM, Thiago H. de Paula Figueiredo wrote: > On Thu, 04 Nov 2010 12:05:25 -0200, Michael Gentry > wrote: > >> I believe running exploded is against the security regulations here. > > Why? That is a long story to answer, but let's just say they have security guidelines

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

2010-11-04 Thread Thiago H. de Paula Figueiredo
On Thu, 04 Nov 2010 12:05:25 -0200, Michael Gentry wrote: I believe running exploded is against the security regulations here. Why? Also, wouldn't you have to turn production mode off for Tapestry to pick up changes to the TML? Absolutely no. Tapestry picks up changes (aka live class re

Re: T5.2.2 IOC: Non public service implementations

2010-11-04 Thread Thiago H. de Paula Figueiredo
On Thu, 04 Nov 2010 11:44:57 -0200, Tom van Dijk wrote: I think there is a problem with invoking constructors of package private classes. There would be IllegalAccessExceptions. I agree. The code that instantiates the services are in a Tapestry package and using a package-private constructo

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

2010-11-04 Thread Michael Gentry
I believe running exploded is against the security regulations here. Also, wouldn't you have to turn production mode off for Tapestry to pick up changes to the TML? Thanks again, mrg On Thu, Nov 4, 2010 at 9:28 AM, Thiago H. de Paula Figueiredo wrote: > Why don't you just replace the .tml in t

Re: Re: T5.2.2 IOC: Non public service implementations

2010-11-04 Thread nille hammer
So the solution is a Module class in the same package and use builder methods? - original Nachricht Betreff: Re: T5.2.2 IOC: Non public service implementations Gesendet: Do, 04. Nov 2010 Von: Tom van Dijk > I think there is a problem with invoking constructors of package private > c

Re: T5.2.2 IOC: Non public service implementations

2010-11-04 Thread Tom van Dijk
I think there is a problem with invoking constructors of package private classes. There would be IllegalAccessExceptions. On Thu, 4 Nov 2010 14:37:21 +0100 (MET), "nille hammer" wrote: > Hi List, > > long time no write. > > I have got used to defining a public interface for my services paired

Re: Unknown Configuration changes with Tap 5.2 and Chenillekit 1.3.0 - Quartz

2010-11-04 Thread Massimo Lusetti
On Wed, Nov 3, 2010 at 9:20 PM, Sven Homburg wrote: > sorry for bad documentation. > try this Yep, but actually the doc in the source repo are right simply the published docs are out of date... Cheers -- Massimo http://meridio.blogspot.com -

T5.2.2 IOC: Non public service implementations

2010-11-04 Thread nille hammer
Hi List, long time no write. I have got used to defining a public interface for my services paired with a package-private implementation. Tapestry's autobinding with ServiceBinder complains about the implementations not being public. I do not want to make the implementations public. So I am af

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

2010-11-04 Thread Thiago H. de Paula Figueiredo
On Thu, 04 Nov 2010 11:05:36 -0200, Michael Gentry wrote: Hi Thiago, Hi, Michael! The biggest T5 project we have isn't really a CMS. We have data entry wizards (say, ~10 pages/wizard) that the user steps through. Each page is pretty much defined as far as navigation/data goes (and each

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

2010-11-04 Thread Michael Gentry
Hi Thiago, The biggest T5 project we have isn't really a CMS. We have data entry wizards (say, ~10 pages/wizard) that the user steps through. Each page is pretty much defined as far as navigation/data goes (and each one sits in a common layout), but our customer every now and then calls up and w

Tomcat and pages hot reload

2010-11-04 Thread Denis Delangle
Hello, There had been several discutions on the ML about people having troubles reloading pages under Tomcat. I run into the same kind of issue last week and I add the following symptoms : * I modify a page class * Tapestry is notified of a modification of the class file * Tapestry flushes the

T 5.2.2 API URL

2010-11-04 Thread Borut Bolčina
Hi, I am having difficulties to find 5.2.2 API docs. Howard posted http://tapestryjava.blogspot.com/2010/11/tapestry-522.html and there is a link to release notes ( http://people.apache.org/~uli/tapestry-site/release-notes-522.html). At http://people.apache.org/~uli/tapestry-site/documentation.ht

Re: Unknown Configuration changes with Tap 5.2 and Chenillekit 1.3.0 - Quartz

2010-11-04 Thread Stefan Schuetz
Wow, that was fast! Thanks for the fast reply. Now it's up and running again. Stefan Am 03.11.2010 um 21:20 schrieb Sven Homburg: > sorry for bad documentation. > try this > > /** > * configuring the quartz scheduler. > * > * @param configuration configuration map > */ > public void contribu

Re: Tapestry Not running in Weblogic

2010-11-04 Thread Anas Mughal
I appreciate everyone's advice. I have upgraded to 5.2.2 and would anticipate it will be released soon. Thank you very much. --Anas Mughal    --- On Thu, 11/4/10, Katia Aresti wrote: From: Katia Aresti Subject: Re: Tapestry Not running in Weblogic To: "Tapestry users" Date: Thursday, No

Re: Tapestry Not running in Weblogic

2010-11-04 Thread Anas Mughal
I moved to 5.2.2 and the problem is resolved. Howard, Thanks! By the way, I started using Tapestry recently and it looks very promising! Great work!!!  --Anas Mughal    --- On Wed, 11/3/10, Howard Lewis Ship wrote: From: Howard Lewis Ship Subject: Re: Tapestry Not running in Weblogic To

Re: Tapestry Not running in Weblogic

2010-11-04 Thread Katia Aresti
Hi, I had problems with weblogic 11g XML libraries and other fw too - as axis 2 for example. Laurent's solution works to make your application load Tapestry's web-inf classes first. However, you might find side classloader errors if you use, for example, shared libraries containing the same classe