You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Eugine F <eu...@hotmail.com> on 2007/03/30 14:53:31 UTC

JSf Error messages and bean values not displayed

Hello To all,

I am developing an application with JSF and facelets. I have a form with 
some fileds.I am having the follwing  problem. I do not have any error 
messages displayed on my page when I click the submit button even though 
required attribute was set. The beans have all been defined and called 
acordingly.  Even the redisplay of values entered in the form is not done. I 
have zthe following displayed in tomcat

"INFO: No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' 
found, using default value 
org.apache.myfaces.renderkit.html.util.DefaultAddResource
30.03.2007 14:45:47 org.apache.myfaces.shared_impl.config.MyfacesConfig 
getBooleanInitParameter
INFO: No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' 
found, using default value true
30.03.2007 14:45:47 org.apache.myfaces.shared_tomahawk.config.MyfacesConfig 
getBooleanInitParameter
INFO: No context init parameter 
'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default 
value true
30.03.2007 14:45:47 org.apache.myfaces.shared_tomahawk.config.MyfacesConfig 
getStringInitParameter
INFO: No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' 
found, using default value 
org.apache.myfaces.renderkit.html.util.DefaultAddResource
30.03.2007 14:45:47 org.apache.myfaces.shared_tomahawk.config.MyfacesConfig 
getStringInitParameter
INFO: No context init parameter 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' 
found, using default value /faces/myFacesExtensionResource
30.03.2007 14:45:47 org.apache.myfaces.shared_tomahawk.config.MyfacesConfig 
getBooleanInitParameter
INFO: No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' 
found, using default value true
30.03.2007 14:45:47 org.apache.myfaces.shared_tomahawk.config.MyfacesConfig 
getCurrentInstance
INFO: Starting up Tomahawk on the MyFaces-JSF-Implementation"

Can anyone help?
Thanks
Eugine


Can anyone help?

_________________________________________________________________
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig 
im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/ 
Jetzt gratis downloaden!


Re: JSf Error messages and bean values not displayed

Posted by David Delbecq <de...@oma.be>.
Use <h:messages/> to see validation messages in your form.

En l'instant précis du 30/03/07 14:53, Eugine F s'exprimait en ces termes:
> Hello To all,
>
> I am developing an application with JSF and facelets. I have a form
> with some fileds.I am having the follwing  problem. I do not have any
> error messages displayed on my page when I click the submit button
> even though required attribute was set. The beans have all been
> defined and called acordingly.  Even the redisplay of values entered
> in the form is not done. I have zthe following displayed in tomcat
>
> "INFO: No context init parameter
> 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value
> org.apache.myfaces.renderkit.html.util.DefaultAddResource
> 30.03.2007 14:45:47
> org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default
> value true
> 30.03.2007 14:45:47
> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using
> default value true
> 30.03.2007 14:45:47
> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
> getStringInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value
> org.apache.myfaces.renderkit.html.util.DefaultAddResource
> 30.03.2007 14:45:47
> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
> getStringInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value
> /faces/myFacesExtensionResource
> 30.03.2007 14:45:47
> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default
> value true
> 30.03.2007 14:45:47
> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
> getCurrentInstance
> INFO: Starting up Tomahawk on the MyFaces-JSF-Implementation"
>
> Can anyone help?
> Thanks
> Eugine
>
>
> Can anyone help?
>
> _________________________________________________________________
> Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie
> gleichzeitig im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu!
> http://desktop.msn.de/ Jetzt gratis downloaden!
>