A bunch of other typoes found while reading the docs
Project: http://git-wip-us.apache.org/repos/asf/isis/repo Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/718b3b14 Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/718b3b14 Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/718b3b14 Branch: refs/heads/master Commit: 718b3b148bdbb695d53460d1c4f56675de86d123 Parents: b007bc2 Author: bibryam <red2KIDS> Authored: Tue Nov 1 16:57:16 2016 +0000 Committer: bibryam <red2KIDS> Committed: Tue Nov 1 16:57:16 2016 +0000 ---------------------------------------------------------------------- .../src/main/asciidoc/guides/_rgcfg_deployment-types.adoc | 2 +- .../src/main/asciidoc/guides/_rgcms_methods_prefixes_hide.adoc | 4 ++-- .../main/asciidoc/guides/_rgcms_methods_reserved_iconName.adoc | 2 +- .../asciidoc/guides/_tg_stop-scaffolding-start-coding.adoc | 6 +++--- .../main/asciidoc/guides/_ugfun_how-tos_domain-services.adoc | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/isis/blob/718b3b14/adocs/documentation/src/main/asciidoc/guides/_rgcfg_deployment-types.adoc ---------------------------------------------------------------------- diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcfg_deployment-types.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcfg_deployment-types.adoc index 35d5d56..aa80fe8 100644 --- a/adocs/documentation/src/main/asciidoc/guides/_rgcfg_deployment-types.adoc +++ b/adocs/documentation/src/main/asciidoc/guides/_rgcfg_deployment-types.adoc @@ -57,7 +57,7 @@ Wicket's mechanism for specifying the "configuration" is to use a context parame ---- <context-param> <param-name>configuration</param-name> - <param-value>deployment</param-value> + <param-value>development</param-value> </context-param> ---- http://git-wip-us.apache.org/repos/asf/isis/blob/718b3b14/adocs/documentation/src/main/asciidoc/guides/_rgcms_methods_prefixes_hide.adoc ---------------------------------------------------------------------- diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_methods_prefixes_hide.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_methods_prefixes_hide.adoc index 101a89a..4e6da72 100644 --- a/adocs/documentation/src/main/asciidoc/guides/_rgcms_methods_prefixes_hide.adoc +++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_methods_prefixes_hide.adoc @@ -17,14 +17,14 @@ For an action the signature of the supporting method is either: [source,java] ---- -public bool hideXxx(...) { ... } +public boolean hideXxx(...) { ... } ---- where the supporting method takes the same parameter types as the action itself, or more simply: [source,java] ---- -public bool hideXxx() { ... } +public boolean hideXxx() { ... } ---- with no parameters at all. Returning `true` will hide the action, returning `false` leaves it visible. http://git-wip-us.apache.org/repos/asf/isis/blob/718b3b14/adocs/documentation/src/main/asciidoc/guides/_rgcms_methods_reserved_iconName.adoc ---------------------------------------------------------------------- diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_methods_reserved_iconName.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_methods_reserved_iconName.adoc index b9e74b1..99afb1a 100644 --- a/adocs/documentation/src/main/asciidoc/guides/_rgcms_methods_reserved_iconName.adoc +++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_methods_reserved_iconName.adoc @@ -5,7 +5,7 @@ :_imagesdir: images/ -Every object is represented by an icon; this is based on the domain object's simple name. The xref:ugvw.adoc#[Wicket viewer] searches for the image in the same package as the `.class` file for the domain object. +Every object is represented by an icon; this is based on the domain object's simple name. The xref:ugvw.adoc#[Wicket viewer] searches for the image in the same package as the `.class` file for the domain object or in the `images` package. It will find any matching name and one of the followign suffexes `png`, `gif`, `jpeg`, `jpg`, `svg`. If none is found, then `Default.png` will be used as fallback. The `iconName()` allows the icon that to be used to change for individual object instances. These are usually quite subtle, for example to reflect the particular status of an object. The value returned by the `iconName()` method is added as a suffix to the base icon name. http://git-wip-us.apache.org/repos/asf/isis/blob/718b3b14/adocs/documentation/src/main/asciidoc/guides/_tg_stop-scaffolding-start-coding.adoc ---------------------------------------------------------------------- diff --git a/adocs/documentation/src/main/asciidoc/guides/_tg_stop-scaffolding-start-coding.adoc b/adocs/documentation/src/main/asciidoc/guides/_tg_stop-scaffolding-start-coding.adoc index d0f6a3f..b3375e9 100644 --- a/adocs/documentation/src/main/asciidoc/guides/_tg_stop-scaffolding-start-coding.adoc +++ b/adocs/documentation/src/main/asciidoc/guides/_tg_stop-scaffolding-start-coding.adoc @@ -299,7 +299,7 @@ Domain entities have state: either values (primitives, strings) or references to * add some xref:ugfun.adoc#_ugfun_how-tos_class-structure_properties[value properties]; also: * for string properties -** use the xref:rgant.adoc#_rgant-PropertyLayout_multiLine[`@Property(multiLine=...)`] annotation to render a text area instead of a text box +** use the xref:rgant.adoc#_rgant-PropertyLayout_multiLine[`@PropertyLayout(multiLine=...)`] annotation to render a text area instead of a text box ** use the xref:rgant.adoc#_rgant-Property_maxLength[`@Property(maxLength=...)`] annotation to specify the maximum number of characters allowable ** use joda date/time properties, bigdecimals and blob/clob properties * use the xref:rgant.adoc#_rgant-Property_optionality[`@Column(allowsNull=...)`] annotation specify whether a property is optional or mandatory @@ -308,7 +308,7 @@ Domain entities have state: either values (primitives, strings) or references to * for all non-optional properties will either need to prompt for a value, or calculate some suitable default * change the implementation of title, if need be * revisit the title, consider whether to use the xref:rgant.adoc#_rgant-Title[`@Title`] annotation -** rather than the xref:rgcms.adoc#_rgcms_methods_reserved_title[`title()`] `title()` method +** rather than the xref:rgcms.adoc#_rgcms_methods_reserved_title[`title()`] method * order the properties using the xref:rgant.adoc#_rgant-MemberOrder[`@MemberOrder`], also `@MemberGroupLayout` ** see also the docs on xref:ugfun.adoc#_ugfun_object-layout_static[static layouts] * use the xref:rgant.adoc#_rgant-PropertyLayout[`@PropertyLayout`] annotation to position property/action parameter labels either to the LEFT, TOP or NONE @@ -350,7 +350,7 @@ Returning back to references, Isis also supports vector (multi-valued) reference * Ensure that all domain classes implement `java.lang.Comparable` ** use the xref:rgcms.adoc#_rgcms_classes_utility_ObjectContracts[`ObjectContracts`] utility class to help implement `Comparable` -*** you can also `equals()`, `hashCode()`, `toString()` +*** you can also implement `equals()`, `hashCode()`, `toString()` * Add a xref:ugfun.adoc#_ugfun_how-tos_class-structure_collections[collection] to one of the entities ** Use `SortedSet` as the class ** Use the xref:rgant.adoc#_rgant-CollectionLayout_render[`@CollectionLayout(render=...)`] annotation to indicate if the collection should be visible or hidden by default http://git-wip-us.apache.org/repos/asf/isis/blob/718b3b14/adocs/documentation/src/main/asciidoc/guides/_ugfun_how-tos_domain-services.adoc ---------------------------------------------------------------------- diff --git a/adocs/documentation/src/main/asciidoc/guides/_ugfun_how-tos_domain-services.adoc b/adocs/documentation/src/main/asciidoc/guides/_ugfun_how-tos_domain-services.adoc index de379ce..0673f68 100644 --- a/adocs/documentation/src/main/asciidoc/guides/_ugfun_how-tos_domain-services.adoc +++ b/adocs/documentation/src/main/asciidoc/guides/_ugfun_how-tos_domain-services.adoc @@ -36,7 +36,7 @@ The application provides the `@DomainService(nature=...)` annotation that helps - `VIEW` indicates that the actions should appear both on the menu and also be used as contributions - `VIEW_MENU_ONLY` indicates that the actions should appear on the menu -- `VIEW_CONTRIBUTED_ONLY` indicates that the actions should appear on the menu +- `VIEW_CONTRIBUTIONS_ONLY` indicates that the actions should not appear on the menu - `DOMAIN` indicates that the actions are for other domain objects to invoke (either directly or indirectly through the event bus), but in any case should not be rendered at all in the UI Pulling all the above together, here are our suggestions as to how you should organize your domain services.
