[JBoss JIRA] Created: (RF-5374) Editor: onchange, onsave, oninit and onsetup callbacks do not work if was defined using f:param.
by Alexander Dubovsky (JIRA)
Editor: onchange, onsave, oninit and onsetup callbacks do not work if was defined using f:param.
------------------------------------------------------------------------------------------------
Key: RF-5374
URL: https://jira.jboss.org/jira/browse/RF-5374
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.BETA3
Reporter: Alexander Dubovsky
Assignee: Alexandr Levkovsky
onchange, onsave, oninit and onsetup callbacks do not work if was defined using f:param.
Example:
<script type="text/javascript">
function myCustomOnChangeHandler(event,inst) {
alert("Some one modified something");
alert("The HTML is now:" + inst.getBody().innerHTML);
}
</script>
<h:form>
<rich:editor id="editorID" value="#{editor.value}" >
<f:param name="onchange_callback" value="myCustomOnChangeHandler"/>
</rich:editor>
<a4j:commandButton reRender="editorID" value="reRender"></a4j:commandButton>
</h:form>
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-5372) dragIndicator: style, defined through the "style" attribute is applied just during indicator over drop zone.
by Mikhail Vitenkov (JIRA)
dragIndicator: style, defined through the "style" attribute is applied just during indicator over drop zone.
------------------------------------------------------------------------------------------------------------
Key: RF-5372
URL: https://jira.jboss.org/jira/browse/RF-5372
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.BETA3)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Priority: Minor
#1. Add dragIndicator:
<rich:dragIndicator id="indicator" style="border-color: yellow;border-color: yellow;border-color: yellow;">
</rich:dragIndicator>
#2. Add panelGrid with dragSupport following way:
<h:panelGrid columns="1" id="panel1">
<h:panelGroup id="column1">
<a4j:outputPanel>
<rich:dragSupport dragType="dragType1" dragIndicator="indicator"></rich:dragSupport>
<h:outputText value="Drag it 1" />
</a4j:outputPanel>
</h:panelGroup>
</h:panelGrid>
#3. Add panelGrid with dropSupport:
<h:panelGrid columns="1" id="panel3">
<h:panelGroup id="column3">
<a4j:outputPanel>
<rich:dropSupport acceptedTypes="dragType1"></rich:dropSupport>
<h:outputText value="Drop from 1" />
</a4j:outputPanel>
</h:panelGroup>
</h:panelGrid>
#4. Naigate to the page and drag'n'drop "Drag it 1" to "Drop from 1".
#5. Verify dragIndicator style.
Actual behavior:
style, defined through the "style" attribute is applied just during indicator over the "column3" panelGrid.
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-5419) listShuttle: component controls doesn't became disabled under Safari 3.1
by Mikhail Vitenkov (JIRA)
listShuttle: component controls doesn't became disabled under Safari 3.1
------------------------------------------------------------------------
Key: RF-5419
URL: https://jira.jboss.org/jira/browse/RF-5419
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: Safari 3.1(3.3.0-SNAPSHOT)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Navigate to listShuttle livedemo page unde Safari.
#2. Click "Copy All" control & verify "Copy" & "Remove" controls activity - it's became enable.
#3. Click on any target list item.
#4. Click "Remove All" control.
#5. Verify order controls("First", "Up", "Down", "Last") activity. - it's still enable.
Expected behavior:
If no one item selected - "Copy" and "Remove" controls should be disabled.
If less than two items in target list - order controls should be disabled.
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-5425) orderingList: controls never became disabled under Safari 3.1.
by Mikhail Vitenkov (JIRA)
orderingList: controls never became disabled under Safari 3.1.
--------------------------------------------------------------
Key: RF-5425
URL: https://jira.jboss.org/jira/browse/RF-5425
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: Safari 3.1(3.3.0.BETA4)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Navigate to "Ordering List" richfaces-demo page under Safari.
#2. Select the 1st record in list: "Sorry I'm A Lady" "Baccara".
#3. Verify "First" and "Up" controls activity.
#4. Click "Last" component control.
#5. Verify "Last" and "Down" controls activity.
Actual behavior:
When selected item in the top - "First" and "Up" controls doesn't became disabled.
When selected item in the bottom - "Last" and "Down" controls doesn't became disabled.
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-5318) inputNumberSlider: NPE
by Tsikhon Kuprevich (JIRA)
inputNumberSlider: NPE
----------------------
Key: RF-5318
URL: https://jira.jboss.org/jira/browse/RF-5318
Project: RichFaces
Issue Type: Bug
Environment: test-application
jsp
myfaces 1.2.5
tomcat 6
Reporter: Tsikhon Kuprevich
Assignee: Nick Belaevski
Priority: Critical
Fix For: 3.3.0
<html>
<f:view>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<title>Edit Node</title>
</head>
<body topmargin=20 leftmargin=20>
<h:form>
<rich:dataFilterSlider id="df" handleValue="123"></rich:dataFilterSlider>
</h:form>
</body>
</f:view>
</html>
javax.faces.FacesException: Exception while calling encodeEnd on component : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /CustomizePage/CustomizePage.jsp][Class: javax.faces.component.html.HtmlForm,Id: j_id_jsp_1491964007_1][Class: org.richfaces.component.html.HtmlDataFilterSlider,Id: df]}
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:261)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:427)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:383)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:197)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:307)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:407)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:534)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:246)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at org.richfaces.component.UIDataFltrSlider.getSliderRange(UIDataFltrSlider.java:217)
at org.richfaces.renderkit.DataFilterSliderRendererBase.renderSliderJs1(DataFilterSliderRendererBase.java:84)
at org.richfaces.renderkit.html.DataFilterSliderRenderer.doEncodeEnd(DataFilterSliderRenderer.java:296)
at org.richfaces.renderkit.html.DataFilterSliderRenderer.doEncodeEnd(DataFilterSliderRenderer.java:309)
at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
... 34 more
--
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
17 years, 3 months