Show charts for a property

2017-07-07 Thread Chuangyu
hi, I just modify isis-wicket-wickedcharts , now it can show a object member as a chart, also it can show charts in homepage. Code url is https://github.com/Chuangyu/isis-wicket-wickedcharts. btw, how can I contribute this to isis addons ? Best Regards, James

issue 1596

2017-06-19 Thread Chuangyu
Hi, Issue 1596 is critical to release my app. So , I trace runtime code 1.13.0 vs 1.14.0 , then find public abstract class ObjectActionParameterAbstract implements ObjectActionParameter { ... public String getName(){ NamedFacet facet = (NamedFacet)this.getFacet(NamedFacet.class); // this

Re: i18n of function parameter not work

2017-03-21 Thread Chuangyu
ld you update with a link to a simple example on github that > demonstrates the issue? > > > > On Tue, 14 Mar 2017 at 08:58 Chuangyu <zhu.chuan...@gmail.com> wrote: > > > Hi, > > > > I just upgrade isis framework from 1.13.0 to 1.14.0, then find all > >

i18n of function parameter not work

2017-03-14 Thread Chuangyu
Hi, I just upgrade isis framework from 1.13.0 to 1.14.0, then find all parameters do not load i18n msgstr. But menu translation works well. Best Regards, James.

Re: isis.reflector.facet.cssClassFa.patterns not work ?

2016-02-25 Thread Chuangyu
which displays the application proprerties of > a running system [1] which might help you debug the issue. > > [1] > > https://github.com/estatio/estatio/tree/master/estatioapp/app/src/main/java/org/estatio/app/services/properties > > > > On 25 February 2016 at 02:58, Chuangy

isis.reflector.facet.cssClassFa.patterns not work ?

2016-02-24 Thread Chuangyu
Hi, If change isis.reflector.facet.cssClassFa.patterns in isis.properties like below : isis.reflector.facet.cssClassFa.patterns =\ list.*:fa-star,\ all.*:fa-star,\ . When running

Re: why a GET method would store value to database?

2016-02-18 Thread Chuangyu
https://github.com/apache/isis/blob/master/adocs/documentation/src/main/asciidoc/guides/_ugvro_hints-and-tips.adoc > > > On 18 February 2016 at 02:31, Chuangyu <zhu.chuan...@gmail.com> wrote: > > > Hi, Dan, > > > > Thank you for your work. > > > > You ar

Re: why a GET method would store value to database?

2016-02-17 Thread Chuangyu
recreate > the identifier for the object. > > If in the Swagger UI you use the "s_1234567890abcdef1234567890abcdef" as > the Id when you GET the SimpleObject instance, it all works fine. > > If, however, you miss out the "s_" prefix (easy to do), then you'll get

Re: why a GET method would store value to database?

2016-02-14 Thread Chuangyu
thanks for taking the time to look into. > Will take a look later this week,try to get to the bottom of it . > Thx, Dan > On 1 Feb 2016 12:45, "Chuangyu" <zhu.chuan...@gmail.com> wrote: > > > Hi, Dan, > > > > I replay the error with simpleapp. >

Re: why a GET method would store value to database?

2016-02-01 Thread Chuangyu
uses misleading exception message. The method call is > > #getObjectById(). > > I guess it uses something like JDOQL with template object, e.g. > > Device device = new Device(); > > > > > device.setId("4028dd814d2213d8014d2213d861[OID]tm.dom.modules.assets.Devi

why a GET method would store value to database?

2016-01-24 Thread Chuangyu
Hi, I met an error when try a GET method with Swagger UI. The url is below: http://localhost:8080/restful/objects/tm.dom.modules.assets.Device/4028dd814d2213d8014d2213d861 "4028dd814d2213d8014d2213d861" is a uuid string which length is 32. curl command as below: curl -X GET

Re: mysql error when upgrade from 1.8 to 1.10

2015-11-19 Thread Chuangyu
ut I don't > want to lose the security that database schemas provide in preventing > similar named entities to clash. > > What options do you have? Can you > > On 16 November 2015 at 14:40, Chuangyu <zhu.chuan...@gmail.com> wrote: > > > Hi Jeroen and Stephen, > > Th

Re: mysql error when upgrade from 1.8 to 1.10

2015-11-16 Thread Chuangyu
> > [1] https://gist.github.com/jcvanderwal/c30e2d8c4d11aec5b0c0 > > > > > > On 16 November 2015 at 11:10, Chuangyu <zhu.chuan...@gmail.com> wrote: > > > > > Hi, > > > > > > I create a new 1.10 simple app and copy all code from 1.8 to 1.10. >

mysql error when upgrade from 1.8 to 1.10

2015-11-16 Thread Chuangyu
Hi, I create a new 1.10 simple app and copy all code from 1.8 to 1.10. And made some change to fit new 1.10 specs. When start system , Eclipse show errors on console box. It seems each addon module occur one error. Below is one of errors: Unable to create schema

how to replace register my implementation of LocaleProviderAPI

2015-11-11 Thread Chuangyu
Hi, I create myLocaleProvider want to replace LocaleProviderWicket; But it always instance of LocaleProviderWicket injected. And I also find key 'isis.services' disappear within isis.properties v1.9.0 . What can I do ? Thanks. James,Chu

Re: how to replace register my implementation of LocaleProviderAPI

2015-11-11 Thread Chuangyu
Hi Dan, It can work. Thanks a lot, James,Chu. 2015-11-11 19:29 GMT+08:00 Dan Haywood <d...@haywood-associates.co.uk>: > On 11 November 2015 at 10:55, Chuangyu <zhu.chuan...@gmail.com> wrote: > > > Hi, > > > > I create myLocaleProvider

Re: How to avoid a method to be called multi times

2015-07-30 Thread Chuangyu
a fix for ISIS-1179. Thanks Dan On 13 July 2015 at 02:20, Chuangyu zhu.chuan...@gmail.com wrote: Hi, I create a defaultXXX method,in this method it fetchs a sequence number like below public Integer default0NewMaintainRequest(){ SequenceGenerator seq=seqGens.findGenerator

How to avoid a method to be called multi times

2015-07-12 Thread Chuangyu
Hi, I create a defaultXXX method,in this method it fetchs a sequence number like below public Integer default0NewMaintainRequest(){ SequenceGenerator seq=seqGens.findGenerator(); Integer n=seq.getSequnceNumber(); n++; seq.setSequenceNumber(n); return n; } But it was called 2

Re: how to translate group title of UI ?

2015-06-16 Thread Chuangyu
(name=My group, sequence=...) or the equivalent .layout.json. If that doesn't work, please raise a ticket Thx Dan On 16 June 2015 at 11:09, Chuangyu zhu.chuan...@gmail.com wrote: Hi, How to translate group title like General ? Thanks James

how to translate group title of UI ?

2015-06-16 Thread Chuangyu
Hi, How to translate group title like General ? Thanks James

Re: query aggregate values

2015-06-01 Thread Chuangyu
Erik Thank you ! I will try this way. Best Regards, James 2015-05-18 22:23 GMT+08:00 Erik de Hair e.deh...@pocos.nl: On 05/18/2015 02:03 PM, Chuangyu wrote: Dan, Ok, I will try type-safe queries. You could do: TypesafeQueryDomainClass tq = ((JDOPersistenceManager

Re: query aggregate values

2015-05-18 Thread Chuangyu
/todoapp/dom/module/todoitem/ToDoItemRepositoryImplUsingTypesafeQueries.java#L37 On 15 May 2015 at 05:28, Chuangyu zhu.chuan...@gmail.com wrote: Oh ,I find the IsisJdoSupportService. 2015-05-15 12:17 GMT+08:00 Chuangyu zhu.chuan...@gmail.com: Hi, I tried to find query aggregate

Re: How about i18n of WicketSignInPage?

2015-05-06 Thread Chuangyu
as resource bundles HTH Dan On 6 May 2015 at 09:31, Chuangyu zhu.chuan...@gmail.com wrote: Hi Where to get schema of YourApplication_locale.properties.xml ? 2015-05-05 18:36 GMT+08:00 Martin Grigorov mgrigo...@apache.org: Hi, You can copy the entries

Re: Does Apache ISIS support hierarchical view?

2015-04-15 Thread Chuangyu
://www.wicket-library.com/wicket-examples-6.0.x/tree/wicket/bookmarkable/org.apache.wicket.examples.tree.TableTreePage On 16 April 2015 at 04:01, Chuangyu zhu.chuan...@gmail.com wrote: Hi Does Apache ISIS support hierarchical view like : department A |--department B | |--department C

Does Apache ISIS support hierarchical view?

2015-04-15 Thread Chuangyu
Hi Does Apache ISIS support hierarchical view like : department A |--department B | |--department C |--... |--department d Thanks! James Chu