[JBoss JIRA] Created: (RF-11083) collapsibleSubTable nesting bug
by Val Blant (JIRA)
collapsibleSubTable nesting bug
-------------------------------
Key: RF-11083
URL: https://issues.jboss.org/browse/RF-11083
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.0.0.Final
Reporter: Val Blant
When I attempt to nest _<rich:collapsibleSubTable />_ s, I get an error at the top of my page that says:
{quote}
This page contains the following errors:
error on line 202 at column 74: Opening and ending tag mismatch: tbody line 0 and tr
Below is a rendering of the page up to the first error.
{quote}
The page is rendered up to the nested _<rich:collapsibleSubTable />_.
I think I found the problem in the code.
The reason the first level of nesting works, is b/c the rendering is done by _DataTableRenderer_, which has the following code:
{code:java}
boolean isSubtable = (child instanceof AbstractCollapsibleSubTable);
// new row -> close </tr>
if (rowHolder.getProcessCell() != 0) {
encodeRowEnd(writer);
if (isSubtable) {
encodeTableBodyEnd(writer);
tbodyStart = false;
if (partialUpdate) {
partialEnd(facesContext);
}
}
}
{code}
Now, the 2nd level of nesting will be handled by _CollapsibleSubTableRenderer_, which must do similar processing:
{code:java}
else if (component instanceof AbstractCollapsibleSubTable) {
if(component.isRendered()) {
encodeRowEnd(writer);
}
component.encodeAll(facesContext);
rowHolder.setRowStart(true);
}
{code}
Note that the 2nd snippet neglects to close the _<tbody>_ tag, so the error :
{quote}error on line 202 at column 74: Opening and ending tag mismatch: tbody line 0 and tr{quote}
makes sense now.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (RF-11087) rich:select add onlistpopup / onlisthide events
by Justin Wyer (JIRA)
rich:select add onlistpopup / onlisthide events
-----------------------------------------------
Key: RF-11087
URL: https://issues.jboss.org/browse/RF-11087
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Final, 4.1.0.Milestone1
Environment: N/A
Reporter: Justin Wyer
This is an enhancement to add onlistpopup / onlisthide events to rich:select these are more semantical, and remove the need for using onclick etc to try and perform custom client side code when the list is displayed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Assigned: (RF-11010) richfaces-showcase: fix grammatical issues
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-11010?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-11010:
----------------------------------
Assignee: Brian Leathem
> richfaces-showcase: fix grammatical issues
> ------------------------------------------
>
> Key: RF-11010
> URL: https://issues.jboss.org/browse/RF-11010
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.0.0.Final
> Environment: richfaces-showcase
> Reporter: Juraj Huska
> Assignee: Brian Leathem
> Priority: Trivial
> Fix For: 4.1.0.Milestone1
>
>
> a4j:status - sample: referenced status, there is adress instead of address
> a4j:status - sample: status simple, there is succesfully instead of successfully
> a4j:attachQueue - there is button with text label submit but the text above says that there should be button with label save
> a4j:mediaOutput - all names of selects are Color1, but there should be Color1, Color2, Color3
> rich:graphValidator - 1.in my opinion there should be the minimal and maximal length of password in the text which describes this component, 2. there is typo when passwords are typed correctly in info message, there is succesfully instead of successfully.
> rich:message - in the text is written click "Validate" button, but there is "Ajax Validate" button
> rich:messages - same as in rich:message
> rich:dataTable - sample: DataTableFiltering - there is a filter for mileage, where is filter, which should filter values which are less than filter value, since there is < sign, but actually the filter works in a way less or equal.
> rich:poppupPanel - there is coarse instead of course in the text description for component, in the sample for login panel positioning, in the first paragraph of text
> rich:autocomplete - there is: using tokens ', and ' ', but should be using tokens ',' and ' ' in the text for second input
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months