[JBoss JIRA] Created: (RF-7226) AjaxValidator - Could not build a default Bean Validator factory
by Lukas Fryc (JIRA)
AjaxValidator - Could not build a default Bean Validator factory
----------------------------------------------------------------
Key: RF-7226
URL: https://jira.jboss.org/jira/browse/RF-7226
Project: RichFaces
Issue Type: Bug
Components: component
Affects Versions: 3.3.1
Environment: JBoss AS 5.0.1.GA, JDK 1.5 or just http://livedemo.exadel.com/richfaces-demo/
Reporter: Lukas Fryc
When I tried to put something in inputs using <rich:ajaxValidator event="onblur"/> on AjaxValidator's page
and next I let it validate (blur input), it resulted to HTTP Status 500:
javax.servlet.ServletException: javax.faces.FacesException: Could not build a default Bean Validator factory
javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
...
javax.validation.ValidationException: Unable to find a default provider
javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:248)
javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:115)
org.richfaces.validator.BeanValidator.getValidator(BeanValidator.java:105)
org.richfaces.validator.BeanValidator.validate(BeanValidator.java:41)
org.richfaces.validator.ObjectValidator$ValidationResolver.setValue(ObjectValidator.java:411)
org.jboss.el.parser.AstPropertySuffix.setValue(AstPropertySuffix.java:73)
org.jboss.el.parser.AstValue.setValue(AstValue.java:84)
org.jboss.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Created: (RF-7135) problem with rich:tree in ie 7 with richfaces 3.3.0 and 3.3.1
by Josafá Jr (JIRA)
problem with rich:tree in ie 7 with richfaces 3.3.0 and 3.3.1
-------------------------------------------------------------
Key: RF-7135
URL: https://jira.jboss.org/jira/browse/RF-7135
Project: RichFaces
Issue Type: Bug
Components: browser compatibility
Affects Versions: 3.3.0
Environment: Internet Explorer 7
Reporter: Josafá Jr
Fix For: 3.3.1
Hi everybody,
I'm creating a page with rich:tree component.
The page is working perfectly with mozilla 3 but when I try to view the page in IE 7 I get a error message of the script debbuger that says:
Error in line 10, the error is 'elements' is null or is not an object.
whe I go to debug the debbuger shows a javascript and highlight the text: "var field=form.elements[fields[i]]" in line 10.
My code is:
<rich:tree id="treeModelo" style="width:200px" value="#{modeloTreeBean.treeNode}" nodeFace="#{item.tipo}"
var="item" switchType="ajax" nodeSelectListener="#{modeloTreeBean.processSelection}"
ajaxSubmitSelection="true" ajaxKeys="#{null}" reRender="treeModelo">
<rich:treeNode type="ap" iconLeaf="/images/icons/document.png" icon="/images/icons/document.png" >
<h:outputText value="#{item.nome}" />
</rich:treeNode>
<rich:treeNode type="m" iconLeaf="/images/icons/document.png" icon="/images/icons/document.png" >
<h:outputText value="#{item.nome}" />
</rich:treeNode>
<rich:treeNode type="p" iconLeaf="/images/icons/document.png" icon="/images/icons/document.png" >
<h:outputText value="#{item.nome}" />
</rich:treeNode>
</rich:tree>
the complete code of the debbuger is:
if(!window.A4J){window.A4J={};}
if(!A4J.findForm){function _JSFFormSubmit(linkId,formName,target,parameters){var form=(typeof formName=='string'?document.getElementById(formName):formName);if(form){var paramNames=[];var oldTarget=form.target;if(target){form.target=target;}
if(parameters){for(var param in parameters){paramNames.push(param);if(form.elements[param]){form.elements[param].value=parameters[param];}else{var input=document.createElement("input");input.type="hidden";input.id=param;input.name=param;input.value=parameters[param];if(param==="javax.faces.portletbridge.STATE_ID"&&form.firstChild){form.insertBefore(input,form.firstChild);}else{form.appendChild(input);}}}}
var onsubmitResult;if(form.fireEvent){onsubmitResult=form.fireEvent("onsubmit");}else{var event=document.createEvent("HTMLEvents");event.initEvent("submit",true,true)
onsubmitResult=form.dispatchEvent(event);}
if(onsubmitResult){form.submit();}
_clearJSFFormParameters(formName,oldTarget,paramNames);}else{alert("Form "+formName+" not found in document");}
return false;};function _clearJSFFormParameters(formName,target,fields){var form=(typeof formName=='string'?document.getElementById(formName):formName);if(form){if(target){form.target=target;}else{form.target='';}
if(fields){for(var i=0;i<fields.length;i++){var field=form.elements[fields[i]];if(field){var pNode=field.parentNode;if(pNode){pNode.removeChild(field);}}}}}}
function clearFormHiddenParams(formName,target,fields){_clearJSFFormParameters(formName,target,fields);}
A4J.findForm=function(element){var parent=element;do{parent=parent.parentNode;}while(parent&&parent.nodeName.toLowerCase()!='form');if(!parent){parent={reset:function(){},submit:function(){}};}
return parent;}
A4J._formInput=null;A4J.setupForm=function(id){var element=(typeof id=='string'?window.document.getElementById(id):id);var name="click";if(element.addEventListener){element.addEventListener(name,A4J._observer,false);}else if(element.attachEvent){element.attachEvent('on'+name,A4J._observer);}}
A4J._observer=function(evt){var src=evt.target||evt.srcElement;if(src&&src.nodeName.toUpperCase()=='INPUT'&&src.type.toUpperCase()=='SUBMIT'){A4J._formInput=src;}else{A4J._formInput=null;}}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Created: (RF-7466) realworld/images/Safari, Chrome: "Select text color" and "Select background color" in Comments window don't work
by Inna Shchibrya (JIRA)
realworld/images/Safari, Chrome: "Select text color" and "Select background color" in Comments window don't work
-----------------------------------------------------------------------------------------------------------------
Key: RF-7466
URL: https://jira.jboss.org/jira/browse/RF-7466
Project: RichFaces
Issue Type: Bug
Components: examples
Affects Versions: 3.3.2.CR1
Environment: Safari, Chrome
Reporter: Inna Shchibrya
Assignee: Andrey Markhel
Priority: Minor
Attachments: chrome_comments.png
1. Login to the application.
2. Select any image.
3. In Comments window click on "Select text color" or "Select background color" icons. --> For Chrome: pop-up with "javascript:;" has appeared in the left bottom corner of the screen. See attachment.
4. Try to select any color from the palette. --> It is impossible: the color in not selected and applied, the palette is not closed.
Expected result: "Select text color" and "Select background color" in Comments window should work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months