Re: Performing bulk operations on view models

2016-03-15 Thread Vishma Senadhi Dias
n against which you can perform the bulk actions. HTH Dan On 11 March 2016 at 06:17, Vishma Senadhi Dias wrote: Hi all, I have a JAXB annotated view model consisting several collections. ( several other view models ; like in the todo-app dashboard). Is it possible to use ActionInvoca

Performing bulk operations on view models

2016-03-10 Thread Vishma Senadhi Dias
Hi all, I have a JAXB annotated view model consisting several collections. ( several other view models ; like in the todo-app dashboard). Is it possible to use ActionInvocationContext and invokeOn to select multiple instances of a collection and do a bulk operation where there is more than on

Re: JAXB annotated classes as domain objects

2016-03-10 Thread Vishma Senadhi Dias
sues.apache.org/jira/browse/ISIS-1299 On 26 January 2016 at 05:14, Vishma Senadhi Dias wrote: Hi Dan, Can you please tell me a way to enter data into a view model? I cannot find a way to update contents of the view model created via JAXB annotations. On 1/25/2016 5:25 PM, Dan Haywood wrote:

Re: Combo box or DropDown for a dynamic set of inputs

2016-03-08 Thread Vishma Senadhi Dias
at a short-cut method would be good. On Tue, Mar 8, 2016 at 3:47 PM, Vishma Senadhi Dias < vishma...@cse.mrt.ac.lk wrote: Hi all, I have used enumerated classes for drop down inputs in isis. The issue I have is I need the input data sets to be dynamic. More precisely I need the inputs to

Combo box or DropDown for a dynamic set of inputs

2016-03-07 Thread Vishma Senadhi Dias
Hi all, I have used enumerated classes for drop down inputs in isis. The issue I have is I need the input data sets to be dynamic. More precisely I need the inputs to be generated at the run time, not the compile time. Using enumerated classes restricts me to the compile time which make me c

Re: Annotations for configuring collections?

2016-03-06 Thread Vishma Senadhi Dias
Hi Marianne, (1) In order to hide items in a collection you will have to edit inside the collection object using @PropertyLayout [1] for each separate parameter. Simply set hidden attribute in the annotation as "hidden": "EVERYWHERE" so that the unwanted contents should be hidden. Please note

View Models -----> on screen editing

2016-03-04 Thread Vishma Senadhi Dias
Hi all, I have a small concern over editing a view model. I have a view model which is JAXB annotated.Can I have an action to edit properties of view model "on screen"? I meant without a popup window to input data. ( like in Domain objects edit function) If there is not anyway to achieve on

Re: Overriding a field in a view model

2016-02-25 Thread Vishma Senadhi Dias
ntly under development. HTH Dan [1] https://github.com/apache/isis/tree/ISIS-993/core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/jdosupport On 25 February 2016 at 11:13, Vishma Senadhi Dias wrote: Hi Dan, Following your method I was able to override BookType fi

Re: Overriding a field in a view model

2016-02-25 Thread Vishma Senadhi Dias
raryMember lm) { this.libraryMember = lm; } @Action(semanticsOf=SAFE) @ActionLayout(contributed=AS.Association) public String bookTypeDecoded() { return libraryMember.getBookType().equals("N") ? "Novel": "Misc"; } } HTH Dan On 23 Februa

Re: Overriding a field in a view model

2016-02-23 Thread Vishma Senadhi Dias
lic String bookTypeDecoded() { return libraryMember.getBookType().equals("N") ? "Novel": "Misc"; } } HTH Dan On 23 February 2016 at 06:30, Vishma Senadhi Dias wrote: Hi all, I have a jaxb annotated view model which have several fields with getters and set

Overriding a field in a view model

2016-02-22 Thread Vishma Senadhi Dias
Hi all, I have a jaxb annotated view model which have several fields with getters and setters. I want to override the getter of a specific field so that different value will appear on the UI. But the original getter should not be changed. example: |public class LibraryMember { private Strin

Re: URL encoding issue ---> HttpParser full

2016-02-15 Thread Vishma Senadhi Dias
/isis-app-todoapp/blob/master/app/src/main/java/todoapp/app/services/urlencoding/UrlEncodingServiceUsingInMemoryCache.java [2] http://isis.apache.org/guides/ugbtb.html#_ugbtb_other-techniques_replacing-default-service-implementations On 15 February 2016 at 11:52, Vishma Senadhi Dias wrote: Hi

URL encoding issue ---> HttpParser full

2016-02-15 Thread Vishma Senadhi Dias
Hi all, I am using isis simple archetype in my development. I use JAXB annotated classes as view models in my application. Some of my view models have several layers of nested objects. I cannot access the deeper nested classes, as per my opinion caused by excess length of the URL. It takes a

Issue with custom domain object : Exception --> Resolve state

2016-01-27 Thread Vishma Senadhi Dias
Hi, I wish to display a domain object instance received as a response from a web service. I have my local interface of the response as a domain object. I get the response from an action in the domain service. Can anyone please tell me the reason for this exception to occur? Any suggestions wou

Re: JAXB annotated classes as domain objects

2016-01-25 Thread Vishma Senadhi Dias
... just to say that these are intended for setting up the system for either prototyping or testing, they aren't generally intended to be for use in the "production" app itself. Wasn't sure from your mail if this was clear to you or not. Thx Dan On 25 January 2016 at 11:4

Re: JAXB annotated classes as domain objects

2016-01-25 Thread Vishma Senadhi Dias
... just to say that these are intended for setting up the system for either prototyping or testing, they aren't generally intended to be for use in the "production" app itself. Wasn't sure from your mail if this was clear to you or not. Thx Dan On 25 January 2016 at 11:44, Vi

JAXB annotated classes as domain objects

2016-01-25 Thread Vishma Senadhi Dias
Hi, I need some assistance with displaying web ui according to the SOAP response. Simple Example: Let's say I have a JAXB annotated object called "Temperature". I have a SOAP web service which needs a place co-ordinates as an input and returns Temperature value as an Output. I have writt