You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _versions/main/guides/qute-reference.adoc
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1190,7 +1190,7 @@ In this case, just add `_isolated=false` or `_unisolated` argument to the call s
1190
1190
===== Arguments
1191
1191
1192
1192
Named arguments can be accessed directly in the tag template.
1193
-
However, the first argument does not need to define a name and it can be accessed using the `it` alias.
1193
+
However, the first argument does not need to define a name, and it can be accessed using the `it` alias.
1194
1194
Furthermore, if an argument does not have a name defined and the value is a single identifier, such as `foo`, then the name is defaulted to the value identifier, e.g. `{#myTag foo /}` becomes `{#myTag foo=foo /}`.
1195
1195
In other words, the argument value `foo` is resolved and can be accessed using `{foo}` in the tag template.
1196
1196
@@ -2044,8 +2044,8 @@ public class ItemResource {
2044
2044
You can also define a type-safe <<fragments,fragment>> in your Java code.
2045
2045
A _native static_ method with the name that contains a dollar sign `$` denotes a method that represents a fragment of a type-safe template.
2046
2046
The name of the fragment is derived from the annotated method name.
2047
-
The part before the last occurence of a dollar sign `$` is the method name of the related type-safe template.
2048
-
The part after the last occurence of a dollar sign is the fragment identifier.
2047
+
The part before the last occurrence of a dollar sign `$` is the method name of the related type-safe template.
2048
+
The part after the last occurrence of a dollar sign is the fragment identifier.
2049
2049
The strategy defined by the relevant `CheckedTemplate#defaultName()` is honored when constructing the defaulted names.
// the value of the "name" argument is "foo" or "bar"
2225
2225
}
2226
2226
----
2227
-
<1> A additional string method parameter is used to pass the actual property name.
2227
+
<1> An additional string method parameter is used to pass the actual property name.
2228
2228
2229
2229
Finally, `matchNames()` can be used to specify a collection of matching names.
2230
2230
An additional string method parameter is mandatory as well.
@@ -2832,7 +2832,7 @@ In the development mode, all files located in `src/main/resources/templates` are
2832
2832
By default, a template modification results in an application restart that also triggers build-time validations.
2833
2833
2834
2834
However, it's possible to use the `quarkus.qute.dev-mode.no-restart-templates` configuration property to specify the templates for which the application is not restarted.
2835
-
The configration value is a regular expression that matches the template path relative from the `templates` directory and `/` is used as a path separator.
2835
+
The configuration value is a regular expression that matches the template path relative from the `templates` directory and `/` is used as a path separator.
2836
2836
For example, `quarkus.qute.dev-mode.no-restart-templates=templates/foo.html` matches the template `src/main/resources/templates/foo.html`.
2837
2837
The matching templates are reloaded and only runtime validations are performed.
2838
2838
@@ -2938,7 +2938,7 @@ However, the `io.quarkus.qute.i18n.MessageBundle#locale()` can be used to specif
2938
2938
Additionally, there are two ways to define a localized bundle:
2939
2939
2940
2940
1. Create an interface that extends the default interface that is annotated with `@Localized`
2941
-
2. Create an UTF-8 encoded file located in the `src/main/resources/messages` directory of an application archive; e.g. `msg_de.properties`.
2941
+
2. Create a UTF-8 encoded file located in the `src/main/resources/messages` directory of an application archive; e.g. `msg_de.properties`.
2942
2942
2943
2943
TIP: While a localized interface enables easy refactoring, an external file might be more convenient in many situations.
Copy file name to clipboardExpand all lines: _versions/main/guides/scheduler-reference.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -382,11 +382,11 @@ class Jobs {
382
382
383
383
In some cases, it might be useful to choose a scheduler implementation used to execute a scheduled method.
384
384
However, only one `Scheduler` implementation is used for all scheduled methods by default.
385
-
For example, the `quarkus-quartz` extension provides an implementation that supports clustering but it also removes the simple in-memory implementation from the game.
385
+
For example, the `quarkus-quartz` extension provides an implementation that supports clustering, but it also removes the simple in-memory implementation from the game.
386
386
Now, if clustering is enabled then it's not possible to define a scheduled method that would be executed locally on a single node.
387
387
Nevertheless, if you set the `quarkus.scheduler.use-composite-scheduler` config property to `true` then a composite `Scheduler` is used instead.
388
388
This means that multiple scheduler implementations are kept running side by side.
389
-
Furthermore, it's possible to chose a specific implementation used to execute a scheduled method using `@Scheduled#executeWith()`.
389
+
Furthermore, it's possible to choose a specific implementation used to execute a scheduled method using `@Scheduled#executeWith()`.
0 commit comments