Skip to content

Commit

Permalink
Fix example in "Accessing Static Fields and Methods"
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini authored Sep 18, 2024
1 parent cddc49d commit 913217d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/qute-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2395,12 +2395,12 @@ public class Statuses {
public static final String OFF = "off";
}
----
<1> A name resolver with the namespace `model_Status` is generated automatically.
<1> A name resolver with the namespace `model_Statuses` is generated automatically.

.Template Accessing Class Constants
[source,html]
----
{#if machine.status == model_Status:ON}
{#if machine.status == model_Statuses:ON}
The machine is ON!
{/if}
----
Expand Down

0 comments on commit 913217d

Please sign in to comment.