-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add datatable i18n and support to responsive and fixed header plugins
- Add snake-case attribute to growl and tree components - Small additions.
- Loading branch information
Showing
19 changed files
with
771 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"sEmptyTable": "Keine Daten in der Tabelle vorhanden", | ||
"sInfo": "_START_ bis _END_ von _TOTAL_ Einträgen", | ||
"sInfoEmpty": "0 bis 0 von 0 Einträgen", | ||
"sInfoFiltered": "(gefiltert von _MAX_ Einträgen)", | ||
"sInfoPostFix": "", | ||
"sInfoThousands": ".", | ||
"sLengthMenu": "_MENU_ Einträge anzeigen", | ||
"sLoadingRecords": "Wird geladen...", | ||
"sProcessing": "Bitte warten...", | ||
"sSearch": "Suchen", | ||
"sZeroRecords": "Keine Einträge vorhanden.", | ||
"oPaginate": { | ||
"sFirst": "Erste", | ||
"sPrevious": "Zurück", | ||
"sNext": "Nächste", | ||
"sLast": "Letzte" | ||
}, | ||
"oAria": { | ||
"sSortAscending": ": aktivieren, um Spalte aufsteigend zu sortieren", | ||
"sSortDescending": ": aktivieren, um Spalte absteigend zu sortieren" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"sEmptyTable": "No data available in table", | ||
"sInfo": "Showing _START_ to _END_ of _TOTAL_ entries", | ||
"sInfoEmpty": "Showing 0 to 0 of 0 entries", | ||
"sInfoFiltered": "(filtered from _MAX_ total entries)", | ||
"sInfoPostFix": "", | ||
"sInfoThousands": ",", | ||
"sLengthMenu": "Show _MENU_ entries", | ||
"sLoadingRecords": "Loading...", | ||
"sProcessing": "Processing...", | ||
"sSearch": "Search:", | ||
"sZeroRecords": "No matching records found", | ||
"oPaginate": { | ||
"sFirst": "First", | ||
"sLast": "Last", | ||
"sNext": "Next", | ||
"sPrevious": "Previous" | ||
}, | ||
"oAria": { | ||
"sSortAscending": ": activate to sort column ascending", | ||
"sSortDescending": ": activate to sort column descending" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"sProcessing": "Procesando...", | ||
"sLengthMenu": "Mostrar _MENU_ registros", | ||
"sZeroRecords": "No se encontraron resultados", | ||
"sEmptyTable": "Ningún dato disponible en esta tabla", | ||
"sInfo": "Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros", | ||
"sInfoEmpty": "Mostrando registros del 0 al 0 de un total de 0 registros", | ||
"sInfoFiltered": "(filtrado de un total de _MAX_ registros)", | ||
"sInfoPostFix": "", | ||
"sSearch": "Buscar:", | ||
"sUrl": "", | ||
"sInfoThousands": ",", | ||
"sLoadingRecords": "Cargando...", | ||
"oPaginate": { | ||
"sFirst": "Primero", | ||
"sLast": "Último", | ||
"sNext": "Siguiente", | ||
"sPrevious": "Anterior" | ||
}, | ||
"oAria": { | ||
"sSortAscending": ": Activar para ordenar la columna de manera ascendente", | ||
"sSortDescending": ": Activar para ordenar la columna de manera descendente" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"sProcessing": "Traitement en cours...", | ||
"sSearch": "Rechercher :", | ||
"sLengthMenu": "Afficher _MENU_ éléments", | ||
"sInfo": "Affichage de l'élément _START_ à _END_ sur _TOTAL_ éléments", | ||
"sInfoEmpty": "Affichage de l'élément 0 à 0 sur 0 élément", | ||
"sInfoFiltered": "(filtré de _MAX_ éléments au total)", | ||
"sInfoPostFix": "", | ||
"sLoadingRecords": "Chargement en cours...", | ||
"sZeroRecords": "Aucun élément à afficher", | ||
"sEmptyTable": "Aucune donnée disponible dans le tableau", | ||
"oPaginate": { | ||
"sFirst": "Premier", | ||
"sPrevious": "Précédent", | ||
"sNext": "Suivant", | ||
"sLast": "Dernier" | ||
}, | ||
"oAria": { | ||
"sSortAscending": ": activer pour trier la colonne par ordre croissant", | ||
"sSortDescending": ": activer pour trier la colonne par ordre décroissant" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"sEmptyTable": "Nincs rendelkezésre álló adat", | ||
"sInfo": "Találatok: _START_ - _END_ Összesen: _TOTAL_", | ||
"sInfoEmpty": "Nulla találat", | ||
"sInfoFiltered": "(_MAX_ összes rekord közül szűrve)", | ||
"sInfoPostFix": "", | ||
"sInfoThousands": " ", | ||
"sLengthMenu": "_MENU_ találat oldalanként", | ||
"sLoadingRecords": "Betöltés...", | ||
"sProcessing": "Feldolgozás...", | ||
"sSearch": "Keresés:", | ||
"sZeroRecords": "Nincs a keresésnek megfelelő találat", | ||
"oPaginate": { | ||
"sFirst": "Első", | ||
"sPrevious": "Előző", | ||
"sNext": "Következő", | ||
"sLast": "Utolsó" | ||
}, | ||
"oAria": { | ||
"sSortAscending": ": aktiválja a növekvő rendezéshez", | ||
"sSortDescending": ": aktiválja a csökkenő rendezéshez" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"sEmptyTable": "Nessun dato presente nella tabella", | ||
"sInfo": "Vista da _START_ a _END_ di _TOTAL_ elementi", | ||
"sInfoEmpty": "Vista da 0 a 0 di 0 elementi", | ||
"sInfoFiltered": "(filtrati da _MAX_ elementi totali)", | ||
"sInfoPostFix": "", | ||
"sInfoThousands": ".", | ||
"sLengthMenu": "Visualizza _MENU_ elementi", | ||
"sLoadingRecords": "Caricamento...", | ||
"sProcessing": "Elaborazione...", | ||
"sSearch": "Cerca:", | ||
"sZeroRecords": "La ricerca non ha portato alcun risultato.", | ||
"oPaginate": { | ||
"sFirst": "Inizio", | ||
"sPrevious": "Precedente", | ||
"sNext": "Successivo", | ||
"sLast": "Fine" | ||
}, | ||
"oAria": { | ||
"sSortAscending": ": attiva per ordinare la colonna in ordine crescente", | ||
"sSortDescending": ": attiva per ordinare la colonna in ordine decrescente" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"processing": "Przetwarzanie...", | ||
"search": "Szukaj:", | ||
"lengthMenu": "Pokaż _MENU_ pozycji", | ||
"info": "Pozycje od _START_ do _END_ z _TOTAL_ łącznie", | ||
"infoEmpty": "Pozycji 0 z 0 dostępnych", | ||
"infoFiltered": "(filtrowanie spośród _MAX_ dostępnych pozycji)", | ||
"infoPostFix": "", | ||
"loadingRecords": "Wczytywanie...", | ||
"zeroRecords": "Nie znaleziono pasujących pozycji", | ||
"emptyTable": "Brak danych", | ||
"paginate": { | ||
"first": "Pierwsza", | ||
"previous": "Poprzednia", | ||
"next": "Następna", | ||
"last": "Ostatnia" | ||
}, | ||
"aria": { | ||
"sortAscending": ": aktywuj, by posortować kolumnę rosnąco", | ||
"sortDescending": ": aktywuj, by posortować kolumnę malejąco" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"processing": "Подождите...", | ||
"search": "Поиск:", | ||
"lengthMenu": "Показать _MENU_ записей", | ||
"info": "Записи с _START_ до _END_ из _TOTAL_ записей", | ||
"infoEmpty": "Записи с 0 до 0 из 0 записей", | ||
"infoFiltered": "(отфильтровано из _MAX_ записей)", | ||
"infoPostFix": "", | ||
"loadingRecords": "Загрузка записей...", | ||
"zeroRecords": "Записи отсутствуют.", | ||
"emptyTable": "В таблице отсутствуют данные", | ||
"paginate": { | ||
"first": "Первая", | ||
"previous": "Предыдущая", | ||
"next": "Следующая", | ||
"last": "Последняя" | ||
}, | ||
"aria": { | ||
"sortAscending": ": активировать для сортировки столбца по возрастанию", | ||
"sortDescending": ": активировать для сортировки столбца по убыванию" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
package net.bootsfaces.beans; | ||
|
||
import java.beans.BeanInfo; | ||
import java.beans.IntrospectionException; | ||
import java.beans.Introspector; | ||
import java.beans.PropertyDescriptor; | ||
import java.util.ArrayList; | ||
import java.util.Arrays; | ||
import java.util.List; | ||
|
||
import net.bootsfaces.component.tree.Tree; | ||
|
||
/** | ||
* Utility class that extends SimpleBeanInfo | ||
* to manage automatic mapping of all properties and | ||
* additional custom ones | ||
* | ||
* @author durzod | ||
* | ||
*/ | ||
public abstract class BsfBeanInfo | ||
extends java.beans.SimpleBeanInfo { | ||
|
||
/** | ||
* Abstract method to manage custom property descriptor | ||
* @return | ||
*/ | ||
public abstract PropertyDescriptor[] getCustomPropertyDescriptor() throws IntrospectionException; | ||
|
||
@Override | ||
public PropertyDescriptor[] getPropertyDescriptors() { | ||
// get properties from default property descriptors | ||
List<PropertyDescriptor> pdl = new ArrayList<PropertyDescriptor>(); | ||
PropertyDescriptor rv[] = super.getPropertyDescriptors(); | ||
if(rv != null) { | ||
pdl.addAll(Arrays.asList(rv)); | ||
} | ||
|
||
try { | ||
// if i have found nothing, i'm trying to get manually | ||
if(pdl.size() <= 0) { | ||
BeanInfo bi = Introspector.getBeanInfo(Tree.class, Introspector.IGNORE_ALL_BEANINFO); | ||
PropertyDescriptor birv[] = bi.getPropertyDescriptors(); | ||
if(birv != null) { | ||
pdl.addAll(Arrays.asList(birv)); | ||
} | ||
} | ||
|
||
// then add custom properties | ||
PropertyDescriptor[] customPd = getCustomPropertyDescriptor(); | ||
if(customPd != null) | ||
pdl.addAll(Arrays.asList(customPd)); | ||
} catch (IntrospectionException e) { | ||
e.printStackTrace(); | ||
throw new Error(e.toString()); | ||
} | ||
|
||
PropertyDescriptor[] array = new PropertyDescriptor[pdl.size()]; | ||
return pdl.toArray(array); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.