RE: Reload properties files like using ServLetContext

2014-09-11 Thread chittari.varma
Hi Dan, It's working. Thanks. -Original Message- From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent: Wednesday, September 10, 2014 7:12 PM To: users Subject: Re: Reload properties files like using ServLetContext An Isis app is a Wicket app, so you can use the Wicket API to

Excel upload into DomainObjects

2014-09-05 Thread chittari.varma
Hi, I want to know : 1. how the domain objects and it's properties are mapped with excel sheets and headers in individual working sheet. 2. Can this feature be used if Excel file has multiple working sheets and each individual working sheet data need to be transferred to different

Open Jiras (ISIS-766 ISIS-643)

2014-08-19 Thread chittari.varma
Hi Dan, As asked by you, I have published project to github whose URL is mentioned in the respective Jiras. They are blockers and need your help on resolving those issues ASAP. Could you please check on them. Thanks Ranganath Varma The information contained in this electronic message and any

RE: identifier 'com.wipro.wess.ods.munit.MUnitPK_#01' contains a '#' symbol

2014-06-24 Thread chittari.varma
Hi Dan, it is not limitation of OidMarshaller, but of RootOidDefault: Ensure.ensureThatArg(identifier, is(not(IsisMatchers.contains(#))), identifier ' + identifier + ' contains a '#' symbol); Please find below bit more of the stack trace: Caused by: java.lang.RuntimeException:

Domain object lifecycle method updating is not working through default Edit button

2014-06-24 Thread chittari.varma
Domain object lifecycle method updating is not working in the below scenario: 1. From the Menu service, list all domain objects 2. Pick one to navigate into its detail page 3. By default we can see Edit button. 4. Click on Edit button to edit some properties. Modify

RE: identifier 'com.wipro.wess.ods.munit.MUnitPK_#01' contains a '#' symbol

2014-06-24 Thread chittari.varma
Hi Dan, Thanks for the options. It is resolved. What I did is: Instead of removing check in RootOidDefault and adding base32 encode and decoing in OidMarshaller, I have added this base32 encoding and decoding in Domain Object PK class toString() and constructor respectively as below: public

RE: identifier 'com.wipro.wess.ods.munit.MUnitPK_#01' contains a '#' symbol

2014-06-24 Thread chittari.varma
ISIS-820 is created. -Original Message- From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent: Tuesday, June 24, 2014 8:38 PM To: users Subject: Re: identifier 'com.wipro.wess.ods.munit.MUnitPK_#01' contains a '#' symbol On 24 June 2014 14:06, chittari.va...@wipro.com wrote:

Dependent choices for properties

2014-06-18 Thread chittari.varma
Like dependent choices for action params: http://isis.apache.org/how-tos/how-to-03-022-How-to-specify-dependent-choices-for-action-parameters.html, Do we have the same for properties. I have a domain object with two correlated properties: Meaning: One property has dependency on the other

CSS to increase the height of the menu in ISIS

2014-06-13 Thread chittari.varma
Hi, We have many services in our ISIS application. So adding them causes issue in display. Menu items(Services) which come in 2nd line get hidden because of insufficient height in the menu area. Anyone please guide me how to increase it in application.css. PFB screenshot:

List page queries

2014-06-12 Thread chittari.varma
Hi, 1. Is it possible to hide some properties in the list page only? I mean While displaying list of domain objects, all its properties are displayed as columns in the table. I want to display only important columns and hide the remaining. 2. Instead of drop-down box populated

RE: Isis Shiro - Server restart for loading new permission

2014-06-11 Thread chittari.varma
Hi Dan, I had uploaded the required files in the JIRA: https://issues.apache.org/jira/browse/ISIS-799 . Please check. Waiting for your feedback. Thanks Ranganath -Original Message- From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent: Monday, June 09, 2014 11:36 AM To: users

RE: Isis Shiro - Server restart for loading new permission

2014-06-11 Thread chittari.varma
Done. -Original Message- From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent: Wednesday, June 11, 2014 1:30 PM To: users Subject: Re: Isis Shiro - Server restart for loading new permission That's great to hear. Could you attach a further comment to the ticket on the

Action method with Domain object parameter triggers automatically.

2014-06-11 Thread chittari.varma
Hi, I have application security service which creates permission to manage particular entity(OmSite). Its action method is: @Bookmarkable @MemberOrder(sequence = 9) @Named(Create Site Permission) public OmPermission createSitePermission(final @Named(Choose a site) OmSite site)

RE: Action method with Domain object parameter triggers automatically.

2014-06-11 Thread chittari.varma
Annotating @NotContributed prevented it from invoking automatically. What other UI pages exactly? I'm guessing you have an action that returns a list of these OmSites? Or is it when OmSite is in a collection of some other entity? (ie is this a standalone or a parented collection of

RE: Action method with Domain object parameter triggers automatically.

2014-06-11 Thread chittari.varma
https://issues.apache.org/jira/browse/ISIS-801 created for this issue. -Original Message- From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent: Wednesday, June 11, 2014 6:39 PM To: users Subject: Re: Action method with Domain object parameter triggers automatically. even though

RE: JDBC Realm - Authentication failed

2014-06-06 Thread chittari.varma
This issue is resolved. Problem was I defined the realm and datasource config below the [Users] section. After I move the definition to [main] section this error is gone. But I am facing another issue that Shiro seems to be using default security tables like users, users_roles etc. It's not

RE: JDBC Realm - Authentication failed

2014-06-06 Thread chittari.varma
I defined those queries also in shiro.ini but were under [users] and [roles] section and hence Shiro was using defaults. And it's working when I moved them to under [main] section. -Original Message- From: Erik de Hair [mailto:e...@pocos.nl] Sent: Friday, June 06, 2014 4:07 PM To:

Isis Shiro - Server restart for loading new permission

2014-06-06 Thread chittari.varma
Hi, I created security ISIS service (application-specific) to create users, roles and permissions and their mappings from UI. I am facing one issue in the following scenario: 1. Using SQL script one user(admin) with role access to all services inserted into security tables 2.

RE: ISIS-Shiro isPermitted issue

2014-05-07 Thread chittari.varma
Hi Dan, I created Jira for this wherein I had attached files as I don’t have GIT client to push them over. Is it OK? Jira Id is : ISIS-775 BR Ranganath Varma -Original Message- From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent: Wednesday, May 07, 2014 12:34 AM To:

ISIS Login page modifications

2014-05-06 Thread chittari.varma
Hi, Could you please let me know how to change the Login page. Currently it has two fields user name and password. I want to add one more field to this page. How is it possible? Br Ranganath Varma The information contained in this electronic message and any attachments to this message are

ISIS-Shiro isPermitted issue

2014-05-05 Thread chittari.varma
Hi, I want to use Apache-Shiro API methods in my code for some permissions check. But permission check is not working in ISIS-Shiro environment as it is based on class-based secyrity mechanism. For ex: in shiroo.ini - I gave permission as below: site_role = BBY:0541 In the code

RE: ObjectFactoryBasic can not access a member of DomainObject

2014-05-02 Thread chittari.varma
Ok I got it. Its due to missing default constructor in domain object. From: Chittari Ranganath varma (WF04 - Wipro EcoEnergy) Sent: Friday, May 02, 2014 5:09 PM To: users@isis.apache.org Subject: ObjectFactoryBasic can not access a member of DomainObject

ISIS Service / ViewModel method calling twice

2014-04-22 Thread chittari.varma
Hi, Isis service or ViewModel method getting called twice. For ex: I have one Hidden service which has lookup method with @HomePage returning a ViewModel instance using newViewModelInstance(..) method and that renders one action method taking Blob parameter as button. It's basically upload

How to change the “APACHE ISIS” label above menu list

2014-04-18 Thread chittari.varma
Hi, In customizing the home page, I am facing 1 issue on how to change the “APACHE ISIS” label to our application label which appears above the menu items in the wicket home page(after welcome). PFA screenshot. I can change the applicationName by overriding the newIsisWicketModule() by

Creating foreign key constarints again with autoCreateSchema= true

2014-03-05 Thread chittari.varma
Hi, I have database schema is present already. And I have created domain objects mapping to the tables with JDO annotations. I have a table with two foreign keys already present, one to the other table and second to the self. And there are respective domain objects mapped to these tables.

RE: New screencast on bulk updates using the Excel domain service

2014-02-16 Thread chittari.varma
Hi Dan, That really great! We were looking for such feature. Actually due to our company network policies I can't access some part of the page especially the documentation part of screencast. http://isis.apache.org/reference/services/third-party/danhaywood-isis-domainservice-excel.html So just

RE: Bulk update of selected set of Domian objects from the list page

2014-01-17 Thread chittari.varma
Hi Dan, Thanks for the response. I have actually tried this grouping (of Sites) in different way: Create a Group with domain object OmSiteGroup by grouping the sites OmSite using @PublishedAction method and filter criteria. I have used ToDoItem's add dependencies approach. But in this approach

RE: Bulk update of selected set of Domian objects from the list page

2014-01-17 Thread chittari.varma
To elaborate more on it: In OmSiteGroup(now this domain is persistent type as well), I have @PublishedAction annotate method as below: @PublishedAction public OmSiteGroup add(final @Named(Site Name)String name, final OmSite site) { this.getSites().add(site);

RE: Dynamic JDOQL using ISIS Query API

2014-01-10 Thread chittari.varma
Hi Dan, It's working after reading the link you gave. Thanks BR Ranganath Varma -Original Message- From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent: Friday, January 10, 2014 1:39 PM To: users Subject: Re: Dynamic JDOQL using ISIS Query API On 10 January 2014 07:50,

RE: Application Identity: Issue with Compsite PK class with multiple attributes.

2014-01-09 Thread chittari.varma
Thanks Dan, I saw the OIDMarshallaer code and used the other separated character than reserved characters for ISIS. Its working fine. But thing is that we have to restrict the PK fields not to have this separated character in its values. I hope JDO in future fixes this limitation may be by

RE: ISIS and JDO: Multiple fields(FK's and PK) using same column throws not-null constraint for PK

2014-01-09 Thread chittari.varma
Thanks Dan and Oscar. Will try your suggestions. BR Ranganath Varma -Original Message- From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent: Thursday, January 09, 2014 8:41 PM To: users Subject: Re: ISIS and JDO: Multiple fields(FK's and PK) using same column throws not-null

Dynamic JDOQL using ISIS Query API

2014-01-09 Thread chittari.varma
I would like to create dynamic JDOQL query, meaning without mentioning the JDO query in the Domain object and create the dynamic JDOQL query with in ISIS domain service method. But ISIS Query API(allMatches(final QueryT query)) doesn't support as it makes mandatory to have static JDOQL query

ISIS and JDO: Multiple fields(FK's and PK) using same column throws not-null constraint for PK

2014-01-07 Thread chittari.varma
Consider this following scenario: public class OmSite implements java.io.Serializable { //OmSitePK.class is also created as per the specifications //for these two fields. No issue with that @Persistent(primaryKey = true, dependent = false) @Column(allowsNull = false, name = site_id) private

RE: ISIS and JDO: Multiple fields(FK's and PK) using same column throws not-null constraint for PK

2014-01-07 Thread chittari.varma
Hi Jeroen, Please find below the legacy table schema definition: CREATE TABLE om_site ( site_id character varying(80) NOT NULL, org_id character varying(18) NOT NULL, site_name character varying(45), site_desc character varying(60), site_type character varying(45) NOT NULL, -- Type

RE: ISIS with JPA

2014-01-07 Thread chittari.varma
Hi Oscar, Thanks for the reply. Actually I have tried with JDO/DataNucleus initially as comes with ISIS, but was facing some issues which are not present in JPA. That's why thought of switching to JPA. I don't know whether these issues are from JDO or ISIS implementation of JDO. So I have

ISIS with JPA

2014-01-06 Thread chittari.varma
Hello, 1. We will like to use ISIS with JPA/Hibernate. Does ISIS Objectstore support JPA? We don't want JDO as our team most familiar with JPA. 2. How to override the JDO/DataNucleus configuration with JPA/Hibernate in ISIS? BR Ranganath Varma The information contained in this

Isis: File upload

2014-01-03 Thread chittari.varma
In ISIS, using BLOB or CLOB type file upload feature can be enabled. But this feature actually stores the uploaded file in the database. But, I will like to process the records in a file uploaded instead of storing the entire file in Database. Is there any listener kind of feature can we use to

Application Identity: Issue with Compsite PK class with multiple attributes.

2014-01-03 Thread chittari.varma
I am using ISIS 1.3.0 with JDO 3.0.1, Data Nucleus 3.2.4 Using JDO Application Identity strategy, I have a composite PK class with two attributes(PK fields of type String). As per the JDO specifications, PK class has overridden the following methods: hascode, equals and toString. And it has