[magnolia-dev] Re: Help in creating new app in Magnolia

2015-06-12 Thread Christoph Meier (via Magnolia Forums)
Hello I'd like to recommend you reading some of the following topics: — https://documentation.magnolia-cms.com/display/DOCS/Parts+of+a+content+app — https://documentation.magnolia-cms.com/display/DOCS/My+first+content+app ... there especially Content views — prbly.

[magnolia-dev] Re: Help in creating new app in Magnolia

2015-06-10 Thread Nguyen Long (via Magnolia Forums)
Thank you for your answer Now I can create my own app ( very basic with some buttons and label) I am studying how to display a list of something get from JCR My problem here is I do not know how to config where to store data in JCR Could you please help me ? With me it is quite difficult and I

[magnolia-dev] Re: Help in creating new app in Magnolia

2015-06-09 Thread Christoph Meier (via Magnolia Forums)
Hi I'm glad to hear that your subapp works now :-) Concerning the tutorials you have used ... to be honest, i don't know them very well. When it comes to AppController and location change management ... ... have a look at: —

[magnolia-dev] Re: Help in creating new app in Magnolia

2015-06-08 Thread Nguyen Long (via Magnolia Forums)
Thank for your help. now I can open and display my app and sub app Now could I ask you another question ? About the link between Main and Greeter in the tutorial I've not seen any relationship between them ( I mean the configuration to make them related to each other) In the tutorial, they said

[magnolia-dev] Re: Help in creating new app in Magnolia

2015-06-08 Thread Christoph Meier (via Magnolia Forums)
Hi Please have a also a look at https://documentation.magnolia-cms.com/display/DOCS/Subapp+descriptor It explains the details about how to configure a subapp. If this won't help ... ask again :-) ... and tell us on what specific point your subapp fails probably providing an error message or a

[magnolia-dev] Re: Help in creating new app in Magnolia

2015-06-08 Thread Nguyen Long (via Magnolia Forums)
Hello First, Thank for your help I've already read the document you gave above Follow the instruction in hello word app I created Helloworld class for app ( it works ok for app not subapp ) 2 packages for main and greeter as guideline -- In magnolia cms configuration,I configured subapp without

[magnolia-dev] Re: Help in creating new app in Magnolia

2015-06-08 Thread Christoph Meier (via Magnolia Forums)
Hi (again) :-) The java.lang.ClassNotFoundException indicates your missing a dependency on your project. info.magnolia.dam.app.ui.field.definition.DamUploadFieldDefinition belongs to DAM ... ... so ... make sure your project / bundle includes the artifact for magnolia dam-app dependency

[magnolia-dev] Re: Help in creating new app in Magnolia

2015-06-08 Thread Nguyen Long (via Magnolia Forums)
Hi Mine is v5.3.6 and the tutorial I am following is https://documentation.magnolia-cms.com/display/DOCS/Programming+an+app After adding DAM as your guideline, this error occurs 2015-06-08 16:28:24,875 ERROR agnolia.ui.framework.app.AppInstanceControllerImpl: Sub-app main failed to start:

[magnolia-dev] Re: Help in creating new app in Magnolia

2015-06-08 Thread Christoph Meier (via Magnolia Forums)
MgnlInstantiationException can have several reasons ... hard to just guess. Make sure you have an IoC configuration for the class HelloWorldMainSubApp somewhere (see https://goo.gl/ln4CJY). Also ensure that all (probably injected) params have public constructors ... and if these constructors