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
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
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{
>
>> 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
> -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
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.
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
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
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
> 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
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
> 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
: 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
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
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
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
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
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
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
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
-
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
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
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
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
*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
:[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
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
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
>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
-
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
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
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
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
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
34 matches
Mail list logo