[jira] [Commented] (ISIS-2033) IoC Container Integration
[ https://issues.apache.org/jira/browse/ISIS-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16806894#comment-16806894 ] ASF subversion and git services commented on ISIS-2033: --- Commit 39ad14f7a24c3ef0e0959bb6b7a44f2c6b767faa in isis's branch refs/heads/2033-IoC_spring from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=39ad14f ] ISIS-2033: adding simple 'AsyncExecutionService' interface ... showcasing how a this might work on top of Spring Task-Url: https://issues.apache.org/jira/browse/ISIS-2033 > IoC Container Integration > - > > Key: ISIS-2033 > URL: https://issues.apache.org/jira/browse/ISIS-2033 > Project: Isis > Issue Type: Task >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > > Dan and I discussed an idea, where there could be a way for the framework to > no longer 'care' about the persistence layer, session handling and event > handling. Instead delegating this responsibility to an IoC Container. With > that have all the domain objects being managed by the container and no longer > care about domain-object's life-cycles. > Candidates being Spring and JEE. > Some inspiring videos (Spring) ... > [1] [https://www.youtube.com/watch?v=aA4tfBGY6jY] > [2] [https://www.youtube.com/watch?v=jDchAEHIht0] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (ISIS-2033) IoC Container Integration
[ https://issues.apache.org/jira/browse/ISIS-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16806893#comment-16806893 ] ASF subversion and git services commented on ISIS-2033: --- Commit 39ad14f7a24c3ef0e0959bb6b7a44f2c6b767faa in isis's branch refs/heads/2033-IoC_spring from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=39ad14f ] ISIS-2033: adding simple 'AsyncExecutionService' interface ... showcasing how a this might work on top of Spring Task-Url: https://issues.apache.org/jira/browse/ISIS-2033 > IoC Container Integration > - > > Key: ISIS-2033 > URL: https://issues.apache.org/jira/browse/ISIS-2033 > Project: Isis > Issue Type: Task >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > > Dan and I discussed an idea, where there could be a way for the framework to > no longer 'care' about the persistence layer, session handling and event > handling. Instead delegating this responsibility to an IoC Container. With > that have all the domain objects being managed by the container and no longer > care about domain-object's life-cycles. > Candidates being Spring and JEE. > Some inspiring videos (Spring) ... > [1] [https://www.youtube.com/watch?v=aA4tfBGY6jY] > [2] [https://www.youtube.com/watch?v=jDchAEHIht0] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (ISIS-2033) IoC Container Integration
[ https://issues.apache.org/jira/browse/ISIS-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16806837#comment-16806837 ] ASF subversion and git services commented on ISIS-2033: --- Commit 7456141e4d87db877e45567d76853ab909109c3e in isis's branch refs/heads/2033-IoC_spring from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=7456141 ] ISIS-2033: testing very basic spring async action idioms Task-Url: https://issues.apache.org/jira/browse/ISIS-2033 > IoC Container Integration > - > > Key: ISIS-2033 > URL: https://issues.apache.org/jira/browse/ISIS-2033 > Project: Isis > Issue Type: Task >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > > Dan and I discussed an idea, where there could be a way for the framework to > no longer 'care' about the persistence layer, session handling and event > handling. Instead delegating this responsibility to an IoC Container. With > that have all the domain objects being managed by the container and no longer > care about domain-object's life-cycles. > Candidates being Spring and JEE. > Some inspiring videos (Spring) ... > [1] [https://www.youtube.com/watch?v=aA4tfBGY6jY] > [2] [https://www.youtube.com/watch?v=jDchAEHIht0] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (ISIS-2033) IoC Container Integration
[ https://issues.apache.org/jira/browse/ISIS-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16806836#comment-16806836 ] ASF subversion and git services commented on ISIS-2033: --- Commit 7456141e4d87db877e45567d76853ab909109c3e in isis's branch refs/heads/2033-IoC_spring from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=7456141 ] ISIS-2033: testing very basic spring async action idioms Task-Url: https://issues.apache.org/jira/browse/ISIS-2033 > IoC Container Integration > - > > Key: ISIS-2033 > URL: https://issues.apache.org/jira/browse/ISIS-2033 > Project: Isis > Issue Type: Task >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > > Dan and I discussed an idea, where there could be a way for the framework to > no longer 'care' about the persistence layer, session handling and event > handling. Instead delegating this responsibility to an IoC Container. With > that have all the domain objects being managed by the container and no longer > care about domain-object's life-cycles. > Candidates being Spring and JEE. > Some inspiring videos (Spring) ... > [1] [https://www.youtube.com/watch?v=aA4tfBGY6jY] > [2] [https://www.youtube.com/watch?v=jDchAEHIht0] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (ISIS-2001) Dynamically hide/disable/default action parameters (based on other parameter arguments)
[ https://issues.apache.org/jira/browse/ISIS-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16806599#comment-16806599 ] ASF subversion and git services commented on ISIS-2001: --- Commit 82820afb5635ec45c63047c39c0872256dc15146 in isis's branch refs/heads/ISIS-2001 from danhaywood [ https://gitbox.apache.org/repos/asf?p=isis.git;h=82820af ] ISIS-2001: initial sketch of changes required for defaultXxx support > Dynamically hide/disable/default action parameters (based on other parameter > arguments) > --- > > Key: ISIS-2001 > URL: https://issues.apache.org/jira/browse/ISIS-2001 > Project: Isis > Issue Type: New Feature >Affects Versions: 1.16.2 >Reporter: Dan Haywood >Assignee: Dan Haywood >Priority: Major > Fix For: 1.18.0 > > > some notes: > ActionParametersForm.java > ScalarPanelAbstract2#updateIfNecessary(..) as a new hook method to be > implemented everywhere > - if choices facet then update choices ... DONE ALREADY > - if default facet then recompute ... TO DO EVERYWHERE, on the getModel() > - and "sync" the value into the UI widget > 1. for the existing logic that evaluates choicesX based on choices(Y should also evaluate any defaultX that we see. > 2. also do this for an autoCompleteX > 3. new logic looking for a change in any scalar, then search for other params > with a default that depend on that. > Nice to have, but will need changes to metamodel so we'll leave for now: > 4. support the idea of disableX for params > 5. support the idea of hideX for params > based on a change (autoComplete, choices or scalar) > ... re-evaluate choices, default, disable, hide > ~~ > Organisation -> BankAccount > public void doSomething( > Organisation org, > BankAccount bankAccount, > ... > ) { > > } > public List autoComplete0DoSomething(String str) { } > public List choices0DoSomething() { } > public List choices1DoSomething(Organisation org) { ... } > public BankAccount default1DoSomething(Organisation org) { /*return > choices1DoSomething(organisation).get(0); */ } > ~~ > public void calc( > BigDecimal netAmount, > BigDecimal vatAmount, > BigDecimal grossAmount > ... > ) { > > } > public BigDecimal default2Calc(BigDecimal netAmount, BigDecimal vatAmount) { > return netAmount + vatAmount; } > //public String disable2Calc() { return "disabled"; } > //public boolean hide2Calc(BigDecimal netAmount, BigDecimal vatAmount) { > return netAmount == null; } -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ISIS-2001) Dynamically hide/disable/default action parameters (based on other parameter arguments)
[ https://issues.apache.org/jira/browse/ISIS-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Haywood updated ISIS-2001: -- Description: some notes: ActionParametersForm.java ScalarPanelAbstract2#updateIfNecessary(..) as a new hook method to be implemented everywhere - if choices facet then update choices ... DONE ALREADY - if default facet then recompute ... TO DO EVERYWHERE, on the getModel() - and "sync" the value into the UI widget 1. for the existing logic that evaluates choicesX based on choices(Y BankAccount public void doSomething( Organisation org, BankAccount bankAccount, ... ) { } public List autoComplete0DoSomething(String str) { } public List choices0DoSomething() { } public List choices1DoSomething(Organisation org) { ... } public BankAccount default1DoSomething(Organisation org) { /*return choices1DoSomething(organisation).get(0); */ } ~~ public void calc( BigDecimal netAmount, BigDecimal vatAmount, BigDecimal grossAmount ... ) { } public BigDecimal default2Calc(BigDecimal netAmount, BigDecimal vatAmount) { return netAmount + vatAmount; } //public String disable2Calc() { return "disabled"; } //public boolean hide2Calc(BigDecimal netAmount, BigDecimal vatAmount) { return netAmount == null; } > Dynamically hide/disable/default action parameters (based on other parameter > arguments) > --- > > Key: ISIS-2001 > URL: https://issues.apache.org/jira/browse/ISIS-2001 > Project: Isis > Issue Type: New Feature >Affects Versions: 1.16.2 >Reporter: Dan Haywood >Assignee: Dan Haywood >Priority: Major > Fix For: 1.18.0 > > > some notes: > ActionParametersForm.java > ScalarPanelAbstract2#updateIfNecessary(..) as a new hook method to be > implemented everywhere > - if choices facet then update choices ... DONE ALREADY > - if default facet then recompute ... TO DO EVERYWHERE, on the getModel() > - and "sync" the value into the UI widget > 1. for the existing logic that evaluates choicesX based on choices(Y should also evaluate any defaultX that we see. > 2. also do this for an autoCompleteX > 3. new logic looking for a change in any scalar, then search for other params > with a default that depend on that. > Nice to have, but will need changes to metamodel so we'll leave for now: > 4. support the idea of disableX for params > 5. support the idea of hideX for params > based on a change (autoComplete, choices or scalar) > ... re-evaluate choices, default, disable, hide > ~~ > Organisation -> BankAccount > public void doSomething( > Organisation org, > BankAccount bankAccount, > ... > ) { > > } > public List autoComplete0DoSomething(String str) { } > public List choices0DoSomething() { } > public List choices1DoSomething(Organisation org) { ... } > public BankAccount default1DoSomething(Organisation org) { /*return > choices1DoSomething(organisation).get(0); */ } > ~~ > public void calc( > BigDecimal netAmount, > BigDecimal vatAmount, > BigDecimal grossAmount > ... > ) { > > } > public BigDecimal default2Calc(BigDecimal netAmount, BigDecimal vatAmount) { > return netAmount + vatAmount; } > //public String disable2Calc() { return "disabled"; } > //public boolean hide2Calc(BigDecimal netAmount, BigDecimal vatAmount) { > return netAmount == null; } -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Assigned] (ISIS-2001) Dynamically hide/disable/default action parameters (based on other parameter arguments)
[ https://issues.apache.org/jira/browse/ISIS-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Haywood reassigned ISIS-2001: - Assignee: Dan Haywood > Dynamically hide/disable/default action parameters (based on other parameter > arguments) > --- > > Key: ISIS-2001 > URL: https://issues.apache.org/jira/browse/ISIS-2001 > Project: Isis > Issue Type: New Feature >Affects Versions: 1.16.2 >Reporter: Dan Haywood >Assignee: Dan Haywood >Priority: Major > Fix For: 1.18.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)