[JBoss JIRA] Created: (RF-8229) ExtendedDataTable: programmatic changes in table state are not reflected visually
by Nick Belaevski (JIRA)
ExtendedDataTable: programmatic changes in table state are not reflected visually
----------------------------------------------------------------------------------
Key: RF-8229
URL: https://jira.jboss.org/jira/browse/RF-8229
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Nick Belaevski
Use case description: add new column to the rich:extendedDataTable and make it the first one.
Tried this:
public void addColumn() throws Exception {
UIExtendedDataTable table =(UIExtendedDataTable) component;
HtmlColumn column = new HtmlColumn();
column.setId("dynamicColumn");
column.getChildren().add(new HtmlOutputText());
table.getChildren().add(0, column);
}
but columns is always added the second, because rich:extendedDataTable maintains list of columns and sorting it accordingly. New column is just missing there after addition. Tried to bind "tableState" to the bean, but it's not read.
--
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-8241) last a4j:commandButton in a ui:repeat does not rerender component after action
by Andreas Schank (JIRA)
last a4j:commandButton in a ui:repeat does not rerender component after action
------------------------------------------------------------------------------
Key: RF-8241
URL: https://jira.jboss.org/jira/browse/RF-8241
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 3.3.2.SR1
Reporter: Andreas Schank
The last a4j:commandButton in a ui:repeat does not rerender after the action, other a4j:commandButtons further ahead do.
The action method is called.
When replacing ui:repeat with a4j:repeat everything works fine.
a4jCommandButton is defined as follows:
<a4j:commandButton value="-" action="#{basicProfileBean.actionRemoveEmail}" reRender="email_table">
<a4j:actionparam name="index" value="#{email.index}" assignTo="#{basicProfileBean.selectedEmailIndex}" />
</a4j:commandButton>
(email_table is a panel group outside the ui:repeat)
--
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-8247) add displayValueOnly attribute to all richfaces components
by Dave Chen (JIRA)
add displayValueOnly attribute to all richfaces components
----------------------------------------------------------
Key: RF-8247
URL: https://jira.jboss.org/jira/browse/RF-8247
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Environment: ALL
Reporter: Dave Chen
A compont can be editing mode for users to input data, or in showing mode for display values only.
Attribute "displayValueOnly" will reduce JSF page size and memory size, and simplify programming.
For example: for pickList, we have to use two components: one for editing, and one for showing:
<rich:pickList rendered="#{bean.isEditing}"
value="#{bean.values}" >
<f:selectItems value="#{bean.selectItems}"/>
</rich:pickList>
<h:outputText rendered="#{!bean.isEditing}" value="#{bean.valuesAsString}" />
After adding displayValueOnly, one component will be sufficient, very clean.
<rich:pickList rendered="#{bean.isEditing}"
value="#{bean.values}" displayValueOnly="#{!bean.isEditing}" >
<f:selectItems value="#{bean.selectItems}"/>
</rich:pickList>
This applies to all components.
--
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-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