[JBoss JIRA] Created: (RF-3391) paint2D: strange behavior of rich component during using "Shadow" slider.
by Mikhail Vitenkov (JIRA)
paint2D: strange behavior of rich component during using "Shadow" slider.
-------------------------------------------------------------------------
Key: RF-3391
URL: http://jira.jboss.com/jira/browse/RF-3391
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE6,IE7,FF,Opera,Safari(3.2.1.CR4)-demosite(http://localhost:8080/richfaces-demo-3.2.1.CR4-tomcat6/richfaces/paint2D.jsf)
Reporter: Mikhail Vitenkov
Assigned To: Ilya Shaikovsky
Step 1. Navigate to page of richfaces-demo site contained rich:paint2D component.
Step 2. Verify color of paint(it's blue).
Step 3. Move "Shadow" slider's pointer to begin & verify paint's color again - now it became black.
Step 4. Move "Shadow" slider's pointer to right on step. - shadow of paint2D component became bigger.
Step 5. Move "Shadow" slider's pointer to right on step again. - shadow of paint2D component became smaller.
--
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, 8 months
[JBoss JIRA] Created: (RF-2916) Table Sorting + Pagination - make using these features together possible
by Kris Kempa (JIRA)
Table Sorting + Pagination - make using these features together possible
------------------------------------------------------------------------
Key: RF-2916
URL: http://jira.jboss.com/jira/browse/RF-2916
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.0
Reporter: Kris Kempa
Both sorting and pagination has most utility when working with large data sets. So why allowing thhem to work together has been skipped? Documentations has short sentence "Sorting could not be used together with pagination. Only row that currently on the client could be sorted" and my teammate noticed strange behavior of these two geatures when used together (paging ceased to working after some different sorting actions).
I bet it's not because it's impossible (AFAIR you have example data models implementations which can work with Hibernate-managed paging).
--
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, 8 months
[JBoss JIRA] Created: (RF-3606) ScrollableDataTable doesn't work with 33 columns in IE
by Nick Belaevski (JIRA)
ScrollableDataTable doesn't work with 33 columns in IE
------------------------------------------------------
Key: RF-3606
URL: http://jira.jboss.com/jira/browse/RF-3606
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE
Reporter: Nick Belaevski
Assigned To: Konstantin Mishin
Fix For: 3.2.2
The following code fails with JS error in IE7:
<rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="400px"
width="700px" id="carList" rows="40" columnClasses="col"
value="#{dataTableScrollerBean.allCars}" var="category" sortMode="single"
binding="#{dataTableScrollerBean.table}"
selection="#{dataTableScrollerBean.selection}">
<rich:column id="make">
<f:facet name="header"><h:outputText styleClass="headerText" value="Make" /></f:facet>
<h:outputText value="#{category.make}" />
</rich:column>
<rich:column id="model">
<f:facet name="header"><h:outputText styleClass="headerText" value="Model" /></f:facet>
<h:outputText value="#{category.model}" />
</rich:column>
<rich:column id="price">
<f:facet name="header"><h:outputText styleClass="headerText" value="Price" /></f:facet>
<h:outputText value="#{category.price}" />
</rich:column>
<rich:column id="mileage">
<f:facet name="header"><h:outputText styleClass="headerText" value="Mileage" /></f:facet>
<h:outputText value="#{category.mileage}" />
</rich:column>
<rich:column width="200px" id="vin">
<f:facet name="header"><h:outputText styleClass="headerText" value="VIN" /></f:facet>
<h:outputText value="#{category.vin}" />
</rich:column>
<rich:column id="stock">
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
<rich:column>
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="xxx!!! #{category.stock}" />
</rich:column>
</rich:scrollableDataTable>
--
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, 9 months
[JBoss JIRA] Created: (RF-3364) Programmatically created dataTable is not sortable
by Rainer Flicker (JIRA)
Programmatically created dataTable is not sortable
--------------------------------------------------
Key: RF-3364
URL: http://jira.jboss.com/jira/browse/RF-3364
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: RichFaces 3.2.1.CR3
JBoss Seam 2.0.1.GA
JSF 1.2 + Facelets 1.1.14
JBoss 4.2.2.GA
JDK 1.5.0_11
Reporter: Rainer Flicker
A programmatically created dataTable shows no sort icons in the header and clicking on the header
has no effect.
------ xhtml snippet ---------------------------------------------------------------------------------------------------
<rich:dataTable binding="#{dataTableAction.dataTable}" var="data" />
-----------------------------------------------------------------------------------------------------------------------------
----- faces-config.xml snippet -------------------------------------------------------------------------------------
<managed-bean>
<managed-bean-name>dataTableAction</managed-bean-name>
<managed-bean-class>DataTableAction</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
-----------------------------------------------------------------------------------------------------------------------------
---- Java class ---------------------------------------------------------------------------------------------------------
import java.util.ArrayList;
import java.util.List;
import javax.el.ELContext;
import javax.el.ExpressionFactory;
import javax.el.ValueExpression;
import javax.faces.application.Application;
import javax.faces.component.html.HtmlOutputText;
import javax.faces.context.FacesContext;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.richfaces.component.html.HtmlColumn;
import org.richfaces.component.html.HtmlDataTable;
public class DataTableAction {
private Log log = LogFactory.getLog(DataTableAction.class);
private HtmlDataTable dataTable = null;
private List<TestEntity> testData = null;
public HtmlDataTable getDataTable() {
log.info("in getDataTable()");
if (testData == null) {
testData = new ArrayList<TestEntity>();
for (int i = 0; i < 10; i++) {
TestEntity data = new TestEntity();
data.setId(i);
data.setName("TestEntity" + i);
data.setNumber(""+i);
testData.add(data);
}
}
String[] columns = new String[] { "number", "name" };
String[] valueExprs = new String[] { "#{data.number}", "#{data.name}" };
FacesContext facesContext = FacesContext.getCurrentInstance();
ELContext elContext = facesContext.getELContext();
Application application = facesContext.getApplication();
ExpressionFactory elFactory = facesContext.getApplication().getExpressionFactory();
dataTable = new HtmlDataTable();
dataTable.setValue(getTestData());
for (int i = 0; i < columns.length; i++) {
log.info("setting column[" + i + "]: " + columns[i]);
// header
HtmlOutputText header = new HtmlOutputText();
header.setValue(columns[i]);
// content
HtmlOutputText content = new HtmlOutputText();
ValueExpression valueExpression = elFactory.createValueExpression(
elContext, valueExprs[i], String.class);
content.setValueExpression("value", valueExpression);
// column
HtmlColumn column = new HtmlColumn();
column.setId("col" + i);
column.setHeader(header);
column.getChildren().add(content);
column.setSortBy(valueExprs[i]);
column.setSortable(true);
column.setSelfSorted(true);
dataTable.getChildren().add(column);
}
return dataTable;
}
public void setDataTable(HtmlDataTable dataTable) {
this.dataTable = dataTable;
}
public List<TestEntity> getTestData() {
return testData;
}
public void setTestData(List<TestEntity> testData) {
this.testData = testData;
}
}
-----------------------------------------------------------------------------------------------------------------------------
---- Java class ---------------------------------------------------------------------------------------------------------
public class TestEntity {
private long id;
private String number;
private String name;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getNumber() {
return number;
}
public void setNumber(String number) {
this.number = number;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
-----------------------------------------------------------------------------------------------------------------------------
--
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, 9 months