Thanks. I really appreciate it !
Lemme see if I can get it to work.
/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 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 problem..
HTH
marco
On 11/11/05, *Marco Mistroni* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hello Balaji,
i cannot comment for
org.springframework.web.jsf.DelegatingVariableResolver
when i started to code with JSF i tried to find a way
to integrate spring into it (my whole struts-based application was
centered on spring).
so by doing a freesearch i found out the JSF-Spring API
http://jsf-spring.sourceforge.net/
i was not aware (or probably i didnt search properly, though i
found reference to it into spring documentation) that it
was simply a matter of declaring a VariableResolver
if anyone on this list is integrating JSF & Spring NOT using
jsf-spring libraries, then i suppose they are the proper person
that can help.....
HTH
marco
On 11/11/05, [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi
I have this line in my faces-config.xml
<application>
<!-- This variable resolver makes the Spring beans (like
userManager etc)available to the JSF context -->
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver
</variable-resolver>
<locale-config >
<default-locale>en </default-locale>
<supported-locale >en</supported-locale>
</ locale-config>
</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]
<mailto:[EMAIL PROTECTED]>]
*Sent:* Friday, November 11, 2005 2:39 PM
*To:* MyFaces Discussion
*Subject:* 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 more details about how are you integrating the
two so i could help
finding out the problem?
thanks and regards
marco
On 11/11/05, [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>*
<[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
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.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at
org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run (Main.java:463)
at java.lang.Thread.run(Thread.java:595)
14:27:27,187 ERROR [Util] Can't instantiate class:
'org.springframework.web.jsf.
DelegatingVariableResolver'.:org.springframework.web.jsf.DelegatingVariableResol
ver:exception:org.springframework.web.jsf.DelegatingVariableResolver
14:27:28,390 ERROR [URLDeploymentScanner] Incomplete
Deployment listing:
On seeing the source for the
"DelegatingVariableResolver.java", I find the following
statement.
<b>Note:</b> Spring's JSF support has been developed and
tested against JSF 1.1. Unfortunately, the JSF 1.1 RI (as
of June 2004) does not apply a custom VariableResolver to
property values of JSF-managed beans: This has to be
considered a bug, as it is supposed to work according to
the JSF spec. It does work in <a href="
http://www.marinschek.com/myfaces/tiki"
<http://www.marinschek.com/myfaces/tiki%22>>MyFaces</a>
1.0.5, for example.
I use MyFaces nightly build, to be exact myfaces-20051105.
Do anyone have any pointers as to what might be wrong?
Thanks
/Balaji Saranathan/
*Wipro Technologies*
-----------------------------------------------------
ESN: 6 877 8715
Tel : 91 80 2852 0408 * 82333
Fax : 91 80 5138 1761
Cell : 91 98868 61757
Confidentiality Notice
The information contained in this electronic message and
any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain
confidential or privileged information. If
you are not the intended recipient, please notify the
sender at Wipro or [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> immediately
and destroy all copies of this message and any attachments.
Confidentiality Notice
The information contained in this electronic message and any
attachments to this message are intended
for the exclusive use of the addressee(s) and may contain
confidential or privileged information. If
you are not the intended recipient, please notify the sender
at Wipro or [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
immediately
and destroy all copies of this message and any attachments.
Confidentiality Notice
The information contained in this electronic message and any
attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro
or [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.