[JBoss JIRA] Created: (RF-8272) when in multi sort mode, provide an option to render numbers in each sorted column that indicates the current sort precedence of the columns
by Ian Springer (JIRA)
when in multi sort mode, provide an option to render numbers in each sorted column that indicates the current sort precedence of the columns
--------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-8272
URL: https://jira.jboss.org/jira/browse/RF-8272
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 3.3.2.SR1
Reporter: Ian Springer
For example, if a table is currently multi-sorted by three columns - Name, Description, and Price, there is no quick way to know for each of these three columns, whether it is the primary, secondary, or tertiary sort column. A tiny "1", "2", and "3" next to the up or down arrow icon would clear this up nicely.
For the RHQ project, we currently have a custom sorting facet which supports this feature. The facet is applied to a column as follows:
<rich:column>
<f:facet name="header">
<onc:sortableColumnHeader sort="res.resourceType.name">
<h:outputText styleClass="headerText" value="Type"/>
</onc:sortableColumnHeader>
</f:facet>
<h:outputText value="#{resourceComposite.resource.resourceType.name}"/>
</rich:column>
I've attached a screenshot that shows how the column headers are rendered with the little numbers.
I am creating this issue, because we would prefer using a built-in RichFaces feature, rather than a custom facet.
--
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, 9 months
[JBoss JIRA] Created: (RF-7538) enable submit button when all the required fields within the form/region are set propertly
by Gary Hu (JIRA)
enable submit button when all the required fields within the form/region are set propertly
------------------------------------------------------------------------------------------
Key: RF-7538
URL: https://jira.jboss.org/jira/browse/RF-7538
Project: RichFaces
Issue Type: Feature Request
Reporter: Gary Hu
The submit button is not enabled until all the required fields within the form/region are set properly.
I can think of two ways to implement it.
1) add a new attribute to a4j:form/a4j:rigion to indicate that if this feature is turned on/off. In addition, new attributes could be added to indicate the ids of the submit button, and/or ids of the required fields.
For example:
<a4j:form id="myForm" enableSubmitButtonForRequriedFields="true" submitButtonId="btnId" requiredFieldIds="id1,id2..." />
2) add a new attribute to a a4j:commandButton to indicate if this feature is turned on/off. In addtion, new attributes could be added to indicate the ids of the form/region and/or the ids of the required fields.
For example:
<a4j:commandButton id="btnId" enableSubmitButtonForRequriedFields="true" parentidforrequiredfields="myForm" />
The example showed above means after all the required fields are set properly with the form "myForm" the button is enable.
<a4j:commandButton id="btnId" enableSubmitButtonForRequriedFields="true" requiredFieldIds="id1, id2..." />
The example showed above means after all the required fields specified by the attribute "requiredFieldIds" are set properly the button is enabled.
Of course, the attribute "enableSubmitButtonForRequriedFields" could be optional. So only the "parentidforrequiredfields" or "requiredFieldIds" is checked to determine if the button needs to be enabled/disable.
--
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, 9 months
[JBoss JIRA] Created: (RF-7492) a4j:queue support for standard form submits as well as AJAX request
by Jay Balunas (JIRA)
a4j:queue support for standard form submits as well as AJAX request
-------------------------------------------------------------------
Key: RF-7492
URL: https://jira.jboss.org/jira/browse/RF-7492
Project: RichFaces
Issue Type: Feature Request
Components: component-misc
Affects Versions: 3.3.1
Reporter: Jay Balunas
Fix For: 4.0.0.BETA1
a4j:queue does not currently support forwarding standard form requests through an a4j:queue. This means that input items that are ajax enabled may be processed through a queue, but if the user clicks submit on the form that request that fire before items in the queue.
A user reported a work around. Use a4j:commandButton and then rerender the most of the page - not optimal.
We need to create an FAQ for the work around and investigate the standard form support.
Brainstorming: This behavior may not be possible on a global or page coped queue. A form scoped a4j:queue could behave like a4j:support and inject the needed behavior into the form tag.
--
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, 9 months