[JBoss JIRA] Created: (RF-8243) BeanValidator - localized error messages
by Stephan Bublava (JIRA)
BeanValidator - localized error messages
----------------------------------------
Key: RF-8243
URL: https://jira.jboss.org/jira/browse/RF-8243
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 3.3.3.BETA1
Reporter: Stephan Bublava
I'm using rich:validateGraph with Hibernate Validator 4.0.2.
Message interpolation defers to Hibernate Validator and therefore only picks up translations from the default resource bundle (ValidationMessages.properties). It should use the resource bundle registered with JSF first.
If no translation is available (e.g. because of a custom constraint validator), then the original key with curly braces will be passed to MessageFormat (FacesBeanValidator.java, line 114) and cause an exception. Displaying error messages should never throw ...
--
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] Commented: (RF-7879) Development: columns with selects/checkboxes
by Ian Springer (JIRA)
[ https://jira.jboss.org/jira/browse/RF-7879?page=com.atlassian.jira.plugin... ]
Ian Springer commented on RF-7879:
----------------------------------
We'd very much like to have this for the RHQ project. We currently use a custom component whose usage is show below, but we'd much prefer using something built-in to RichFaces. Note the onc:allSelect and onc:select componets, which are both used inside the header facet, and the onc:selectCommandButton component, which is used in the footer facet. The onc:selectAll and onc:selectCommandButton both associate themselves with the onc:select component via a target attribute.
<rich:dataTable id="childResourcesDataTable"
rows="#{PageControl.ChildResourcesList.pageSize}"
value="#{childResourcesDataModel}"
rendered="#{ListChildResourcesUIBean.dataModel.rowCount > 0}"
var="resourceComposite"
styleClass="resources-table"
columnClasses="resource-checkbox, resource-quicknav-cell, resource-name-cell, resource-category-cell, resource-type-cell, resource-plugin-cell, resource-description-cell, resource-availability-cell"
columnsWidth="1%,1%"
headerClass="tableRowHeader"
footerClass="on-pager-footer"
onRowMouseOver="this.style.backgroundColor='#E7E7E7'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'">
<rich:column>
<f:facet name="header">
<onc:allSelect target="selectedResources"/>
</f:facet>
<onc:select name="selectedResources" value="#{resourceComposite.resource.id}"
rendered="#{resourceComposite.resource.resourceType.deletable}"/>
</rich:column>
<!-- ** The rest of the columns go here.-->
<f:facet name="footer">
<rich:columnGroup>
<rich:column colspan="8">
<onc:selectCommandButton action="#{DeleteResourcesUIBean.deleteSelectedResources}"
value="DELETE" target="selectedResources"
onclick="if (!confirm('#{msg['resource.inventory.view.deleteResourceConfirm']}')) return false"
styleClass="on-pager-button buttonsmall" />
<ui:include src="../include/pagination.xhtml">
<ui:param name="paginationDataTableName" value="childResourcesDataTable"/>
<ui:param name="paginationDataModel" value="#{childResourcesDataModel}"/>
<ui:param name="paginationPageControl" value="#{PageControl.ChildResourcesList}"/>
</ui:include>
</rich:column>
</rich:columnGroup>
</f:facet>
</rich:dataTable>
> Development: columns with selects/checkboxes
> --------------------------------------------
>
> Key: RF-7879
> URL: https://jira.jboss.org/jira/browse/RF-7879
> Project: RichFaces
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: component-tables
> Reporter: Nick Belaevski
> Assignee: Nick Belaevski
> Fix For: 4.0.0.BETA1
>
>
--
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-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