astamuse / asta4d Goto Github PK
View Code? Open in Web Editor NEWView first web application framework
View first web application framework
The http method of current request should be able to be injected to request handler and snippet.
We can pass a RowConvertor to renderer to render a list, the method signature of callback convert method require two parameter: idx and obj, which is good enough.
But if we write the code of passed RowConvertor by java 8 lambda express, developers are often confused with the order of parameter, currently ,we have to make sure we declare the parameters as following:
(idx, obj)->{...}
So it would be a useful enhancement if the following source can be acceptable too:
(obj, idx)->{...}
when there is error in a handler, the framework will output the details of current handler to log, with the values of invoking parameters, which may cause security issue that insensitive information will be recorded to log file unintentionally.
But from the debug perspective, the invoking parameters value is obviously important to developer, so I think that these information output should be optional and the default should be false.
We monitored performance recession (many memory usage) when the resource files accessing is bursting. we suspect the reason is the intialization of cache in memory is not implemented in a ideal way.
We are still digging the real reason, and a reproduce test case is required.
The category based resource loading mechanism caches the information of which file should be load for certain category pattern, but this cache should respect the configuration of cacheEnable of Asta4DConfigration.
When I Build with IntelliJ IDEA in java10, There are 132 deprecated warnings.
described below:
Information:2018/07/09 16:45 - Compilation completed successfully with 132 warnings in 13 s 659 ms
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-core/src/main/java/com/astamuse/asta4d/data/DefaultContextDataSetFactory.java
Warning:Warning:line (25)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-core/src/main/java/com/astamuse/asta4d/util/i18n/pattern/CharsetResourceBundleFactory.java
Warning:Warning:line (76)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-core/src/main/java/com/astamuse/asta4d/util/DelegatedContextMap.java
Warning:Warning:line (37)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-core/src/main/java/com/astamuse/asta4d/data/InjectUtil.java
Warning:Warning:line (89)java: java.lang.ClassのnewInstance()は推奨されません
Warning:Warning:line (129)java: java.lang.ClassのnewInstance()は推奨されません
Warning:Warning:line (367)java: java.lang.ClassのnewInstance()は推奨されません
Warning:Warning:line (393)java: java.lang.ClassのnewInstance()は推奨されません
Warning:Warning:line (515)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-core/src/main/java/com/astamuse/asta4d/snippet/resolve/DefaultSnippetResolver.java
Warning:Warning:line (80)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-core/src/main/java/com/astamuse/asta4d/util/annotation/ConvertableAnnotationRetriever.java
Warning:Warning:line (43)java: java.lang.ClassのnewInstance()は推奨されません
Warning:Warning:line (87)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-core/src/test/java/com/astamuse/asta4d/test/unit/data/DateValueConvertorTest.java
Warning:Warning:line (51)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
Warning:Warning:line (53)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
Warning:Warning:line (54)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
Warning:Warning:line (55)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
Warning:Warning:line (57)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
Warning:Warning:line (58)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
Warning:Warning:line (59)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
Warning:Warning:line (61)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-core/src/test/java/com/astamuse/asta4d/test/unit/data/DefaultDataTypeTransformerTest.java
Warning:Warning:line (182)java: java.util.DateのDate(int,int,int)は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-core/src/test/java/com/astamuse/asta4d/test/render/ExternalizeMessageTest.java
Warning:Warning:line (121)java: com.astamuse.asta4d.util.i18n.I18nMessageHelperTypeAssistantのreCreateInternalInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/main/java/com/astamuse/asta4d/web/util/bean/DefaultDeclareInstanceResolver.java
Warning:Warning:line (32)java: java.lang.ClassのnewInstance()は推奨されません
Warning:Warning:line (35)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/main/java/com/astamuse/asta4d/web/form/flow/base/BasicFormFlowHandlerTrait.java
Warning:Warning:line (401)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/main/java/com/astamuse/asta4d/web/form/flow/base/BasicFormFlowSnippetTrait.java
Warning:Warning:line (302)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/main/java/com/astamuse/asta4d/web/form/flow/base/BasicFormFlowTraitHelper.java
Warning:Warning:line (95)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/main/java/com/astamuse/asta4d/web/servlet/Asta4dServlet.java
Warning:Warning:line (78)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/main/java/com/astamuse/asta4d/web/initialization/SimplePropertyFileInitializer.java
Warning:Warning:line (63)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/main/java/com/astamuse/asta4d/web/util/timeout/DefaultSessionAwareExpirableDataManager.java
Warning:Warning:line (229)java: java.lang.Objectのfinalize()は推奨されません
Warning:Warning:line (231)java: java.lang.Objectのfinalize()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/main/java/com/astamuse/asta4d/web/sitecategory/SiteCategoryAwaredTemplateResolver.java
Warning:Warning:line (108)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/main/java/com/astamuse/asta4d/web/dispatch/mapping/handy/base/HandlerConfigurableRule.java
Information:Information:java: /Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/main/java/com/astamuse/asta4d/web/dispatch/mapping/handy/base/HandlerConfigurableRule.javaの操作は、未チェックまたは安全ではありません。
Information:Information:java: 詳細は、-Xlint:uncheckedオプションを指定して再コンパイルしてください。
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/form/field/SelectMultipleTest.java
Warning:Warning:line (86)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (89)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (92)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (95)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (98)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (101)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (104)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (107)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (110)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (114)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (124)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (127)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (130)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (133)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (136)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (139)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (142)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (145)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (148)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (152)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (156)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (160)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (170)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (173)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (176)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (179)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (182)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (185)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (188)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (191)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (194)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (198)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (202)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (206)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/form/field/TimeTest.java
Warning:Warning:line (37)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
Warning:Warning:line (51)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/form/field/SelectSingleTest.java
Warning:Warning:line (86)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (89)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (92)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (95)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (98)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (101)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (104)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (107)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (110)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (114)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (118)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (122)java: com.astamuse.asta4d.web.form.field.impl.SelectPrepareRendererのSelectPrepareRenderer(java.lang.String)は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/form/field/FieldRenderBuilder.java
Warning:Warning:line (70)java: com.astamuse.asta4d.web.form.field.SimpleFormFieldPrepareRendererのgetGivenFieldName()は推奨されません
Warning:Warning:line (76)java: java.lang.ClassのnewInstance()は推奨されません
Warning:Warning:line (88)java: com.astamuse.asta4d.web.form.field.SimpleFormFieldPrepareRendererのgetGivenFieldName()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/unit/WebSpecialScopeConvertorTest.java
Warning:Warning:line (109)java: java.lang.ClassのnewInstance()は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/form/field/DateTest.java
Warning:Warning:line (37)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
Warning:Warning:line (52)java: java.util.DateのDate(int,int,int,int,int,int)は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/form/field/RadioTest.java
Warning:Warning:line (94)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (103)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (106)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (109)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (112)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (115)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (119)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (123)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (127)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (131)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (134)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (137)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (140)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (143)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (146)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (149)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (153)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (157)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (161)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (179)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (182)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (189)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (192)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (209)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (212)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (215)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (218)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (229)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (232)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (249)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (258)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (267)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (276)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (285)java: com.astamuse.asta4d.web.form.field.impl.RadioPrepareRendererのRadioPrepareRenderer(java.lang.String)は推奨されません
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/dispatch/RequestDispatcherTest.java
Warning:Warning:line (182)java: com.astamuse.asta4d.web.dispatch.response.provider.Asta4DPageProviderのAttrBodyOnlyは推奨されません
Information:Information:java: /Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/dispatch/RequestDispatcherTest.javaの操作は、未チェックまたは安全ではありません。
Information:Information:java: 詳細は、-Xlint:uncheckedオプションを指定して再コンパイルしてください。
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/form/field/CheckboxTest.java
Warning:Warning:line (145)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (148)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (152)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (155)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (159)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (163)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (167)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (171)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (175)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (178)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Warning:Warning:line (181)java: com.astamuse.asta4d.web.form.field.impl.CheckboxPrepareRendererのCheckboxPrepareRenderer(java.lang.String)は推奨されません
Information:Information:java: /Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-web/src/test/java/com/astamuse/asta4d/web/test/form/field/CheckboxTest.javaに推奨されないAPIの追加使用またはオーバーライドがあります。
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-spring/src/main/java/com/astamuse/asta4d/misc/spring/mvc/controller/GenericController.java
Warning:Warning:line (54)java: java.lang.ClassのnewInstance()は推奨されません
Information:Information:java: /Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-spring/src/main/java/com/astamuse/asta4d/misc/spring/mvc/controller/GenericController.javaの操作は、未チェックまたは安全ではありません。
Information:Information:java: 詳細は、-Xlint:uncheckedオプションを指定して再コンパイルしてください。
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-sample/src/main/java/com/astamuse/asta4d/sample/customrule/CustomRuleGroupConfigurable.java
Information:Information:java: /Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-sample/src/main/java/com/astamuse/asta4d/sample/customrule/CustomRuleGroupConfigurable.javaの操作は、未チェックまたは安全ではありません。
Information:Information:java: 詳細は、-Xlint:uncheckedオプションを指定して再コンパイルしてください。
/Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-archetype-prototype/src/main/java/com/astamuse/asta4d/sample/customrule/CustomRuleGroupConfigurable.java
Information:Information:java: /Users/yamaguchinaoto/workspace/GitLab/asta4d/asta4d-archetype-prototype/src/main/java/com/astamuse/asta4d/sample/customrule/CustomRuleGroupConfigurable.javaの操作は、未チェックまたは安全ではありません。
Information:Information:java: 詳細は、-Xlint:uncheckedオプションを指定して再コンパイルしてください。```
Currently we can perform configuration on array type, but missing support of list type.
The current implementation does not respect the original order of configuration items, which causes some unexpected action.
e.g. assume we have following configuration:
i18nMessageHelper.messagePatternRetriever=com.astamuse.sample.CustomizedRetriever
i18nMessageHelper.messagePatternRetriever.resourceNames=messages
Since we cannot promise the initializing order of items, the CustomizedRetriever would be initialized after the resourceNames item to be initialized, which cause we miss the configuration of resourceNames on the CustomizedRetriever or simply occur errors.
we need a way to allow developer to extend current url rule api more easily.
The current implementation is a sort of fixed and statically typed classes, but we need something like js/groovy dynamic type which allows developer to add new methods to the existing classes.
Currently there are two separated mechanism to load declared handler/snippet class, which causes confusion.
We should merge them to one single mechanism.
we need a mechanism to initialize ContextDataSet annotated class just after the injection finishes.
First comment:
Hi, xzer:
I am trying to set a CMS web site with ASTA4D framework. While, I encountered one issue in the sample program. When go into the Form List screen, I can not get the value of [type] parameter from the url "/form?type=cascade". Could you help explain it? Or It is appreciated that i can receive you email reply.
Thanks
Reamer
reply as following information:
Hi xzer: Thanks for your reply very much! I set up the app as below:
- download the source codes(version 1.2) into local PC which can not connect to the internet.
- download the related app libs from internet based on the list in POM.
- create a web app in eclipse and copy the source codes(sample, web, core, etc..) into the project.
- Update the Source code folder setting.
- Run the app with Tomcat 7 and JDK 1.7 My app's uri as below: http://localhost:8080/dms/. "dms" is my project name. To cater for it, i updated the link in sample template(But i did not change anything in Java codes) so that it can support multiple kinds of path. I did not change anything about variable for receiving injection. Do I need it? In fact, i do not know where it is. ^_^
Thanks very much!
RegardsReamer
It is original from #23
some wrong process may drain all the usable thread by passing a huge list, which cause other request may be blocked due to waiting usable thread on parallel converting.
When we rendering a Instant to form field, we need a certain timezone to format the Instant to a string, which requests the client's timezone information.
Of course we can try to decide it at the place where we convert the Instant to a string, but a better solution is to allow developers to store the zone into context at the beginning of current request context.
Developers may be confused when there are wrong value being injected. It would be helpful if the injection releated info can be output to log.
for field injection:
@ContextData(debug=true)
@RequestHandler(debug=true)
@snippet(debug=true)
When we are using site category awared template resolver, the cached template will be returned even for different category.
It is because the default implementation of AbstractTemplateResolver cached the template in a global static map.
To fix it, we should make the cache map to an instance field rather than a static filed.
The inner mechanism use "status", "type", etc. to manage the execution status of current snippet, which causes conflict when developers tried to inject a variable with the same name by dom attribute.
we should add some non-conflict namespace-like prefix to the status management attributes.
The current implementation is dirty.
Currently, we have to declare a parallel snippet in template file, which is strange that the template has no idea about whether the parallel is necessary. Moving this declaration to snippet side to separate the logic more clearly.
Currently, we can initialize configuration in Java code or by property file, but js/groovy script could afford a more balanced power for configuration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.