Jacques this idea crossed my brain some time ago but I don't found a
real advantage.
If each field are sorted, we need to ensure that the
service/entity-find/script to populate the list can use the sort field.
I'm not optimist to believe that more than half fields present on all
form can be cover natively. For end user when he would clic on header
field list to sort the list, nothing would be realize (it's just
irritating).
We can use this idea with a form analyse to detect two case, if the form
action call the performFind or only one entity-find, check for each
form's field if the modelEntity related to entityName contains also the
same field, automatically set by default to sort-field="Y"
Nicolas
Le 08/07/2015 15:44, Jacques Le Roux a écrit :
Imagine if we had to have a mean to configure each default?
If in a project the contrary seems better then, yes why not a config
but OOTB I see no reasons. It's now false we would just turn it to true.
Anyway this needs to be checked before being applied. It seems Bruno
has some concerns, I did not get a chance to review details yet
Jacques
Le 08/07/2015 09:14, Pierre Smits a écrit :
I am talking about the same.
Best regards,
Pierre Smits
*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com
On Wed, Jul 8, 2015 at 9:09 AM, Jacques Le Roux <
[email protected]> wrote:
I speak about the sort-order attribute of the field element in form
widget. It makes sense only in list/multi.
Look for <xs:attribute name="sort-field" default="false"> at
http://ofbiz.apache.org/dtds/widget-form.xsd
Another attribute which needs documentation. Though this one is quite
obvious and related attributes (sort-field-style, sort-field-help-text,
sort-field-asc-style, "sort-field-desc-style) are documented
Jacques
Le 07/07/2015 23:21, Pierre Smits a écrit :
Where?
Pierre Smits
*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com
On Tue, Jul 7, 2015 at 11:06 PM, Jacques Le Roux <
[email protected]> wrote:
Configuration is easy here, just put sort-field="false" to
override the
new default (currently sort-field="false")
Jacques
Le 07/07/2015 16:47, Pierre Smits a écrit :
Being able to use default setting enhances the user experience
tremendously. Yet we must not forget that hard coding such has an
impact
too.
So we must ensure that any default setting can be adjusted through
configuration.
Best regards,
Pierre