[JBoss JIRA] Created: (RF-6471) Drap and drop should scroll tree up or down when scrollbars are displayed
by Wouter van Reeven (JIRA)
Drap and drop should scroll tree up or down when scrollbars are displayed
-------------------------------------------------------------------------
Key: RF-6471
URL: https://jira.jboss.org/jira/browse/RF-6471
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.3.0
Reporter: Wouter van Reeven
We have a rich:panel with a rich:tree inside of it. The rich:panel has "overflow: auto;" in its style. Whenever the tree gets higher than a certain height, the rich:panel displays scrollbars.
For maintenance of the tree we have implemented dragging and dropping of tree nodes to either move them to a certain location, or to copy them to that location. When the tree is very high and the scrollbars are visible, the panel doesn't automatically scroll up or down whenever a tree node is dragged to the upper or lower boundary of the panel.
When using a mouse with a wheel, it is possible to scroll the panel with the mouse wheel while dragging a tree node. However, many of our users use laptops with no wheelmouse so they cannot do this.
Please extend the rich:panel (and other components that may have a tree component inside of them) with a setting that enables (or disables) scrolling of the panel during drag actions.
--
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-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