[JBoss JIRA] Created: (RF-4524) Rich data table commits entire form when sorting is used.
by Sergey Halipov (JIRA)
Rich data table commits entire form when sorting is used.
---------------------------------------------------------
Key: RF-4524
URL: https://jira.jboss.org/jira/browse/RF-4524
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Sergey Halipov
<h:form>
<h:inputText required="true" id="test" value="#{bean.test}" />
<rich:message for="test" />
<rich:dataTable value="#{product.vehicleInfos}" var="vehicle" styleClass="width100proc"
style="text-align: center;" id="vehicleList"
reRender="vehicleList" ajaxSingle="true" >
<rich:column style="width: 40%;" sortBy="#{vehicle.model}" >
<f:facet name="header" >
<h:outputText value="${msg['transferBestOffer.result.vehicleModel']}" />
</f:facet>
#{vehicle.model}
</rich:column>
.................
</rich:dataTable>
</h:form>
When I click column header table is resorted as expected but entire form is submitted so there are unneeded validation messages for required inputs outside dataTable.
--
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
13 years, 11 months
[JBoss JIRA] Created: (RF-9816) Ability to execute javascript from a managed bean
by Adrian Mitev (JIRA)
Ability to execute javascript from a managed bean
-------------------------------------------------
Key: RF-9816
URL: https://jira.jboss.org/browse/RF-9816
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Adrian Mitev
Hi all! I saw that in many forums as a question. There should be a way to add a javascript to the response to be evaluated after the page is loaded. Something like:
{code}
XXX.executeJavascript("<script code here>");
{code}
This should be possible for ajax requests as well as for normal requests.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 12 months
[JBoss JIRA] Created: (RF-8271) org.richfaces.model.selection.Selection interface has no JavaDoc / API doc, and it is not very user-friendly
by Ian Springer (JIRA)
org.richfaces.model.selection.Selection interface has no JavaDoc / API doc, and it is not very user-friendly
------------------------------------------------------------------------------------------------------------
Key: RF-8271
URL: https://jira.jboss.org/jira/browse/RF-8271
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 3.3.2.SR1
Reporter: Ian Springer
This interface is used by rich:extendedDataTable's selection attribute, and possibly by some of the other dataTable components. It currently has no JavaDoc whatsoever, which is especially bad because it is not intuitive what some of the methods return:
1) public Iterator<Object> getKeys()
Does this return just the keys of the selected items, or does it return the keys for all items on the current page (the presence of the isSelected() method seems to suggest the latter)? Why provide just the keys of the selected items, rather than the entire Objects? 90% of the time, the GUI developer's going to want to get at the Objects themselves to do some sort of CRUD on them. Why not save them the trouble of having to map the key to the actual Object, when RF can do it for them?
2) public int size()
Does this return just the number of selected items, or does it return the size of the current page (the presence of the isSelected() method seems to suggest the latter)?
3) public boolean isSelected(Object rowKey)
What's the idea behind this method - to also provide easy access to what rows are *not* selected? If so, wouldn't an easier to use API be:
List getSelectedRows()
List getUnselectedRows()
--
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
13 years, 12 months