I don't know spring until yet...
So I can't answer your question.
But looking at your definition I'd like to remark the following thing:
You are talking about application scope but in your bean definiton the managed-bean-scope is session and not application!
regards,
Steven
2006/9/13, Kelvin James <[EMAIL PROTECTED]>:
Thanks!
I am using <h:message tag for each validation
Stefan : I am facing some more problem when integrating spring and JSF
I have written beans defination in application scope using spring-app.xml in web.xml
<bean id="interfaceTest" class="com.niit.hsw.dao.impl.ImplTest">
</bean>
I have used faces-config file for managing this bean using managed-bean tag
<managed-bean>
<description>Basic UserBean</description>
<managed-bean-name>user</managed-bean-name>
<managed-bean-class>org.jboss.portlet.hello.bean.User </managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>interfaceTest</property-name>
<value>#{InterfaceTest}</value>
</managed-property>
</managed-bean>
But when i am trying to use the object of interfaceTest it throws NullPointer Is there some configuration required for getting the object from application scope..
Thanks in Advance
--
JamesOn 9/13/06, Stefan Gesigora <[EMAIL PROTECTED] > wrote:Hi!
I think there's a bug in the myfaces implementation if you are using instead of the global h:messages tag the local h:message tag!
They don't work together. Either you use always h:messages - then the validation errors should be displayed - or you map your validation errors to one of your h:message fields.
Regards,
Steven2006/9/13, Kelvin James <[EMAIL PROTECTED] >:HI
I have created a portal in JBOSS Portal 2.4
I am using JSF validation tags for mandatory fields in a JSF portlet.
But I am not able to see the validation messages on UI screen
Is there some Integation settings required for JSF + Jboss portal
or need to include any jar for the same.
Same Problem I have seen with Welogic Portal 8.1
Thanks in Advance
--
James

