Re: MyFaces + Shale + Facelets

2006-01-22 Thread Marius Oancea
JBoss Seam does exactly what you want. beans(components) are scoped. Marius Werner Punz wrote: Laurie Harper schrieb: Spring provides a much more capable IoC solution than Faces alone; I prefer to use it for everything I can, to get things like automatic dependency injection.

Re: MyFaces + Shale + Facelets

2006-01-18 Thread Werner Punz
Mike Kienenberger schrieb: On 1/13/06, Werner Punz [EMAIL PROTECTED] wrote: Have in mind that jsf-spring works quite well in many situations, but some situations still are problematic with that lib, I recently (in fact last night) ran into the situation of not being able to deploy an app on

Re: MyFaces + Shale + Facelets

2006-01-13 Thread Werner Punz
Marco Mistroni schrieb: Hello all, it seems to me that the Spring-JSF project allows you to scope beans... isn't that so? pls correct me if i m wrong./... regards marco It should, yes to my knowledge jsf-spring (although it did not work for me in my last project) should allow the

Re: MyFaces + Shale + Facelets

2006-01-13 Thread Werner Punz
Alexandre Poitras schrieb: The thing I like about JSF managed beans is the clean EL syntax instead of the very verbose xml language (I have nothing against xml files but I do think we abuse its usage). I hope Spring IoC container adopt it one day if it is possible. But using annotations is

Re: MyFaces + Shale + Facelets

2006-01-13 Thread Alexandre Poitras
Yes I agree with you but it would be great to be able to use the clean EL syntax of JSF managed beans in the xml files. To refer aother bean property in spring, you need to declare it using a special bean wich is very verbose. The mixing approach you talking about is because we confuse two

Re: MyFaces + Shale + Facelets

2006-01-13 Thread Mike Kienenberger
On 1/13/06, Werner Punz [EMAIL PROTECTED] wrote: Have in mind that jsf-spring works quite well in many situations, but some situations still are problematic with that lib, I recently (in fact last night) ran into the situation of not being able to deploy an app on websphere due to the fact

Re: MyFaces + Shale + Facelets

2006-01-12 Thread Alexandre Poitras
Yeah or use the Spring-JSF integration libraries to combines the IoC container together. On 1/11/06, Gary VanMatre [EMAIL PROTECTED] wrote: From: Julián García [EMAIL PROTECTED] Hi, I am using Hibernate + Spring + Myfaces. It's been working but I think that I am writing a LOT of code

Re: MyFaces + Shale + Facelets

2006-01-12 Thread Laurie Harper
Gary VanMatre wrote: From: Julián García [EMAIL PROTECTED] Hi, I am using Hibernate + Spring + Myfaces. It's been working but I think that I am writing a LOT of code in the view layer. I have a small custom validation framework of my own, and my own init mechanisms in my beans. I use

Re: MyFaces + Shale + Facelets

2006-01-12 Thread Werner Punz
Laurie Harper schrieb: Spring provides a much more capable IoC solution than Faces alone; I prefer to use it for everything I can, to get things like automatic dependency injection. I'd use it to manage all my beans, but it doesn't have support for scoping beans (i.e.

Re: MyFaces + Shale + Facelets

2006-01-12 Thread Marco Mistroni
Hello all, it seems to me that the Spring-JSF project allows you to scope beans... isn't that so? pls correct me if i m wrong./... regards marco On 1/12/06, Werner Punz [EMAIL PROTECTED] wrote: Laurie Harper schrieb: Spring provides a much more capable IoC solution than Faces alone; I prefer to

Re: MyFaces + Shale + Facelets

2006-01-12 Thread Alexandre Poitras
The thing I like about JSF managed beans is the clean EL syntax instead of the very verbose xml language (I have nothing against xml files but I do think we abuse its usage). I hope Spring IoC container adopt it one day if it is possible. But using annotations is going to be even better :) Can't

MyFaces + Shale + Facelets

2006-01-11 Thread Julián García
Hi, I am using Hibernate + Spring + Myfaces. It's been working but I think that I am writing a LOT of code in the view layer. I have a small custom validation framework of my own, and my own init mechanisms in my beans. I use tiles. I'd like to do more templating, and reuse some code out

Re: MyFaces + Shale + Facelets

2006-01-11 Thread Gary VanMatre
From: Julián García [EMAIL PROTECTED] Hi, I am using Hibernate + Spring + Myfaces. It's been working but I think that I am writing a LOT of code in the view layer. I have a small custom validation framework of my own, and my own init mechanisms in my beans. I use tiles. I'd like to do