Browse Source

Remove reference to supportsParameters (#10798)

tags/8.4.0.beta1
Olli Tietäväinen 6 years ago
parent
commit
64f0e6e059
1 changed files with 1 additions and 13 deletions
  1. 1
    13
      documentation/advanced/advanced-cdi.asciidoc

+ 1
- 13
documentation/advanced/advanced-cdi.asciidoc View File

@@ -563,20 +563,8 @@ possible "View" suffix, making it lower case, and using a dash ("-") to separate
words originally denoted by capital letters. Thereby, a view class such as
[classname]#MyFunnyView# would have name " [literal]#++my-funny++#".

supportsParameters:: Specifies whether view parameters can be passed to the view as a suffix to the
name in the navigation state, that is, in the form of
[literal]#++viewname+viewparameters++#. The view name is merely a prefix and
there is no separator nor format for the parameters, but those are left for the
view to handle. The parameter support mode is disabled by default.


+
[source, java]
----
@CDIView(value="myview", supportsParameters=true)
----
+
You could then navigate to the state with a URI fragment such as
You can navigate to a state with a URI fragment such as
[literal]#++#!myview/someparameter++# or programmatically with:



Loading…
Cancel
Save