[JBoss JIRA] Created: (SEAMFACES-166) UIValidateForm doesn't set the rendererType property correctly
by Christian Kaltepoth (JIRA)
UIValidateForm doesn't set the rendererType property correctly
--------------------------------------------------------------
Key: SEAMFACES-166
URL: https://issues.jboss.org/browse/SEAMFACES-166
Project: Seam Faces
Issue Type: Bug
Components: Validation & Conversion
Affects Versions: 3.0.1
Environment: Tomcat 7.0.5, MyFaces 2.0.5, Weld 1.1.0
Reporter: Christian Kaltepoth
Priority: Minor
MyFaces emits some warning when <s:validateForm> is used on a page:
{code}
30.05.2011 17:30:03 org.apache.myfaces.renderkit.html.HtmlRenderKitImpl getRenderer
WARNUNG: Unsupported component-family/renderer-type: org.jboss.seam.faces.ValidateForm/javax.faces.Text
30.05.2011 17:30:03 org.apache.catalina.core.ApplicationContext log
INFO: No Renderer found for component {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /validation.xhtml][Class: javax.faces.component.html.HtmlForm,Id: j_id98696035_5e1fb46][Class: org.jboss.seam.faces.component.UIValidateForm,Id: j_id98696035_5e1fb24]} (component-family=org.jboss.seam.faces.ValidateForm, renderer-type=javax.faces.Text)
30.05.2011 17:30:03 javax.faces.component.UIComponentBase getRenderer
WARNUNG: No Renderer found for component {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /validation.xhtml][Class: javax.faces.component.html.HtmlForm,Id: j_id98696035_5e1fb46][Class: org.jboss.seam.faces.component.UIValidateForm,Id: j_id98696035_5e1fb24]} (component-family=org.jboss.seam.faces.ValidateForm, renderer-type=javax.faces.Text)
{code}
{{UIValidateForm}} doesn't render any output and therefore implements the {{encode*()}} methods with empty method bodies. The {{rendererType}} property has to be {{null}} for this methods to be used (direct implementation model for rendering components).
The problem with {{UIValidateForm}} is that it is a subclass of {{UIInput}}. According to 4.1.6.2 the default value of the {{rendererType}} property for {{UIInput}} is {{javax.faces.Text}}. As {{UIValidateForm}} doesn't overwrite {{getRendererType()}} MyFaces uses the default value and therefore searches for a renderer for the component.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 10 months
[JBoss JIRA] Created: (SEAMCRON-22) NPE stopping scheduler under Weld
by Peter Royle (JIRA)
NPE stopping scheduler under Weld
---------------------------------
Key: SEAMCRON-22
URL: https://issues.jboss.org/browse/SEAMCRON-22
Project: Seam Cron
Issue Type: Bug
Reporter: Peter Royle
Assignee: Peter Royle
Notice in the tests since switching to Weld Arquillian and when redeploying on JBoss AS there is a NPE during undeployment. I have been incorrectly relying on providers being @ApplicationScoped which seems to work in OWB but not in Weld. I'm not sure what position the spec takes on that. Will simply remote the scoping and rework so dependencies are injected into each observer of the Extension.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 10 months
[JBoss JIRA] Created: (SEAMCRON-23) Extension does not follow spec
by Peter Royle (JIRA)
Extension does not follow spec
------------------------------
Key: SEAMCRON-23
URL: https://issues.jboss.org/browse/SEAMCRON-23
Project: Seam Cron
Issue Type: Bug
Reporter: Peter Royle
Assignee: Peter Royle
Fix For: 3.0.0.Alpha1
I was using @ApplicationScoped provider implementations, expecting the same instance of the bean to be available for injection during AfterBeanValidation and BeforeShutdown. I found that the injected instances were different, and therefore any initialisation I performaed at startup could not properly be unding on shutdown. This was the main cause of SEAMCRON-15. After further investigation and reading this thread (http://weld-development-discussions.46994.n3.nabble.com/clarification-of-...) I realise that I cannot depend on any scopes being active during AfterBeanValidation (this seemed to work in OWB though). Not yet sure what the appropriate way is to do this. I'm getting the feeling that if I'm going to be grabbing providers from the manager, they'll need to be no/default-scoped and cached by the extension.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 10 months