[JBoss JIRA] Created: (RF-5300) columns: begin attribute ignore last columns, instead of earliest under facelets & seamApp application(jsf1.2_10)
by Mikhail Vitenkov (JIRA)
columns: begin attribute ignore last columns, instead of earliest under facelets & seamApp application(jsf1.2_10)
-----------------------------------------------------------------------------------------------------------------
Key: RF-5300
URL: https://jira.jboss.org/jira/browse/RF-5300
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
#1. Add rich:columns inside rich:dataTable following way:
<rich:dataTable id="richColumnsID" value="#{columns.data1}" var="d1" rendered="#{columns.dataTableRendered}">
...<rich:columns value="#{columns.data2}" var="d2" footerClass="test" headerClass="#{style.headerClass}" breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
columns="#{columns.columns}" index="index" rowspan="#{columns.rowspan}" begin="#{columns.begin}" end="#{columns.end}" width="#{columns.width}" style="#{style.style}" styleClass="#{style.styleClass}"
sortOrder="#{columns.orderings[index]}" sortBy="#{d1.str0}"
filterBy="#{d1.str0}" selfSorted="true" sortable="true"
filterValue="#{columns.filterValue[index]}" filterMethod="#{columns.filterMethod}">
<f:facet name="header">
<h:outputText value="header #{index}"></h:outputText>
</f:facet>
<h:outputText value="#{d2}"></h:outputText>
<h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
<f:facet name="footer">
<h:outputText value="Footer #{index}"></h:outputText>
</f:facet>
</rich:columns>
...</rich:dataTable>
#2. Define data for columns and fill it:
private ArrayList<String> data2;
for (int i = 0; i < length1; i++) {
data2.add("data[" + i + "]");
}
getter & setter.
#3. Set begin attribute to '2';
#4. Navigate to page & verify columns' data.
Actual behavior:
The last colunm is ignored.
Expected behavior:
The first colunm is ignored.
--
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, 2 months
[JBoss JIRA] Created: (RF-4005) calendar: there are no validation or error messages when firstWeekDay attribute gets unvalid value
by Tatyana Romanovich (JIRA)
calendar: there are no validation or error messages when firstWeekDay attribute gets unvalid value
--------------------------------------------------------------------------------------------------
Key: RF-4005
URL: https://jira.jboss.org/jira/browse/RF-4005
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: RF-3.2.2.BETA2
jsp, facelets
Tomcat 6
all browsers
Reporter: Tatyana Romanovich
Assignee: Nick Belaevski
Priority: Minor
1. Create any tested application
2. Add calendar component and set incorrect value for firstWeekDay="13" (allowed value from 0 till 6)
2. Run application on the server and go to the page with calendar component, expand it
FAILURE: No warnings and errors are appeared, default value for firstWeekDay wasn't be applied, weekends were not highlighted.
It'll be better if some warning or info messages appears for developers about incorrect value of attribute.
--
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, 2 months