[JBoss JIRA] Created: (RF-7278) dataTable sortMode=multi can't "unsort"
by Roland Roberts (JIRA)
dataTable sortMode=multi can't "unsort"
---------------------------------------
Key: RF-7278
URL: https://jira.jboss.org/jira/browse/RF-7278
Project: RichFaces
Issue Type: Feature Request
Components: component-tables
Affects Versions: 3.3.1
Reporter: Roland Roberts
Once a column has been clicked on for sorting, you can change from ascending to descending, but you can't go back to unsorted. So, if I have a three-column table with columns A, B, and C and decide to sort by A then B but then change my mind and want to sort by C then B, I'm stuck with reloading the page to clear my initial sort choices.
What would be nice is click to sort ascending, click again to sort descending, click again to clear the sort setting completely. Or something similar to clear it sort of a page reload.
--
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
14 years, 10 months
[JBoss JIRA] Created: (RF-7206) SimpleTogglePanel's opened attribute only works with String bean properties
by Matthew Lieder (JIRA)
SimpleTogglePanel's opened attribute only works with String bean properties
---------------------------------------------------------------------------
Key: RF-7206
URL: https://jira.jboss.org/jira/browse/RF-7206
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Environment: JRE 6, Tomcat 6
Reporter: Matthew Lieder
Given the bean
public class MyBean {
public boolean getBooleanProp() {
return true;
}
public void setBooleanProp(boolean prop) {}
public boolean getStringProp() {
return "true";
}
public void setStringProp(String prop) {}
}
and the XHTML
<rich:simpleTogglePanel label="Close Me" switchType="client" opened="#{myBean.booleanProp}">
Blah blah blah
</rich:simpleTogglePanel>
I get the following error if I close the tab panel and then submit the page:
/test.xhtml @646,220 opened="#{myBean.booleanProp}": java.lang.IllegalArgumentException: argument type mismatch
If I change the opened attribute to #{myBean.stringProp} however, then it works fine.
The problem seems to narrow down to the following method in UISimpleTogglePanel:
public void setOpened(boolean opened) {
setValue(new Boolean(opened).toString());
}
--
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
14 years, 10 months
[JBoss JIRA] Created: (RF-2490) Header facet in the rich:dataTable ignore column "rendered" attribute
by Alexander Smirnov (JIRA)
Header facet in the rich:dataTable ignore column "rendered" attribute
---------------------------------------------------------------------
Key: RF-2490
URL: http://jira.jboss.com/jira/browse/RF-2490
Project: RichFaces
Issue Type: Bug
Environment: RichFaces 3.2 snapshot from 3/10.
Reporter: Alexander Smirnov
Assigned To: Alexander Smirnov
Fix For: 3.2.0
The headers of data tables are no longer following the render rule of its parent h:column tag.
The headers are rendering no matter what the rule is. The actual content is following the render rule. I noticed that if I wrap the whole h:column
into an a4j:region tag and place the render rule there instead, it all renders correctly. However, I think it should work the way it was before right ??
The f:facet tag should comply to the render rule in the h:column tag ?
Here's a code snippet.......
<rich:dataTable ...>
<h:column id="checkBoxCol" rendered="#{itemList_editableUser or itemList_subProfileView or itemList_DownloadableUser}">
<f:facet name="header">
<h:selectBooleanCheckbox styleClass="checkbox" immediate="true" id="headerCheckBox"
onclick="toggleElementCheckboxes(this, this.checked)"/>
</f:facet>
<h:selectBooleanCheckbox value="#{item.selected}" title="#{item.object.itemIdentifier.gtin}" styleClass="checkbox"
id="rowCheckBox"
disabled="#{(itemList_subProfileView and itemList_subProfRestr) or item.acctAccess == 'N'}"/>
</h:column>
........
</rich:dataTable>
--
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
14 years, 10 months
[JBoss JIRA] Created: (RF-4128) They all should be Trees:Panel Menu, Context Menu, Drop Down
by Francisco Jose Peredo Noguez (JIRA)
They all should be Trees:Panel Menu, Context Menu, Drop Down
------------------------------------------------------------
Key: RF-4128
URL: https://jira.jboss.org/jira/browse/RF-4128
Project: RichFaces
Issue Type: Feature Request
Reporter: Francisco Jose Peredo Noguez
I would like to be able to use recursiveTreeNodesAdaptor to configure Panel Menu, Context Menu, Drop Down Menu, after all, they all are recursive trees.
They all should be Trees:Panel Menu, Context Menu, Drop Down Menu. Shouldn't they? Why not? AFAIK there is no easy way to make this possible right now
--
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
14 years, 10 months