[JBoss JIRA] Created: (RF-4190) inplaseSelect: in case using rich:componentControl for call setValue() JS API [object Object] appears
by Tatyana Romanovich (JIRA)
inplaseSelect: in case using rich:componentControl for call setValue() JS API [object Object] appears
-----------------------------------------------------------------------------------------------------
Key: RF-4190
URL: https://jira.jboss.org/jira/browse/RF-4190
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: IE6, 7
FF3
Safari
Opera
RF-3.2.2.BETA4
Reporter: Tatyana Romanovich
Assignee: Nick Belaevski
1. Add link called "setValue()" on the page with inplaceSelect component:
<a href="#" id="setValueID">setValue('passeds','passeds')</a>
2. Bind this link & inplaceSelect component following way:
<rich:componentControl attachTo="setValueID" event="onclick"
for="inplaceSelectID" operation="setValue">
<f:param name="value" value="passeds"/>
<f:param name="label" value="passeds"/>
</rich:componentControl>
3. Navigate to the test application, select InplaceSelect component.
4. Click on inplaceSelect('passed','passed') link
5. Verify inplaceSelect value.
FAILURE: [object Object] displays in the inplaceSelect component
--
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-5283) HotKey: ajax request buzzes if two hot keys are defined on the page inside panelGrid.
by Alexander Dubovsky (JIRA)
HotKey: ajax request buzzes if two hot keys are defined on the page inside panelGrid.
-------------------------------------------------------------------------------------
Key: RF-5283
URL: https://jira.jboss.org/jira/browse/RF-5283
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.BETA3
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Add two hotKeys on the page:
- the first is registered, with selector defined or type="onkeyup"
- the second has timing="onregistercall"
Open page and click a4j submit
Result: ajax buzzes.
Source code:
<h:form id="formID">
<a4j:commandButton value="a4j submit" reRender="grid"></a4j:commandButton>
<a4j:status id="a4jStatusID" startText="WORK!"
startStyle="color: red;" stopText="a4j:status"></a4j:status>
<h:panelGrid columns="1" id="grid">
<h:commandButton id="commandButtonID" onclick="return false;"
value="test select"></h:commandButton>
<rich:hotKey id="hotKeyID" handler="alert('www')" key="shift+q"
selector="#commandButtonID" type="onkeypress" />
<rich:hotKey id="jsID" timing="onregistercall" />
</h:panelGrid>
</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-1620) componentControl: does not transmit parametres in condextMenu
by Aleksej Yanul (JIRA)
componentControl: does not transmit parametres in condextMenu
-------------------------------------------------------------
Key: RF-1620
URL: http://jira.jboss.com/jira/browse/RF-1620
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: jsp
tomcat 6.0.13
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
<rich:contextMenu id="ccContextMenuID" submitMode="ajax" onexpand="alert(event.parameters.name)">
<rich:menuItem icon="/pics/header.png" value="tab1">
</rich:menuItem>
\ <rich:componentControl event="oncontextmenu" attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID" operation="show" />
<h:commandButton id="aaaa" value="sdsafsa" >
<rich:componentControl for="ccContextMenuID" event="onclick" disableDefault="true" operation="expand" params="name:'ssss'"/>
</h:commandButton>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months
[JBoss JIRA] Created: (RF-4188) modalPanel: JS function doesn't update output text on rich:modalPanel under IE6, IE7.
by Mikhail Vitenkov (JIRA)
modalPanel: JS function doesn't update output text on rich:modalPanel under IE6, IE7.
-------------------------------------------------------------------------------------
Key: RF-4188
URL: https://jira.jboss.org/jira/browse/RF-4188
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: IE6, IE7(3.2.2.BETA4)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Step 1. Create following function that output modalPanel's size in <script> section:
<script type="text/javascript">
function multiply(height,width){
var tbody = document.getElementById('tbodyID');
var tr = tbody.getElementsByTagName('TR');
var y = parseInt(height);
var x = parseInt(width);
trs[1].innerHTML = 'modalPanel\'s size: ' + x + 'x' +y + ' px*px';
return false;
}
</script>
Step 2. Inside modalPanle put following panelGrid:
<h:panelGrid columns="2" id="findComponentID">
<tbody id="tbodyID">
<tr>
<td><a4j:commandLink value="getSize" reRender="findID"
onclick="javascript:multiply(#{rich:findComponent('modalPanelID').height},#{rich:findComponent('modalPanelID').width});"></a4j:commandLink>
</td>
</tr>
<tr>
<td><h:outputText /></td>
</tr>
</tbody>
</h:panelGrid>
Step 3. Navigate on the page, contained tested modalPanel.
Step 4. Call modalPanel.
Step 5. Click on "getSize" commandLink
Actual behavior:
Under FF,Opera & Safari following string appears: modalPanel's size: 300x300 px*px
But under IE6 & IE7 following JS Error take place: "Unknown runtime error".
--
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-4592) Make onexpand event on the contextMenu cancelable (return false - doesn't work now)
by Yurii Kartsev (JIRA)
Make onexpand event on the contextMenu cancelable (return false - doesn't work now)
-----------------------------------------------------------------------------------
Key: RF-4592
URL: https://jira.jboss.org/jira/browse/RF-4592
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: RF: v.3.2.2.GA SVN $Revision: 8947 $ $Date: 2008-06-07 15:39:49 +0300 $
JBoss 4.2.3 GA
JSF: 1.2_07-b03-FCS
facelets-1.1.14
Browser: Firefox 2.0.0.17
Reporter: Yurii Kartsev
I have rich:context menu, attached to scrollableData table:
<rich:contextMenu id="personnelDataTable_Menu" event="oncontextmenu" disableDefaultMenu="true" attachTo="personnelDataTable" submitMode="server">
...
If I add there onexpand="if(commonGlobVar==0) return false;" - the menu still appears. If I put this: onexpand="if(commonGlobVar==0) alert('yes!');" - I see the message box.
--
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-4396) PropertyNotFoundException in orderingList
by Rainer Flicker (JIRA)
PropertyNotFoundException in orderingList
-----------------------------------------
Key: RF-4396
URL: https://jira.jboss.org/jira/browse/RF-4396
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: RichFaces 3.2.1.GA / 3.2.2.CR3
JBoss Seam 2.0.2.SP1
JSF 1.2 + Facelets 1.1.14
JBoss 4.2.2.GA
JDK 1.5.0_11
Reporter: Rainer Flicker
Elements are shown in a orderingList, but clicking on an item results in a javax.faces.FacesException:
javax.el.PropertyNotFoundException: /listboxedit.xhtml @60,60 value="#{item.id}": Property 'id' not found on type java.lang.String
------ xhtml snippet ---------------------------------------------------------------------------------------------------
<rich:orderingList value="#{listBoxManager.items}"
var="item" listHeight="350" listWidth="240"
activeItem="#{listBoxManager.selectedItem}"
valueChangeListener="#{listBoxManager.valueChangeListener}"
id="listOfItems">
<rich:column>
<f:facet name="header">
<h:outputText value="Id" />
</f:facet>
<h:outputText id="idOutText" value="#{item.id}" />
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="Name" />
</f:facet>
<h:outputText id="nameOutText" value="#{item.name}" />
</rich:column>
<a4j:support event="onclick"
action="#{listBoxManager.selectItem}"
reRender="listBoxPanel" />
</rich:orderingList>
------------------------------------------------------------------------------------------------------------------------------
--
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-4449) orderingList: javax.faces.FacesException take place after submit.
by Mikhail Vitenkov (JIRA)
orderingList: javax.faces.FacesException take place after submit.
-----------------------------------------------------------------
Key: RF-4449
URL: https://jira.jboss.org/jira/browse/RF-4449
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: IE6, IE7, FF 3.1, Safari 3.1, Opera 9.52(3.2.2.GA)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Priority: Critical
#1. Add rich:orderingList on the jsp:
<h:form>
<h:messages />
<rich:orderingList var="item" listHeight="300" listWidth="350"
required="true" value="#{orderingList.list}">
<rich:column>
<f:facet name="header">
<h:outputText value="Artist Name" />
</f:facet>
<h:outputText value="#{item.str0}"></h:outputText>
</rich:column>
</rich:orderingList>
<h:commandButton value="submit" />
</h:form>
#2. orderingList.list - following collection ArrayList<Data>, where Data is a class with "str0" property.
#3. Navigate to the page.
#4. Click "submit" button.
Actual behavior:
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_776307666_1][Class: org.richfaces.component.html.HtmlOrderingList,Id: j_id_jsp_776307666_3][Class: org.richfaces.component.html.HtmlColumn,Id: j_id_jsp_776307666_4][Class: javax.faces.component.html.HtmlOutputText,Id: j_id_jsp_776307666_6]}
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:626)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
at org.richfaces.renderkit.OrderingListRendererBase.encodeOneRow(OrderingListRendererBase.java:187)
at org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:86)
at org.richfaces.model.OrderingListDataModel.walk(OrderingListDataModel.java:49)
at org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:1151)
at org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:106)
at org.richfaces.renderkit.OrderingListRendererBase.encodeRows(OrderingListRendererBase.java:111)
at org.richfaces.renderkit.AbstractRowsRenderer.encodeChildren(AbstractRowsRenderer.java:138)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:610)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:250)
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:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:196)
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:177)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
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:233)
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:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.faces.FacesException: Could not retrieve value of component with path : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /CustomizePage/CustomizePage.jsp][Class: javax.faces.component.html.HtmlForm,Id: j_id_jsp_776307666_1][Class: org.richfaces.component.html.HtmlOrderingList,Id: j_id_jsp_776307666_3][Class: org.richfaces.component.html.HtmlColumn,Id: j_id_jsp_776307666_4][Class: javax.faces.component.html.HtmlOutputText,Id: j_id_jsp_776307666_6]}
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getValue(RendererUtils.java:331)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:279)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:74)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:61)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:623)
... 38 more
Caused by: org.apache.jasper.el.JspPropertyNotFoundException: /CustomizePage/CustomizePage.jsp(20,4) '#{item.int0}' Property 'int0' not found on type java.lang.String
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:104)
at javax.faces.component.UIOutput.getValue(UIOutput.java:73)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getValue(RendererUtils.java:327)
... 42 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