isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Haywood <...@haywood-associates.co.uk>
Subject Re: [ANN] Apache Isis version 1.15.0 Released
Date Thu, 17 Aug 2017 14:35:13 GMT
Hi Anisha,

I must admit that what you've written there looks ok to me.

Any possibility of providing an example app on github that exhibits the
problem?  Start off with the new helloworld  archetype, perhaps?

Also, try adding in the configuration property
 "isis.viewer.wicket.promptStyle", as per
http://isis.apache.org/guides/ugvw/ugvw.html#_ugvw_configuration-properties.
Admittedly the helloworld/simpleapp don't set this still work fine, but
perhaps there's some subtlety going on or maybe an undiscovered bug...?

Thx
Dan

PS: check out the paraname8 module (in www.isisaddons.org to get rid of the
need to write @ParameterLayout(named=...)



On Thu, 17 Aug 2017 at 15:23 Anisha Jaiswal <anishakjaiswal@gmail.com>
wrote:

> Hi Dan,
>
> This is great !
> I upgraded my application to v1.15.0.
>
> I wanted to use inline prompts for action methods, but somehow have not
> been able to make it work.
> I noticed that the default behaviour for editing of properties is now
> inline and it looks nice.
>
> I wanted to use my action method also to not create a modal but accept the
> input parameter inline.
> So i set the attribute promptStyle to PromptStyle.INLINE in the annotation
> @ActionLayout...like this :
>
> @SuppressWarnings("serial")
> public static class TestDomainEvent extends
> org.apache.isis.applib.services.eventbus.ActionDomainEvent<Test> {}
>
> @Action(
>             domainEvent = TestDomainEvent.class
>     )
> @ActionLayout( promptStyle=PromptStyle.INLINE)
> public void test(
> @ParameterLayout(named="Test String")
> final String temp
> ) {
> System.out.println("the temp string is "+temp);
> return;
>     }
>
> But i am still getting the modal dialog.
> Please help me understand where i am going wrong in using this
> functionality.
>
> Thanks and regards,
> Anisha
>
> On Tue, Aug 15, 2017 at 1:37 AM, Dan Haywood <dan@haywood-associates.co.uk
> >
> wrote:
>
> > The Apache Isis team is pleased to announce the release of Apache Isis
> > v1.15.0.
> >
> > New features in this release include:
> > * inline prompts: the ability to edit a property or invoke an action
> > (associated with a property)
> >   without requiring a modal dialog box.
> > * a "hello world" archetype
> > * upgrade of Apache Wicket from 6.x to 7.x.
> > * allow applications and integration tests to be bootstrapped with less
> > boilerplate
> > * new metamodel validations for JAXB view models
> > * rename isis-viewer-wicket artifacts to isis-core-viewer-wicket
> >   (for consistency with other core modules)
> >
> > 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].
> > Alternatively, or download the release and build it from source [4].
> >
> > Enjoy!
> >
> > --The Apache Isis team
> >
> > [1] http://isis.apache.org/release-notes.html#r1.15.0
> > [2]
> > http://isis.apache.org/migration-notes.html#_migration-notes_1.14.0-to-1
> .
> > 15.0
> > [3] http://search.maven.org
> > [4] http://isis.apache.org/downloads.html
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message