[JBoss JIRA] Created: (RF-2232) actionparam fails when using javascript
by Magnus Sandberg (JIRA)
actionparam fails when using javascript
---------------------------------------
Key: RF-2232
URL: http://jira.jboss.com/jira/browse/RF-2232
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Reporter: Magnus Sandberg
(This might be the same as RF-1815)
It seems like A4J.AJAX.Submit creates bad requests when a java-script is used:
<a4j:actionparam name="XX" value="YY" assignTo="#{parameters.value}" />
works, request contains: &XX=YY&
<a4j:actionparam name="XX" value="screen.height" assignTo="#{parameters.value}" noEscape="true" />
works, request contains: &XX=4711&
<a4j:actionparam name="XX" value="document.getElementById('xx_node')" assignTo="#{parameters.value}" noEscape="true" />
does not work, request contains: &=my_value&, so the XX= is dropped and <null> is assigned to #{parameters.value}.
--
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
18 years, 2 months
[JBoss JIRA] Created: (RF-2215) rich:tab created in c:forEach fails if properties are defined by EL expressions
by David M. Karr (JIRA)
rich:tab created in c:forEach fails if properties are defined by EL expressions
-------------------------------------------------------------------------------
Key: RF-2215
URL: http://jira.jboss.com/jira/browse/RF-2215
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Reporter: David M. Karr
This simple test case creates rich:tab elements with a c:forEach inside a rich:tabPanel. The attributes of the enclosed tab are defined by EL expressions. When the page displays, a NPE in org.richfaces.renderkit.TabPanelRendererBase.encodeTabs() occurs. Tracing this in the debugger, the NPE happens because the "name" property of the tab object is null. The value of the "name" property is specified by the "#{property.propertyID}" expression, which should not be null.
I've tested this scenario in RichFaces 3.1.3 and 3.1.4, myFaces 1.2.2, and Sun RI 1.2_07-b03.
I obviously don't know for certain if this is a bug in RichFaces, or any of the other various frameworks integrated with this. it's just a reasonable guess that it is. I've been pursuing this issue in the various forums with several notes, but I haven't gotten any leads from that.
I'm going to attach the entire Eclipse project that demonstrates this, which is pretty small.
--
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
18 years, 2 months
[JBoss JIRA] Created: (RF-2266) Problems selecting an item from listShuffle after reRender
by Antonio Junior (JIRA)
Problems selecting an item from listShuffle after reRender
----------------------------------------------------------
Key: RF-2266
URL: http://jira.jboss.com/jira/browse/RF-2266
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4, 3.1.3, 3.2.0
Environment: Firefox 2.0
IE7
JBoss 4.2.1
Reporter: Antonio Junior
I have a <listShuttle> element in my page, and a <h:selectOneMenu> combined with a <a4j:support> which should reRender the listShuttle component.
Unfortunatelly, this doesn' t happens - the list values are shown but I'm unable to click on the elements. After the first access, when the lists are loaded in the session, making a new request re-render the whole page, and the listShuttle component works fine.
I saw a similar issue, that seems to be solved: RF1510.
I tried the versions 3.1.3, 3.1.4 and 3.2.0 - richfaces-ui-3.2.0-20080125.055336-75-bin.zip.
Below is the code where the problem happens:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
template="/pages/layout.xhtml">
<ui:define name="title"><h:outputText value="#{bundle['title.manageGroups']}"/></ui:define>
<ui:define name="principal">
<h:form>
<h:panelGrid id="panel1" align="center" columns="2" border="0">
<h:outputText id="label_tipoGrupo" styleClass="textInput" value="Grupo: " />
<h:selectOneMenu id="chooseTypeGroup" styleClass="comboBox"
value="#{managedGroupBean.grupoSelecionado}">
<f:selectItems id="mySelectItems" value="#{managedGroupBean.grupos}" />
<a4j:support event="onchange" action="#{managedGroupBean.listarUser}"
reRender="lsUser, lsStructure" />
</h:selectOneMenu>
</h:panelGrid>
<h:panelGrid id="panel2" align="center" columns="1" border="0">
<h:outputText id="label_usuario" styleClass="textInput" value="Associacao de Usuarios" />
<rich:listShuttle id="lsUser"
sourceValue="#{managedGroupBean.listaUser}"
targetValue="#{managedGroupBean.listaUserTarget}" var="items"
sourceCaptionLabel="Usuario Sem Grupo"
targetCaptionLabel="Usuario Associado Grupo"
converter="conversorUser">
<rich:column>
<h:outputText value="#{items.name}" />
</rich:column>
</rich:listShuttle>
<h:outputText id="label_estrutura" styleClass="textInput" value="Associacao de Usuarios" />
<rich:listShuttle id="lsStructure"
sourceValue="#{managedGroupBean.listaEstrutura}"
targetValue="#{managedGroupBean.listaEstruturaTarget}" var="items"
sourceCaptionLabel="Estrutura Sem Grupo"
targetCaptionLabel="Estrutura Associada ao Grupo"
converter="conversorStructure">
<rich:column>
<h:outputText value="#{items.name}" />
</rich:column>
</rich:listShuttle>
<a4j:commandButton styleClass="btnActions" id="btn_send" value="Salvar" action="#{managedGroupBean.gravar}" style="visibility: visible;"/>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>
--
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
18 years, 2 months
[JBoss JIRA] Created: (RF-2345) Correct the description of keepAlive component in RichFAces Livedemo
by Alexander Belov (JIRA)
Correct the description of keepAlive component in RichFAces Livedemo
--------------------------------------------------------------------
Key: RF-2345
URL: http://jira.jboss.com/jira/browse/RF-2345
Project: RichFaces
Issue Type: Bug
Reporter: Alexander Belov
Please, collect this:
This example will not work as expected. The expression for 'enabled' attribute
equals true only after UPDATE model phase when the rsBean properties are
updated with submitted values. So, the component is rendered as enabled
on the RENDER RESPONSE phase.
However, those values do not make sence during the next Ajax request. The
rsBean is created from scratch as soon as it is a new request. JSF makes a
decision what is process on the second (APPLY VALUES) phase. At this moment,
the expression for 'disabled' still equals false. Therefore, the processing
for button is bypassed. The action does not invoked as a result.
phase
For exampe, "enabled" attribute doesn't exist. Please, review this description.
--
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
18 years, 2 months
[JBoss JIRA] Created: (RF-2321) dataFilterSlider: java.lang.IllegalArgumentException: Component dfsID is no ActionSource2
by Aleksej Yanul (JIRA)
dataFilterSlider: java.lang.IllegalArgumentException: Component dfsID is no ActionSource2
-----------------------------------------------------------------------------------------
Key: RF-2321
URL: http://jira.jboss.com/jira/browse/RF-2321
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: jsp
tomcat 6
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
org.apache.jasper.JasperException: An exception occurred processing JSP page /DataFilterSlider/DataFilterSlider.jsp at line 8
5:
6: <f:subview id="dataFilterSliderSubviewID">
7:
8: <rich:dataFilterSlider sliderListener="#{dfs.doSlide}" action="#{dfs.act}" actionListener="#{dfs.actListener}"
9: rendered="#{dfs.rendered}" binding="#{inventoryList.dataFilterSlider}"
10: for="carList" forValRef="inventoryList.carInventory"
11: filterBy="getMileage" manualInput="true" storeResults="true"
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
org.apache.jsp.pages.Rich.Rich_jsp._jspx_meth_h_005fcolumn_005f0(Rich_jsp.java:373)
org.apache.jsp.pages.Rich.Rich_jsp._jspx_meth_h_005fpanelGrid_005f0(Rich_jsp.java:305)
org.apache.jsp.pages.Rich.Rich_jsp._jspx_meth_h_005fform_005f0(Rich_jsp.java:223)
org.apache.jsp.pages.Rich.Rich_jsp._jspService(Rich_jsp.java:137)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:475)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:143)
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:143)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
root cause
java.lang.IllegalArgumentException: Component dfsID is no ActionSource2
org.richfaces.webapp.taglib.UIComponentELTagBase.setActionProperty(UIComponentELTagBase.java:49)
org.richfaces.taglib.DataFilterSliderTag.setProperties(DataFilterSliderTag.java:695)
javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:230)
javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:486)
javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:670)
javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1136)
org.apache.jsp.DataFilterSlider.DataFilterSlider_jsp._jspx_meth_rich_005fdataFilterSlider_005f0(DataFilterSlider_jsp.java:270)
org.apache.jsp.DataFilterSlider.DataFilterSlider_jsp._jspx_meth_f_005fsubview_005f0(DataFilterSlider_jsp.java:143)
org.apache.jsp.DataFilterSlider.DataFilterSlider_jsp._jspService(DataFilterSlider_jsp.java:104)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
org.apache.jsp.pages.Rich.Rich_jsp._jspx_meth_h_005fcolumn_005f0(Rich_jsp.java:373)
org.apache.jsp.pages.Rich.Rich_jsp._jspx_meth_h_005fpanelGrid_005f0(Rich_jsp.java:305)
org.apache.jsp.pages.Rich.Rich_jsp._jspx_meth_h_005fform_005f0(Rich_jsp.java:223)
org.apache.jsp.pages.Rich.Rich_jsp._jspService(Rich_jsp.java:137)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:475)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:143)
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:143)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
--
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
18 years, 2 months