jimb
New Member
Posts: 20
|
Post by jimb on Jan 24, 2015 12:16:31 GMT 1
Hello,
Maybe it's already there but I cannot seem to find it.
1) A common development boilerplate code is the creation of filters for each column above the table. 2) Another boilerplate is the assignment of column names in the source. Right now, in javade we create columns in plain english. It would be nice if we could easily assign multilingual (or not) hooks to them.
Do you think any of these is a new (or existing) feature ?
Thanks and keep up the good work!
Jim
|
|
|
Post by Admin on Jan 26, 2015 9:43:03 GMT 1
Hi,
currently I have no dependecies with other vaadin AddOns; theoretically I could add some of them in order to have them as possible component.
For the tables I could add for example the "Table Filters" or the "Table Pagination" Addons; I will ask the AddOns owners if for them is fine and add them to the next release.
The Column Names for the Table and ETable Components are currently "trimmed"; this is a mistake! I should trim the component name (for the Java code) and leave the name as it is.
A Column named "User Name" should be generated as "userName" but have the Column Caption still equals to "User Name".
For the multilingual support is completely another topic! Nice would be to find a centralized and simple way to delegate ALL transaltion to some class or configuration... I have to think about that.
|
|
jimb
New Member
Posts: 20
|
Post by jimb on Jan 26, 2015 11:37:53 GMT 1
Hey Alec,
Regarding the filters/paging, why use 3rd party dependencies, you could just enhance your ETable component with simple filtering (e.g. a TextField for each String column etc.). On the other hand, 3rd party dependencies could be the best way to outsource this. Nice thinking on this. And an easy win if I may add!
You are right on the column names vs captions thing as well. So I guess it's coming with a future release.
Externalizing ALL strings in one place is not a top priority for me but would increase the benefits very much.
Thanks for replying,
Nice!
|
|