Re: MyFaces and Spring Webflow

2009-12-29 Thread Jakob Korherr
Hi John, Yes there is a way to get a reference at runtime. You can use the following code to get a reference to your data bean in your action bean: DataBean dataBean = (DataBean) FacesContext.getCurrentInstance().getApplication().createValueBinding("#{dataBean}").getValue(FacesContext.getCurrentI

MyFaces and Spring Webflow

2009-12-29 Thread Ogrady, John
After four hours of reading posts, tutorials, and docu, I am now going to throw myself at the mercy of this user list. The project I'm working on is using myfaces 1.1.4 in conjunction with tomahawk and tiles. Forget for a minute that we could upgrade to at least myfaces 1.1.7. The versions of

RE: Exception Handling using JSF/MyFaces and Spring

2007-06-05 Thread Kito D. Mann
uesday, June 05, 2007 4:01 PM > To: users@myfaces.apache.org > Subject: RE: Exception Handling using JSF/MyFaces and Spring > > > Thanks Kito for the suggestion. I would like to do something like this > ... > public String createManufacturer() { > > try{ >

RE: Exception Handling using JSF/MyFaces and Spring

2007-06-05 Thread bansi
>> From: bansi [mailto:[EMAIL PROTECTED] >> Sent: Friday, June 01, 2007 1:29 PM >> To: users@myfaces.apache.org >> Subject: Exception Handling using JSF/MyFaces and Spring >> >> >> I am using JSF MyFaces, Spring, Hibernate . >> Any pointers/suggestion

RE: Exception Handling using JSF/MyFaces and Spring

2007-06-01 Thread Kito D. Mann
> -Original Message- > From: bansi [mailto:[EMAIL PROTECTED] > Sent: Friday, June 01, 2007 1:29 PM > To: users@myfaces.apache.org > Subject: Exception Handling using JSF/MyFaces and Spring > > > I am using JSF MyFaces, Spring, Hibernate . > Any pointers/su

Exception Handling using JSF/MyFaces and Spring

2007-06-01 Thread bansi
ows exception ??? For example in my case it is public List getDeviceTypeList() throws BaseException Regards Bansi -- View this message in context: http://www.nabble.com/Exception-Handling-using-JSF-MyFaces-and-Spring-tf3853562.html#a10917207 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: How to Share Session between JSF(MyFaces) and Spring

2007-05-19 Thread Thomas Lutz
We use a "in house" security provider, too, but I found it quite easy to adapt acegi.. implementing my own UserDetailService and PasswordEncoder did they job. So, maybe if you have a look at the acegi examples/source, and then try to implement the interfaces org.acegisecurity.userdetails.Use

RE: How to Share Session between JSF(MyFaces) and Spring

2007-05-18 Thread bansi
Thanks David . As i am newbie i would appreciate a snippet code on how to place the authentication object into a ThreadLocal object so that its available to Spring layer w/o any runtime binding Here is what i am doing currently The Homegrown security application on successful authentication ret

RE: How to Share Session between JSF(MyFaces) and Spring

2007-05-18 Thread bansi
i am using Springs DelegatingVariableResolver to make my Spring beans accessible from JSF layer . Thats exactly how i am passing user session object ( i.e. user Id and user Roles ) as argument to business method in Spring. I am able to retrieve this user session object & its attributes into Bas

RE: How to Share Session between JSF(MyFaces) and Spring

2007-05-18 Thread Nebinger, David
> Thanks Everyone for providing valuable suggestions We > usein-house Security system which gives employee Id and > Roles on successful authentication. We need to store > employee Id &Roles into some kind of object maybe session so > that it can be accessible by any Spring bean in the busine

RE: How to Share Session between JSF(MyFaces) and Spring

2007-05-18 Thread bansi
Thanks Everyone for providing valuable suggestions We usein-house Security system which gives employee Id and Roles on successful authentication. We need to store employee Id &Roles into some kind of object maybe session so that it can be accessible by any Spring bean in the business layer. Da

RE: How to Share Session between JSF(MyFaces) and Spring

2007-05-18 Thread Nebinger, David
> Besides the spring integration, maybe you should rethink your > design ? > Use somthing like acegi security to perform authentification > and authorization instead of passing Session objects to the > business layer... > At least consider wrapping the info you need (user id and > roles) in an

Re: How to Share Session between JSF(MyFaces) and Spring

2007-05-18 Thread Thomas Lutz
: bansi [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 12:22 PM To: users@myfaces.apache.org Subject: How to Share Session between JSF(MyFaces) and Spring Hi Gurus Could you please tell me What are the best practices to pass Session object from JSF to Spring. For example lets say Logi

RE: How to Share Session between JSF(MyFaces) and Spring

2007-05-17 Thread bansi
irtua.com - JSF/Java EE consulting, training, and mentoring > http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info > >> -Original Message- >> From: bansi [mailto:[EMAIL PROTECTED] >> Sent: Thursday, May 17, 2007 12:22 PM >> To: users@myfaces.apache.o

RE: How to Share Session between JSF(MyFaces) and Spring

2007-05-17 Thread Jan-Kees van Andel
7; Onderwerp: RE: How to Share Session between JSF(MyFaces) and Spring Hello Bansi, You can inject Spring beans into your JSF managed beans via the Spring DelegatingVariableResolver. Given that, you should be able to call your Spring bean methods and pass in the appropriate parameters. Why do your Spri

RE: How to Share Session between JSF(MyFaces) and Spring

2007-05-17 Thread Kito D. Mann
bansi [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 17, 2007 12:22 PM > To: users@myfaces.apache.org > Subject: How to Share Session between JSF(MyFaces) and Spring > > > Hi Gurus > Could you please tell me > What are the best practices to pass Session object from JSF to Sp

How to Share Session between JSF(MyFaces) and Spring

2007-05-17 Thread bansi
Hi Gurus Could you please tell me What are the best practices to pass Session object from JSF to Spring. For example lets say LoginBean in JSF has to store userId and userRole in Session object and then pass Session object to Spring Layer so that it can be accessible by any spring bean - Do y

Re: MyFaces and Spring.

2005-11-16 Thread Mike Kienenberger
Well, I decided to go ahead and download cglib-nodep-2.1_3.jar and add it to my project, and so far, things appear to be working. Thanks for both of your help. On 11/16/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > Thanks, Yee and Marco. > > Under jsf-spring 2.7.1, here is what I have been u

Re: MyFaces and Spring.

2005-11-16 Thread Mike Kienenberger
Thanks, Yee and Marco. Under jsf-spring 2.7.1, here is what I have been using successfully for months: 1) Deleted META-INF/faces-config.xml out of the jsf-spring.jar file since the file was defective. 2) had variable resolver configured in WEB-INF/faces-config.xml (restoring functionality from s

Re: MyFaces and Spring.

2005-11-16 Thread Marco Mistroni
82333 Fax :  91 80 5138 1761 Cell :  91 98868 61757   From: Marco Mistroni [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 12, 2005 7:41 PMTo: MyFaces Discussion; [EMAIL PROTECTED] Subject: Re: MyFaces and Spring.  Hello Mike,  i am actually using this   RequestH

RE: MyFaces and Spring.

2005-11-15 Thread balaji.saranathan
- ESN:  6  877 8715 Tel :   91 80 2852 0408 * 82333 Fax :  91 80 5138 1761 Cell :  91 98868 61757   From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Saturday, November 12, 2005 7:41 PMTo: MyFaces Discussion; [EMAIL PROTECTED]Subject: Re: MyFaces and Spring. Hello Mike

Re: MyFaces and Spring.

2005-11-12 Thread Marco Mistroni
Hello Mike,  i am actually using this   RequestHandled de.mindmatters.faces.spring.support.RequestHandledFilter in your faces config you don't need to declare anything in particular in tag.. just your beans and navigations. check jsf-spring docs for which beans you would declare in jsf-config.x

RE: MyFaces and Spring.

2005-11-11 Thread Yee CN
You will also have to delete the entry in faces-config.xml (can’t remember what it was) that is required by earlier versions of jsf-spring API.   Regards, Yee   From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Friday, 11 November 2005 11:15 PM To: MyFaces Discussion Subjec

Re: MyFaces and Spring.

2005-11-11 Thread Mike Kienenberger
Marco, how are you configuring 3.0.0M2 to make it work? I'm still using jsf-spring 2.71 with spring 1.2-rc2 because I couldn't figure out how to upgrade to 3.0.0M2. Thanks, -MikeOn 11/11/05, Marco Mistroni <[EMAIL PROTECTED]> wrote: Hello,   i am using successfullly  myfaces & spring .. how ar e

Re: MyFaces and Spring.

2005-11-11 Thread Rick Gruber-Riemer
*From:* Marco Mistroni [mailto:[EMAIL PROTECTED] *Sent:* Friday, November 11, 2005 3:16 PM *To:* MyFaces Discussion *Subject:* Re: MyFaces and Spring. Hello Balaji, this link might interest you http://jroller.com/page/RickHigh/20041114 i think it can solve your

RE: MyFaces and Spring.

2005-11-11 Thread balaji.saranathan
:[EMAIL PROTECTED] Sent: Friday, November 11, 2005 3:16 PMTo: MyFaces DiscussionSubject: Re: MyFaces and Spring. Hello Balaji,   this link might interest you http://jroller.com/page/RickHigh/20041114   i think it can solve your problem..   HTH  marco  On 11/11/05, Marco Mistroni <[EM

Re: MyFaces and Spring.

2005-11-11 Thread Marco Mistroni
TECTED]] Sent: Friday, November 11, 2005 2:39 PM To: MyFaces DiscussionSubject: Re: MyFaces and Spring.  Hello,   i am using successfullly  myfaces & spring .. how ar eyou integrating the two? i personally use a library called JSF-Spring, version 3.0.0M2 and it works fine..   can you post m

Re: MyFaces and Spring.

2005-11-11 Thread Marco Mistroni
91 80 5138 1761 Cell :  91 98868 61757   From: Marco Mistroni [mailto:[EMAIL PROTECTED]] Sent: Friday, November 11, 2005 2:39 PM To: MyFaces DiscussionSubject: Re: MyFaces and Spring.  Hello,   i am using successfullly  myfaces & spring .. how ar eyou integrating the two? i personally us

RE: MyFaces and Spring.

2005-11-11 Thread balaji.saranathan
>application>   Balaji Saranathan Wipro Technologies - ESN:  6  877 8715 Tel :   91 80 2852 0408 * 82333 Fax :  91 80 5138 1761 Cell :  91 98868 61757   From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Friday, November 11, 2005 2:39 PMT

RE: MyFaces and Spring.

2005-11-11 Thread balaji.saranathan
- ESN:  6  877 8715 Tel :   91 80 2852 0408 * 82333 Fax :  91 80 5138 1761 Cell :  91 98868 61757   From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Friday, November 11, 2005 2:39 PMTo: MyFaces DiscussionSubject: Re: MyFaces and Spring. Hello,   i am using successfullly  myfaces

Re: MyFaces and Spring.

2005-11-11 Thread Marco Mistroni
Hello,   i am using successfullly  myfaces & spring .. how ar eyou integrating the two? i personally use a library called JSF-Spring, version 3.0.0M2 and it works fine..   can you post more details about how are you integrating the two so i could help finding out the problem?   thanks and regards  

MyFaces and Spring.

2005-11-11 Thread balaji.saranathan
Hi,   I'm moving from Sun RI to MyFaces. When I replace the Sun RI jars with MyFaces my application fails to load giving the following exception in Spring framework.         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)    at org.jboss.mx.util.MBe

Re: Strange issue - Resolving variables between myfaces and Spring IoC

2005-03-11 Thread Duong BaTien
I think it is the session expired and i need a filter. BaTien DBGROUPS = dbgroups wrote: Greetings: I recently discover a strange problem concerning the resolving of bean initialized by Spring IoC and myfaces. background: 1) Jsf managed beans are used to initialized under sessi

Strange issue - Resolving variables between myfaces and Spring IoC

2005-03-11 Thread dbgroups
Greetings: I recently discover a strange problem concerning the resolving of bean initialized by Spring IoC and myfaces. background: 1) Jsf managed beans are used to initialized under session scope all Jsf UI components, connected to a single Jsf portalTabbedBean. 2) The portalTabRenderer