Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
http://omnifaces.org/functionsabbreviateorg.omnifaces.el.functions.Stringsjava.lang.String abbreviate(java.lang.String, int)
null, otherwise the new EL 2.2
#{bean.string1.concat(bean.string2)} can just be used.
]]>
concatorg.omnifaces.el.functions.Stringsjava.lang.String concat(java.lang.Object, java.lang.Object)capitalizeorg.omnifaces.el.functions.Stringsjava.lang.String capitalize(java.lang.String)replaceAllorg.omnifaces.el.functions.Stringsjava.lang.String replaceAll(java.lang.String, java.lang.String, java.lang.String)matchesorg.omnifaces.el.functions.Stringsjava.lang.String matches(java.lang.String, java.lang.String)
Lowercase the string.
Remove combining diacritical marks.
Replace non-alphanumeric characters by hyphens.
This is useful when populating links with dynamic paths obtained from user controlled variables, such
as blog titles.
]]>
prettyURLorg.omnifaces.el.functions.Stringsjava.lang.String prettyURL(java.lang.String)
<f:param>.
]]>
encodeURLorg.omnifaces.el.functions.Stringsjava.lang.String encodeURL(java.lang.String)escapeJSorg.omnifaces.el.functions.Stringsjava.lang.String escapeJS(java.lang.String)
javax.text.MessageFormat API.
Design notice: There are five formatX() functions, each taking 1 to 5 format parameters because EL
functions does not support varargs methods nor overloaded function names.
]]>
format1org.omnifaces.el.functions.Stringsjava.lang.String format1(java.lang.String, java.lang.Object)
javax.text.MessageFormat API.
Design notice: There are five formatX() functions, each taking 1 to 5 format parameters because EL
functions does not support varargs methods nor overloaded function names.
]]>
format2org.omnifaces.el.functions.Stringsjava.lang.String format2(java.lang.String, java.lang.Object, java.lang.Object)
javax.text.MessageFormat API.
Design notice: There are five formatX() functions, each taking 1 to 5 format parameters because EL
functions does not support varargs methods nor overloaded function names.
]]>
format3org.omnifaces.el.functions.Stringsjava.lang.String format3(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)
javax.text.MessageFormat API.
Design notice: There are five formatX() functions, each taking 1 to 5 format parameters because EL
functions does not support varargs methods nor overloaded function names.
]]>
format4org.omnifaces.el.functions.Stringsjava.lang.String format4(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)
javax.text.MessageFormat API.
Design notice: There are five formatX() functions, each taking 1 to 5 format parameters because EL
functions does not support varargs methods nor overloaded function names.
]]>
format5org.omnifaces.el.functions.Stringsjava.lang.String format5(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)
n times over an <ui:repeat>, which doesn't support EL in begin
and end attributes.
]]>
createArrayorg.omnifaces.el.functions.Arraysjava.lang.Object[] createArray(int)
<f:selectItems> which shows an integer range to
represent days and years.
]]>
createIntegerArrayorg.omnifaces.el.functions.Arraysjava.lang.int[] createIntegerArray(int, int)
true if the string representation of an item of the given array equals to the
string representation of the given item. This returns false if either the array or the
item is null. This is useful if you want to for example check if #{paramValues.foo}
contains a certain value.
]]>
containsorg.omnifaces.el.functions.Arraysboolean contains(java.lang.Object[], java.lang.Object)reverseArrayorg.omnifaces.el.functions.Arraysjava.lang.Object[] reverseArray(java.lang.Object[])
Set<E> to a List<E>. Useful when you want to iterate
over a Set in for example <ui:repeat>.
]]>
setToListorg.omnifaces.el.functions.Convertersjava.util.List setToList(java.util.Set)
<ui:repeat> and <h:datatable>.
]]>
iterableToListorg.omnifaces.el.functions.Convertersjava.util.List iterableToList(java.lang.Iterable)
<ui:repeat> and <h:datatable>.
]]>
iterableToModelorg.omnifaces.el.functions.Convertersjavax.faces.model.DataModel iterableToModel(java.lang.Iterable)
Map<K, V> to a List<Map.Entry<K, V>>. Useful when
you want to iterate over a Map in for example <ui:repeat>. Each of the
entries has the usual getKey() and getValue() methods.
]]>
mapToListorg.omnifaces.el.functions.Convertersjava.util.List mapToList(java.util.Map)joinArrayorg.omnifaces.el.functions.Convertersjava.lang.String joinArray(java.lang.Object, java.lang.String)joinCollectionorg.omnifaces.el.functions.Convertersjava.lang.String joinCollection(java.util.Collection, java.lang.String)joinMaporg.omnifaces.el.functions.Convertersjava.lang.String joinMap(java.util.Map, java.lang.String, java.lang.String)splitArrayorg.omnifaces.el.functions.Convertersjava.lang.Object[] splitArray(java.lang.Object, int)splitListorg.omnifaces.el.functions.Convertersjava.util.List splitList(java.util.List, int)toJsonorg.omnifaces.el.functions.Convertersjava.lang.String toJson(java.lang.Object)printStackTraceorg.omnifaces.el.functions.Convertersjava.lang.String printStackTrace(java.lang.Throwable)
title attribute of an UI component, or the
itemLabel attribute of select item, or wherever you can't use the
<f:convertDateTime> tag.
]]>
formatDateorg.omnifaces.el.functions.Datesjava.lang.String formatDate(java.util.Date, java.lang.String)
title attribute of an UI component, or the itemLabel
attribute of select item, or wherever you can't use the <f:convertDateTime> tag.
]]>
formatDateWithTimezoneorg.omnifaces.el.functions.Datesjava.lang.String formatDateWithTimezone(java.util.Date, java.lang.String, java.lang.Object)addYearsorg.omnifaces.el.functions.Datesjava.util.Date addYears(java.util.Date, int)addMonthsorg.omnifaces.el.functions.Datesjava.util.Date addMonths(java.util.Date, int)addWeeksorg.omnifaces.el.functions.Datesjava.util.Date addWeeks(java.util.Date, int)addDaysorg.omnifaces.el.functions.Datesjava.util.Date addDays(java.util.Date, int)addHoursorg.omnifaces.el.functions.Datesjava.util.Date addHours(java.util.Date, int)addMinutesorg.omnifaces.el.functions.Datesjava.util.Date addMinutes(java.util.Date, int)addSecondsorg.omnifaces.el.functions.Datesjava.util.Date addSeconds(java.util.Date, int)yearsBetweenorg.omnifaces.el.functions.Datesint yearsBetween(java.util.Date, java.util.Date)monthsBetweenorg.omnifaces.el.functions.Datesint monthsBetween(java.util.Date, java.util.Date)weeksBetweenorg.omnifaces.el.functions.Datesint weeksBetween(java.util.Date, java.util.Date)daysBetweenorg.omnifaces.el.functions.Datesint daysBetween(java.util.Date, java.util.Date)hoursBetweenorg.omnifaces.el.functions.Datesint hoursBetween(java.util.Date, java.util.Date)minutesBetweenorg.omnifaces.el.functions.Datesint minutesBetween(java.util.Date, java.util.Date)secondsBetweenorg.omnifaces.el.functions.Datesint secondsBetween(java.util.Date, java.util.Date)
<f:selectItems> which shows all
months. The locale is obtained by Faces#getLocale(). The mapping is per locale stored in a local cache
to improve retrieving performance.
]]>
getMonthsorg.omnifaces.el.functions.Datesjava.util.Map getMonths()
<f:selectItems> which shows all
short months. The locale is obtained by Faces#getLocale(). The mapping is per locale stored in a local
cache to improve retrieving performance.
]]>
getShortMonthsorg.omnifaces.el.functions.Datesjava.util.Map getShortMonths()
<f:selectItems> which shows all
days of week. The locale is obtained by Faces#getLocale(). The mapping is per locale stored in a local cache
to improve retrieving performance.
]]>
getDaysOfWeekorg.omnifaces.el.functions.Datesjava.util.Map getDaysOfWeek()
<f:selectItems> which shows all
short days of week. The locale is obtained by Faces#getLocale(). The mapping is per locale stored in a local
cache to improve retrieving performance.
]]>
getShortDaysOfWeekorg.omnifaces.el.functions.Datesjava.util.Map getShortDaysOfWeek()getMonthorg.omnifaces.el.functions.Datesjava.lang.String getMonth(java.lang.Integer)getShortMonthorg.omnifaces.el.functions.Datesjava.lang.String getShortMonth(java.lang.Integer)getDayOfWeekorg.omnifaces.el.functions.Datesjava.lang.String getDayOfWeek(java.lang.Integer)getShortDayOfWeekorg.omnifaces.el.functions.Datesjava.lang.String getShortDayOfWeek(java.lang.Integer)
n with IEC binary unit (KiB, MiB, etc) with rounding
precision of 1 fraction. For example:
1023 bytes will appear as 1023 B
1024 bytes will appear as 1.0 KiB
500000 bytes will appear as 488.3 KiB
1048576 bytes will appear as 1.0 GiB
]]>
formatBytesorg.omnifaces.el.functions.Numbersjava.lang.String formatBytes(java.lang.Long)
title attribute of an UI component, or the itemLabel
attribute of select item, or wherever you can't use the <f:convertNumber> tag. The format
locale will be set to the one as obtained by Faces#getLocale().
]]>
formatCurrencyorg.omnifaces.el.functions.Numbersjava.lang.String formatCurrency(java.lang.Number, java.lang.String)
title attribute of an UI component, or the itemLabel attribute of select item, or
wherever you can't use the <f:convertNumber> tag. The format locale will be set to the one as
obtained by Faces#getLocale().
]]>
formatNumberorg.omnifaces.el.functions.Numbersjava.lang.String formatNumber(java.lang.Number, java.lang.String)
title attribute of an UI component, or the itemLabel attribute of select
item, or wherever you can't use the <f:convertNumber> tag. The default locale is
the one as obtained by Faces#getLocale().
]]>
formatNumberDefaultorg.omnifaces.el.functions.Numbersjava.lang.String formatNumberDefault(java.lang.Number)
title attribute of an UI component, or the itemLabel attribute of select
item, or wherever you can't use the <f:convertNumber> tag. The given
locale can be a {@link Locale} object or a string representation.
]]>
formatNumberDefaultForLocaleorg.omnifaces.el.functions.Numbersjava.lang.String formatNumberDefaultForLocale(java.lang.Number, java.lang.Object)
title attribute of an UI component, or the itemLabel
attribute of select item, or wherever you can't use the <f:convertNumber> tag. The format
locale will be set to the one as obtained by Faces#getLocale().
]]>
formatPercentorg.omnifaces.el.functions.Numbersjava.lang.String formatPercent(java.lang.Number)
n (rounded to thousands), immediately suffixed (without space)
with metric unit (k, M, G, T, P or E), rounding half up with a precision of 3 digits, whereafter
trailing zeroes in fraction part are stripped. Numbers lower than thousand are not affected.
For example (with English locale):
999.999 will appear as 999.999
1000 will appear as 1k
1004 will appear as 1k
1005 will appear as 1.01k
1594 will appear as 1.59k
1595 will appear as 1.6k
9000 will appear as 9k
9900 will appear as 9.9k
9994 will appear as 9.99k
9995 will appear as 10k
99990 will appear as 100k
9994999 will appear as 9.99M
9995000 will appear as 10M
The format locale will be set to the one as obtained by Faces#getLocale().
If the value is null, NaN or infinity, then this will return null.
]]>
formatThousandsorg.omnifaces.el.functions.Numbersjava.lang.String formatThousands(java.lang.Number)
n (rounded to thousands), suffixed with a space, the metric unit
prefix (k, M, G, T, P or E) and the given unit, rounding half up with a precision of 3 digits, whereafter
trailing zeroes in fraction part are stripped.
For example (with English locale and unit B):
999 will appear as 999 B
1000 will appear as 1 kB
1004 will appear as 1 kB
1005 will appear as 1.01 kB
1594 will appear as 1.59 kB
1595 will appear as 1.6 kB
9000 will appear as 9 kB
9900 will appear as 9.9 kB
9994 will appear as 9.99 kB
9995 will appear as 10 kB
99990 will appear as 100 kB
9994999 will appear as 9.99 MB
9995000 will appear as 10 MB
The format locale will be set to the one as obtained by Faces#getLocale().
If the value is null, NaN or infinity, then this will return null.
]]>
formatThousandsUnitorg.omnifaces.el.functions.Numbersjava.lang.String formatThousandsUnit(java.lang.Number, java.lang.String)
null object from the two objects.
]]>
coalesceorg.omnifaces.el.functions.Objectsjava.lang.Object coalesce(java.lang.Object, java.lang.Object)