Re: [ANN] Apache Isis version 1.14.0 Released
The multiselect is the 7th parameter, so use autoComplete6..., not autoComplete0... Cheers Dan On Fri, 3 Mar 2017, 18:16 L Eder,wrote: The new feature - collection parameter - worked well in an action button. But refuses to work in a menu entry, for example Create. I tried the support methods, of course, and even the DomainObject alternative, without success. Error message: " Collection action parameter found without supporting choices or autoComplete facet. Class: domainapp.dom.PPB.ComponentMenu action: Create parameter 6 " Anyone experienced this issue? Thanks, Source code: ComponentMenu.java " @Action( ) @MemberOrder(sequence = "3") public Component create( @ParameterLayout(named="Description") final String description, @ParameterLayout(named="Part Number") final String partNumber, @ParameterLayout(named="First Date") final LocalDate firstDate, @ParameterLayout(named="Last Date") final LocalDate lastDate, @ParameterLayout(named="Category") final ComponentCategory category, @ParameterLayout(named="Origin") final ComponentOrigin origin, @ParameterLayout(named="Associated Models") final List models ) { return componentrepository.create( description, partNumber, firstDate, lastDate, category, origin, models); } //@Programmatic public List autoComplete0Create(@MinLength(3) String searchTerm) { return modelRepo.listAll(); } ... @javax.inject.Inject private ModelRepository modelRepo; " ComponentRepository.java " @Programmatic public Component create( final String description, final String partNumber, final LocalDate firstDate, final LocalDate lastDate, final ComponentCategory category, final ComponentOrigin origin, final List models) { final Component component = container.newTransientInstance(Component.class); component.setDescription(description); component.setPartNumber(partNumber); component.setFirstDate(firstDate); component.setLastDate(lastDate); component.setCategory(category); component.setOrigin(origin); container.persistIfNotAlready(component); return component; } " 2017-02-20 20:15 GMT-04:00, Dan Haywood : > within... > > > On Mon, 20 Feb 2017 at 13:01 Bilgin Ibryam wrote: > >> >> For the time being, I also had to disable >> >> isis.reflector.validator.jdoqlVariablesClause=false >> isis.reflector.validator.explicitObjectType=false >> isis.reflector.validator.jdoqlFromClause=false >> >> as the security module was complaining about some validations. >> >> > The updated security module (1.14.0) should not throw any validation errors > (hopefully). > > > >> Are there any examples/docs for how to use the new features from this >> release, more specifically: >> >> ISIS-1529 - TableColumnOrderService, to allow column order to be >> fine-tuned >> > > http://isis.apache.org/guides/rgsvc.html#_rgsvc_spi_TableColumnOrderService > > > >> ISIS-709 - Support multi-select for the drop-down box > > ISIS-785 - Invoke action parameter with a collection of entities. >> >> > http://isis.apache.org/guides/ugfun.html#_ugfun_how-tos_class-structure_actions_collection-parameter-types > > (these are the same feature really ... one is the metamodel change, the > other is the Wicket UI) > > > This additional doc has _not_ been changed, probably should've been (PRs > gratefully received): > - http://isis.apache.org/guides/rgcms.html#_rgcms_methods_prefixes_choices > - > http://isis.apache.org/guides/rgcms.html#_rgcms_methods_prefixes_autoComplete > > Thx > Dan > > > >> >> Cheers, >> >> >> [1] http://github.com/bibryam/semat >> >> >> >
Re: [ANN] Apache Isis version 1.14.0 Released
The new feature - collection parameter - worked well in an action button. But refuses to work in a menu entry, for example Create. I tried the support methods, of course, and even the DomainObject alternative, without success. Error message: " Collection action parameter found without supporting choices or autoComplete facet. Class: domainapp.dom.PPB.ComponentMenu action: Create parameter 6 " Anyone experienced this issue? Thanks, Source code: ComponentMenu.java " @Action( ) @MemberOrder(sequence = "3") public Component create( @ParameterLayout(named="Description") final String description, @ParameterLayout(named="Part Number") final String partNumber, @ParameterLayout(named="First Date") final LocalDate firstDate, @ParameterLayout(named="Last Date") final LocalDate lastDate, @ParameterLayout(named="Category") final ComponentCategory category, @ParameterLayout(named="Origin") final ComponentOrigin origin, @ParameterLayout(named="Associated Models") final List models ) { return componentrepository.create( description, partNumber, firstDate, lastDate, category, origin, models); } //@Programmatic public List autoComplete0Create(@MinLength(3) String searchTerm) { return modelRepo.listAll(); } ... @javax.inject.Inject private ModelRepository modelRepo; " ComponentRepository.java " @Programmatic public Component create( final String description, final String partNumber, final LocalDate firstDate, final LocalDate lastDate, final ComponentCategory category, final ComponentOrigin origin, final List models) { final Component component = container.newTransientInstance(Component.class); component.setDescription(description); component.setPartNumber(partNumber); component.setFirstDate(firstDate); component.setLastDate(lastDate); component.setCategory(category); component.setOrigin(origin); container.persistIfNotAlready(component); return component; } " 2017-02-20 20:15 GMT-04:00, Dan Haywood: > within... > > > On Mon, 20 Feb 2017 at 13:01 Bilgin Ibryam wrote: > >> >> For the time being, I also had to disable >> >> isis.reflector.validator.jdoqlVariablesClause=false >> isis.reflector.validator.explicitObjectType=false >> isis.reflector.validator.jdoqlFromClause=false >> >> as the security module was complaining about some validations. >> >> > The updated security module (1.14.0) should not throw any validation errors > (hopefully). > > > >> Are there any examples/docs for how to use the new features from this >> release, more specifically: >> >> ISIS-1529 - TableColumnOrderService, to allow column order to be >> fine-tuned >> > > http://isis.apache.org/guides/rgsvc.html#_rgsvc_spi_TableColumnOrderService > > > >> ISIS-709 - Support multi-select for the drop-down box > > ISIS-785 - Invoke action parameter with a collection of entities. >> >> > http://isis.apache.org/guides/ugfun.html#_ugfun_how-tos_class-structure_actions_collection-parameter-types > > (these are the same feature really ... one is the metamodel change, the > other is the Wicket UI) > > > This additional doc has _not_ been changed, probably should've been (PRs > gratefully received): > - http://isis.apache.org/guides/rgcms.html#_rgcms_methods_prefixes_choices > - > http://isis.apache.org/guides/rgcms.html#_rgcms_methods_prefixes_autoComplete > > Thx > Dan > > > >> >> Cheers, >> >> >> [1] http://github.com/bibryam/semat >> >> >> >
Re: [ANN] Apache Isis version 1.14.0 Released
within... On Mon, 20 Feb 2017 at 13:01 Bilgin Ibryamwrote: > > For the time being, I also had to disable > > isis.reflector.validator.jdoqlVariablesClause=false > isis.reflector.validator.explicitObjectType=false > isis.reflector.validator.jdoqlFromClause=false > > as the security module was complaining about some validations. > > The updated security module (1.14.0) should not throw any validation errors (hopefully). > Are there any examples/docs for how to use the new features from this > release, more specifically: > > ISIS-1529 - TableColumnOrderService, to allow column order to be fine-tuned > http://isis.apache.org/guides/rgsvc.html#_rgsvc_spi_TableColumnOrderService > ISIS-709 - Support multi-select for the drop-down box ISIS-785 - Invoke action parameter with a collection of entities. > > http://isis.apache.org/guides/ugfun.html#_ugfun_how-tos_class-structure_actions_collection-parameter-types (these are the same feature really ... one is the metamodel change, the other is the Wicket UI) This additional doc has _not_ been changed, probably should've been (PRs gratefully received): - http://isis.apache.org/guides/rgcms.html#_rgcms_methods_prefixes_choices - http://isis.apache.org/guides/rgcms.html#_rgcms_methods_prefixes_autoComplete Thx Dan > > Cheers, > > > [1] http://github.com/bibryam/semat > > >
Re: [ANN] Apache Isis version 1.14.0 Released
A great release! I'm updating my Semat app from 1.13 to 1.14 and I had to also update the various modules I use. For the time being, I also had to disable isis.reflector.validator.jdoqlVariablesClause=false isis.reflector.validator.explicitObjectType=false isis.reflector.validator.jdoqlFromClause=false as the security module was complaining about some validations. Are there any examples/docs for how to use the new features from this release, more specifically: ISIS-1529 - TableColumnOrderService, to allow column order to be fine-tuned ISIS-709 - Support multi-select for the drop-down box ISIS-785 - Invoke action parameter with a collection of entities. Cheers, [1] http://github.com/bibryam/semat On 19 February 2017 at 15:56, Dan Haywoodwrote: > The Apache Isis team is pleased to announce the release of Apache Isis > v1.14.0. > > The new features and improvements in this release include: > > * the ability to invoke actions with collection parameters (rendered by the > Wicket viewer as a multi-select drop-down). > > * a number of metamodel validations intended to make it apps already in > production easier to refactor (including a new objectType attribute for > @DomainService) > > * improvements to EmailService so easier to use in system test (non-prod) > environments > > * a new TableColumnOrderService to allow column order of parented > collections to be fine-tuned. > > > Full release notes are available on the Apache Isis website at [1]. Please > also read the migration notes [2]. > > You can access this release directly from the Maven central repo [3], or > download the release and build it from > source [4]. > > Enjoy! > > --The Apache Isis team > > [1] http://isis.apache.org/release-notes.html#r1.14.0 > [2] > http://isis.apache.org/migration-notes.html#_migration-notes_1.13.0-to-1.14.0 > [3] http://search.maven.org > [4] http://isis.apache.org/downloads.html -- Bilgin Ibryam Camel Committer at ASF & Integration Architect at Red Hat Blog: http://ofbizian.com | Twitter: @bibryam Camel Design Patterns https://leanpub.com/camel-design-patterns Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475
[ANN] Apache Isis version 1.14.0 Released
The Apache Isis team is pleased to announce the release of Apache Isis v1.14.0. The new features and improvements in this release include: * the ability to invoke actions with collection parameters (rendered by the Wicket viewer as a multi-select drop-down). * a number of metamodel validations intended to make it apps already in production easier to refactor (including a new objectType attribute for @DomainService) * improvements to EmailService so easier to use in system test (non-prod) environments * a new TableColumnOrderService to allow column order of parented collections to be fine-tuned. Full release notes are available on the Apache Isis website at [1]. Please also read the migration notes [2]. You can access this release directly from the Maven central repo [3], or download the release and build it from source [4]. Enjoy! --The Apache Isis team [1] http://isis.apache.org/release-notes.html#r1.14.0 [2] http://isis.apache.org/migration-notes.html#_migration-notes_1.13.0-to-1.14.0 [3] http://search.maven.org [4] http://isis.apache.org/downloads.html