[JBoss JIRA] (RF-12523) a4j:commandButton generates duplicated context path using a resource value expression within image attribute
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12523?page=com.atlassian.jira.plugin.s... ]
Juraj Húska reassigned RF-12523:
--------------------------------
Assignee: Juraj Húska
> a4j:commandButton generates duplicated context path using a resource value expression within image attribute
> ------------------------------------------------------------------------------------------------------------
>
> Key: RF-12523
> URL: https://issues.jboss.org/browse/RF-12523
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: resource handling
> Affects Versions: 4.2.2.Final, 4.3.0.M1
> Environment: Windows 7 Professional, JBoss AS 6.1.0.Final, Mojarra 2.1.7
> Reporter: Andreas Owczarek
> Assignee: Juraj Húska
> Labels: testcase_provided
> Fix For: 5-Tracking
>
>
> a4j:commandButton produces an extra context path prefix for the image resource path, when it is used with the value expression {code}#{resource['library:file']}{code} for the image attribute.
> {code:xml|title=Example code}
> <a4j:commandButton image="#{resource['icons:icon.gif']}" value="#{resource['icons:icon.gif']}"/>
> {code}
> {code:xml|title=Generated Result code}
> <input type="image" alt="/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" src="/com.example.my.context.path/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" value="/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" onclick="RichFaces.ajax("j_idt76",event,{"incId":"1"} );return false;" name="j_idt76" id="j_idt76">
> {code}
> The generated code show the correct value for the expression within the generated button label, but the image could not be located correctly because of the wrong generated image resource path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (RF-12710) rich:calendar - currentDate attribute has confusing name and documentation
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12710?page=com.atlassian.jira.plugin.s... ]
Brian Leathem resolved RF-12710.
--------------------------------
Resolution: Done
I changed the docs for this attribute to say:
{quote}
Used to define the define the month and year which will be displayed
{quote}
> rich:calendar - currentDate attribute has confusing name and documentation
> --------------------------------------------------------------------------
>
> Key: RF-12710
> URL: https://issues.jboss.org/browse/RF-12710
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: doc
> Affects Versions: 4.3.0.CR1
> Reporter: Jan Papousek
> Assignee: Brian Leathem
> Fix For: 4.3.0.Final
>
> Original Estimate: 15 minutes
> Remaining Estimate: 15 minutes
>
> Rich:calendar@currentDate sets a default month which will be displayed in its popup. The VDL doc says {quote}Defines the current date{quote}
> I think the attribute name should be more explanatory and its documentation should be updated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (RF-12717) “Component ID <componentId> has already been found in the view” exception when using rich:dataTable with JSF 2.1.13 on EAP 6.0.1.
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12717?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-12717:
----------------------------------
Assignee: Juraj Húska (was: Brian Leathem)
Thanks [~jhuska] for verifying that the submitted war demonstrates the error reported.
Would you please try and re-produce this either in metamer, or in a stand-alone sample that doesn't include the dependencies of the user provided sample application (Spring, Primefaces, etc.)?
> “Component ID <componentId> has already been found in the view” exception when using rich:dataTable with JSF 2.1.13 on EAP 6.0.1.
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12717
> URL: https://issues.jboss.org/browse/RF-12717
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.2.3.Final
> Reporter: Ilia Vassilev
> Assignee: Juraj Húska
> Fix For: 4.3.0.Final
>
> Attachments: sample.rar
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> This is a problem with <richataTable>. The component id for each row is reused. If you change the markup to use an ordinary <h:dataTable> and <h:column> then it works correctly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (RF-12728) rich:fileUpload doesn't accept valid file after its unsuccessful multiple upload
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12728?page=com.atlassian.jira.plugin.s... ]
Brian Leathem resolved RF-12728.
--------------------------------
Labels: needs-qe regression (was: regression)
Resolution: Done
This was caused by the name attribute introduced in RF-12693. The name attribute is in fact set dynamically via javascript during file submit, so I removed the name attribute from CDK template.
> rich:fileUpload doesn't accept valid file after its unsuccessful multiple upload
> --------------------------------------------------------------------------------
>
> Key: RF-12728
> URL: https://issues.jboss.org/browse/RF-12728
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.CR1
> Environment: RichFaces 4.3.0.CR1
> Metamer 4.3.0.20130114-CR1
> Weld Servlet (Uber Jar) 20120106-1159
> Apache Tomcat 7.0.34
> Java(TM) SE Runtime Environment 1.7.0_10-b18 @ Linux
> Firefox 16.0 @ Linux x86_64
> RichFaces 4.3.0.CR1
> Metamer 4.3.0.20130114-CR1
> JBoss Application Server: Weld Integration 7.1.1.Final
> JBoss AS 7.1.1.Final
> Java(TM) SE Runtime Environment 1.7.0_10-b18 @ Linux
> Firefox 16.0 @ Linux x86_64
> Reporter: Jan Papousek
> Assignee: Brian Leathem
> Labels: regression, needs-qe
> Fix For: 4.3.0.Final
>
> Attachments: to_upload.png
>
> Original Estimate: 3 hours
> Remaining Estimate: 3 hours
>
> Using 4.3.0.M3 I've successfuly uploaded 3 files from the attachment in one time.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (RF-12762) Duplicate id problem in ExtendedDatatable with dynamic columns
by blam lam (JIRA)
blam lam created RF-12762:
-----------------------------
Summary: Duplicate id problem in ExtendedDatatable with dynamic columns
Key: RF-12762
URL: https://issues.jboss.org/browse/RF-12762
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.3.0.CR1
Environment: Windows 7 , weblogic10.4.3, Myfaces 2.1.10, IE 9, FireFox 14.0.1
Reporter: blam lam
Priority: Critical
When the ExtendedDataTable contains dynamic columns (i.e. using for:each), "java.lang.IllegalStateException: component with duplicate id" will occur after the second submit from a commandButton.
The problem does not appear in 4.2.3 Final but found in 4.3 CR1
Sample source code:
<h:form id="frmMarkUpdate">
<a4j:outputPanel id="resultPanel">
<rich:extendedDataTable id="studentVoMarkInputTab"
value="#{updateMarkBean.studentVoMarkAmends}"
var="studVo"
selectionMode="none"
height="100%">
<rich:column width="200px" >
<f:facet name="header">
Status
</f:facet>
<h:outputText value="#{studVo.student.markAmendStatus}" />
</rich:column>
<c:forEach items="#{updateMarkBean.taskVos}" var="tvo" varStatus="s">
<rich:column width="100px">
<f:facet name="header">
<h:outputText value="#{tvo.task.taskName}" />
</f:facet>
<h:inputText id="task#{s.index}_amk"
value="#{studVo.getTaskMarkMap().get(tvo.task.taskId).amendedMark}"
size="1" maxlength="3"/>
</rich:column>
</c:forEach>
</rich:extendedDataTable>
<a4j:commandButton id="btnSave" value="Save"
action="#{updateMarkBean.doBeforeSave}"
styleClass="button blue">
</a4j:commandButton>
</a4j:outputPanel>
</h:form>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (RF-12758) ExtendedDatatable: horizontal scroll bar not work
by blam lam (JIRA)
[ https://issues.jboss.org/browse/RF-12758?page=com.atlassian.jira.plugin.s... ]
blam lam updated RF-12758:
--------------------------
Description:
When the same xhtml page contains 2 extendedDatatables, the horizontal scroll bar stop function.
The problem does not appear in 4.2.1. It should a bug after 4.2.3 final.
was:When the same xhtml page contains 2 extendedDatatables, the horizontal scroll bar stop function.
> ExtendedDatatable: horizontal scroll bar not work
> -------------------------------------------------
>
> Key: RF-12758
> URL: https://issues.jboss.org/browse/RF-12758
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.3.Final, 4.3.0.CR1
> Environment: Myfaces 2.1.10 , WebLogic 10.3.4
> Reporter: blam lam
> Fix For: 5-Tracking
>
>
> When the same xhtml page contains 2 extendedDatatables, the horizontal scroll bar stop function.
> The problem does not appear in 4.2.1. It should a bug after 4.2.3 final.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (RF-12761) The first ajax request after a jsFunction don´t work
by Adelmo santos (JIRA)
[ https://issues.jboss.org/browse/RF-12761?page=com.atlassian.jira.plugin.s... ]
Adelmo santos updated RF-12761:
-------------------------------
Description:
After execute a ajax request with jsFunction and render a rich:panel or a rich:popup and try to invoke a4j:commandButton within this rich:panel rendered, the first request don´t work.
View:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:rich="http://richfaces.org/rich"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j">
<h:head>
</h:head>
<h:body>
<h:form>
<a4j:jsFunction name="jsFunctionTest" actionListener="#{testBean.methodA}" render=":panel"/>
<h:commandButton value="Test">
<f:ajax onevent="jsFunctionTest()"/>
</h:commandButton>
</h:form>
<rich:panel id="panel" >
<h:form >
<a4j:commandButton value="OK" actionListener="#{testBean.methodB}" />
</h:form>
</rich:panel>
</h:body>
</html>
Bean:
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.event.ActionEvent;
@SessionScoped
@ManagedBean(name="testBean")
public class TestMBean {
public void methodA(ActionEvent event) {
System.out.println("TestMBean.methodA()");
}
public void methodB(ActionEvent event) {
System.out.println("TestMBean.methodB()");
}
}
was:
After execute a ajax request with jsFunction and render a rich:panel or a rich:popup and try to invoke a4j:commandButton within this rich:panel rendered the first request don´t work.
View:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:rich="http://richfaces.org/rich"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j">
<h:head>
</h:head>
<h:body>
<h:form>
<a4j:jsFunction name="jsFunctionTest" actionListener="#{testBean.methodA}" render=":panel"/>
<h:commandButton value="Test">
<f:ajax onevent="jsFunctionTest()"/>
</h:commandButton>
</h:form>
<rich:panel id="panel" >
<h:form >
<a4j:commandButton value="OK" actionListener="#{testBean.methodB}" />
</h:form>
</rich:panel>
</h:body>
</html>
Bean:
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.event.ActionEvent;
@SessionScoped
@ManagedBean(name="testBean")
public class TestMBean {
public void methodA(ActionEvent event) {
System.out.println("TestMBean.methodA()");
}
public void methodB(ActionEvent event) {
System.out.println("TestMBean.methodB()");
}
}
> The first ajax request after a jsFunction don´t work
> ----------------------------------------------------
>
> Key: RF-12761
> URL: https://issues.jboss.org/browse/RF-12761
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.3.0.CR2
> Environment: Windows 7 - IE9
> Mojarra 2.1.17
> Richfaces 4.3.CR2
> Reporter: Adelmo santos
>
> After execute a ajax request with jsFunction and render a rich:panel or a rich:popup and try to invoke a4j:commandButton within this rich:panel rendered, the first request don´t work.
> View:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:a4j="http://richfaces.org/a4j">
>
> <h:head>
> </h:head>
> <h:body>
> <h:form>
> <a4j:jsFunction name="jsFunctionTest" actionListener="#{testBean.methodA}" render=":panel"/>
> <h:commandButton value="Test">
> <f:ajax onevent="jsFunctionTest()"/>
> </h:commandButton>
> </h:form>
>
> <rich:panel id="panel" >
> <h:form >
> <a4j:commandButton value="OK" actionListener="#{testBean.methodB}" />
> </h:form>
> </rich:panel>
> </h:body>
> </html>
> Bean:
> import javax.faces.bean.ManagedBean;
> import javax.faces.bean.SessionScoped;
> import javax.faces.event.ActionEvent;
> @SessionScoped
> @ManagedBean(name="testBean")
> public class TestMBean {
> public void methodA(ActionEvent event) {
> System.out.println("TestMBean.methodA()");
> }
>
> public void methodB(ActionEvent event) {
> System.out.println("TestMBean.methodB()");
> }
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (RF-12761) The first ajax request after a jsFunction don´t work
by Adelmo santos (JIRA)
Adelmo santos created RF-12761:
----------------------------------
Summary: The first ajax request after a jsFunction don´t work
Key: RF-12761
URL: https://issues.jboss.org/browse/RF-12761
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.3.0.CR2
Environment: Windows 7 - IE9
Mojarra 2.1.17
Richfaces 4.3.CR2
Reporter: Adelmo santos
After execute a ajax request with jsFunction and render a rich:panel or a rich:popup and try to invoke a4j:commandButton within this rich:panel rendered the first request don´t work.
View:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:rich="http://richfaces.org/rich"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j">
<h:head>
</h:head>
<h:body>
<h:form>
<a4j:jsFunction name="jsFunctionTest" actionListener="#{testBean.methodA}" render=":panel"/>
<h:commandButton value="Test">
<f:ajax onevent="jsFunctionTest()"/>
</h:commandButton>
</h:form>
<rich:panel id="panel" >
<h:form >
<a4j:commandButton value="OK" actionListener="#{testBean.methodB}" />
</h:form>
</rich:panel>
</h:body>
</html>
Bean:
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.event.ActionEvent;
@SessionScoped
@ManagedBean(name="testBean")
public class TestMBean {
public void methodA(ActionEvent event) {
System.out.println("TestMBean.methodA()");
}
public void methodB(ActionEvent event) {
System.out.println("TestMBean.methodB()");
}
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months