[magnolia-dev] Maven Problem building 5.2.4 --> missing jboss dependencies

2014-04-24 Thread Unger, Richard
Hi Magnolians, Just updated my modules to use the new 5.2.4 release, and have the following error: [ERROR] Failed to execute goal on project lfrz_magnolia_webapp_lfrz_author: Could not resolve dependencies for project at.lfrz:lfrz_magnolia_webapp_lfrz_author:war:1.1.0-SNAPSHOT: Failed to coll

[magnolia-dev] Please use protected, not private

2014-05-06 Thread Unger, Richard
Hi Magnolia Developers, This is an appeal to use "protected", and not "private". Please specially make sure to use protected for methods. Consider using protected for your fields too (esp. if there is no getter/setter!). Please! I am finding magnolia 5 harder to extend than magnolia 4.4. This i

AW: [magnolia-dev] Re: Please use protected, not private

2014-05-07 Thread Unger, Richard
Hi Jan, I understand, and I agree with you: I will post improvement tickets for specific cases. I already have done so in a couple of cases. Regards from Vienna, Richard > -Ursprüngliche Nachricht- > Von: dev-list-ow...@magnolia-cms.com [mailto:dev-list-owner@magnolia- > cms.com] Im Au

AW: [magnolia-dev] How to get asset link by rest api.

2014-05-08 Thread Unger, Richard
Hi Ky, What value are you using for the asset-identifier? Regards from Vienna, Richard > -Ursprüngliche Nachricht- > Von: dev-list-ow...@magnolia-cms.com [mailto:dev-list-owner@magnolia- > cms.com] Im Auftrag von Ky Thanh Nguyen (via Magnolia Forums) > Gesendet: Donnerstag, 08. Mai 2014

AW: [magnolia-dev] Re: How does magnolia template in edit-mode render?

2014-05-15 Thread Unger, Richard
Hi Ky, This is not so so simple. There are two main parts to the solution: 1. The CMS Tags Tags like [@cms.area] are implemented in the "templating" module. See for example: info.magnolia.templating.elements.AreaElement and info.magnolia.templating.freemarker.AreaDirective It works like this:

AW: [magnolia-dev] update /magnolia4.3.1/magnolia-empty-project for magnolia 5

2014-05-20 Thread Unger, Richard
Hi Li, Magnolia has switched from SVN to GIT. Why are you trying to use the magnolia-empty-webapp from magnolia 4.3.1 with magnolia 5? Why not use the one for magnolia 5? http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/magnolia-empty-webapp/5.2.2/magnolia-bundle-parent/magnoli

AW: [magnolia-dev] Re: update /magnolia4.3.1/magnolia-empty-project for magnolia 5

2014-05-20 Thread Unger, Richard
Hi Li, You *should* add magnolia-empty-webapp as a maven dependency. During development, you shouldn't change magnolia-empty-webapp itself, instead create your own webapp project, and add magnolia-empty-webapp as a "WAR overlay". Regards from Vienna, Richard > -Ursprüngliche Nachricht

AW: [magnolia-dev] Demo Project activation status is "Published"

2014-07-10 Thread Unger, Richard
Hello, Bootstrapped content will have the same activation state as the node has when it was exported to create the bootstrap files. So to make your content show as active after bootstrapping, make sure you publish it before exporting it. Regards from Vienna, Richard > -Ursprüngliche Nach

AW: [magnolia-dev] magnolia stk vs jahia studio

2015-03-26 Thread Unger, Richard
Hi Alvin, I think creating/editing templates is a difficult job any way you cut it. And the debate of WYSIWYG vs. Editor-Oriented workflows has been ongoing since 1990, and without a clear cut answer. Basically, I think WYSIWYG is better in most situations where the document's visual aspects

AW: [magnolia-dev] Visually differentiate admin application of public and author instance

2015-04-21 Thread Unger, Richard
Good idea! > -Ursprüngliche Nachricht- > Von: dev-list-ow...@magnolia-cms.com [mailto:dev-list-owner@magnolia- > cms.com] Im Auftrag von David Janca (via Magnolia Forums) > Gesendet: Dienstag, 21. April 2015 15:38 > An: Magnolia Dev List > Betreff: [magnolia-dev] Visually differentiate adm

AW: [magnolia-dev] Re: Excluding child nodes when exporting JCR nodes

2015-09-17 Thread Unger, Richard
Hi, Yes, activation is based on the concept of a Syndicator, which excludes/includes child-nodes based on their node-types. Regards from Vienna, Richard > -Ursprüngliche Nachricht- > Von: dev-list-ow...@magnolia-cms.com [mailto:dev-list-owner@magnolia- > cms.com] Im Auftrag von Nickola

AW: [magnolia-dev] Relational field

2015-11-06 Thread Unger, Richard
Hi, There used to be a LinkField and UUIDLinkField not sure what the state of those are in Magnolia 5. With the these Fields you could select a JCR node, and it would store a "weak" reference to that node in a string property, containing either the Path (Link) or the UUID (UUIDLink). There was

AW: [magnolia-dev] Relational field

2015-11-06 Thread Unger, Richard
Here's a Wiki Page on this topic: https://documentation.magnolia-cms.com/display/DOCS/Link+field However, Jan's suggestion of using the categories is potentially a more powerful way to associate content. Regards from Vienna, Richard > -Ursprüngliche Nachricht- > Von: dev-list-ow...@

AW: [magnolia-dev] Re: Log4J issues

2015-11-16 Thread Unger, Richard
Hi, AFAIK Magnolia is using slf4j via log4j. The warning you printed means slf4j is finding 2 backend implementations: logback and log4j. The fact you are getting thousands of DEBUG messages probably means it is picking the wrong backend. However, I would have thought that logback should hav

AW: [magnolia-dev] Clustering : Shared file system

2016-05-17 Thread Unger, Richard
Hi Ged, In JCR, large data items (over a configurable limit, typically 1KB) are stored in the "Datastore". The Datastore can be configured to live either in the DB (DBDatastore) or on the Filesystem (FSDataStore). Personally I have very bad experiences storing large media items (lets say >20MB

AW: [magnolia-dev] Remove project-public from the url

2016-05-17 Thread Unger, Richard
Assign a domain to your site in the site definition. The access the site via the domain. The site-name can then be left from the URL. Regards from Vienna, Richard > -Ursprüngliche Nachricht- > Von: dev-list-ow...@magnolia-cms.com [mailto:dev-list-owner@magnolia- > cms.com] Im Auftrag v

AW: [magnolia-dev] Problem with imaging module on clustered environment

2016-08-01 Thread Unger, Richard
Hi Gediminas, The imaging workspace is a pure cache for the generated image-variations. For this reason I would not cluster the imaging workspace. You will have more reliable and faster operation by having each public node have its own imaging workspace. Note also that there are other workspac

AW: [magnolia-dev] Re: Problem with imaging module on clustered environment

2016-08-17 Thread Unger, Richard
Hi, Sorry for the delayed response, here's my take: - yes, the workspaces you mention should be local, no need to cluster them - the mgnlVersion workspace may be needed on each repository where you use versioning - each repository needs different storage backends, it’s a bit complicated. But ba

AW: [magnolia-dev] Re: Autodeployment

2016-08-29 Thread Unger, Richard
Hi Daniel, This is a standard problem, and Magnolia provides ways to develop that get around this: Basically, if you are developing in Java, then the JVM *needs* to reload your classes when you change them. There are three levels of this: 1) restart the whole java process (restart tomcat). This

AW: [magnolia-dev] Re: Problem with imaging module on clustered environment

2016-08-29 Thread Unger, Richard
Hi Ged, The questions you're asking are in the direction of operational management of your mangolia setup. They are good questions, and I don't know if there is a perfect answer - it depends on your operations team, server infrastructure, etc... For the Jackrabbit files, I think a good approac

AW: [magnolia-dev] Magnolia imaging crop focus points

2016-09-15 Thread Unger, Richard
Hi, I think you found it. The question is whether the focus point is a property of the image variation, of the image, or of the usage of the image. Case 1 is simple - just subclass or write your own version of the CropResize class, and configure a variation with image operation chain, then you

Re: [magnolia-dev] Content scheduling

2013-04-15 Thread Unger, Richard
Hi Arik, While you can use the workflow module to schedule content to go online and offline automatically, my experience is that editors find this confusing. I have found it simpler to implement this kind of behavior as a part of the normal editing process. For example, you could add "fromDate"

AW: [magnolia-dev] Magnolia 5 and Modeshape 3

2013-06-11 Thread Unger, Richard
Hi Eril, Joseph Chocolazec at Magnolia has integrated Modeshape before, and might have more information on this. I think it might be on the longer-term roadmap for magnolia. In the meantime, there is an existing Modeshape-2 integration that should be available via the Wiki or Git-Servers, which

[magnolia-dev] Magnolia and H2 DB

2013-07-05 Thread Unger, Richard
Hi Everyone, I wanted to start a discussion about the default database shipped with magnolia: What do you think about switching from Derby to H2? Both are pure Java embedded Databases with similar features, and both are supported by Jackrabbit with dedicated bundle-persistance-manager implemen

AW: [magnolia-dev] Nested Components: Dialog?

2013-07-16 Thread Unger, Richard
Hi Lennart, The parent-component's dialog should not edit *both* child components. The parent-component's dialog should edit content specific to the parent component. For example, often the parent component might contain a headline or an introduction paragraph which appears above the nested com

AW: [magnolia-dev] Import/Export Content from xml & HTML files

2013-11-07 Thread Unger, Richard
Hi Sai, I would recommend you use the export to XML function in Magnolia to export some content. You can then examine the resulting XML files: they are in the format that you need to use to be able to import XML into magnolia. Then you can write a transformation to turn your XMLs into the Magno

AW: [magnolia-dev] HttpSession in FTL

2013-11-19 Thread Unger, Richard
Hi, Don't use the HttpSession, use Magnolia's context. If you need the session (but I wouldn't use it!) you can get it via the context: ctx.webcontext.request.session Regards from Vienna, Richard > -Ursprüngliche Nachricht- > Von: dev-list-ow...@magnolia-cms.com [mailto:dev-list-owner

[magnolia-dev] Release 5.2.1 has many maven dependency problems...

2014-01-09 Thread Unger, Richard
Hi Magnolians, magnolia-enterprise-webapp 5.2.1 pulls in magnolia-module-legacy-admininterface 5.0.2 via magnolia-bundled-webapp, magnolia-empty-webapp and magnolia-module-cache that definitely seems to be an error, it should be version 5.2.1. This error requires us to add the dependency e

AW: [magnolia-dev] Release 5.2.1 has many maven dependency problems...

2014-01-10 Thread Unger, Richard
Hi Jan, Thanks for your answer. Admin-Legacy still made it into 5.2.1 ;-) - it's in the release notes. Clearly there is something wrong with our maven setup. It looks like the snippet you sent, but there must be some critical difference. I'll send you the pom files directly, since they're compa

AW: [magnolia-dev] Storage of CSS, JS, Images

2014-02-28 Thread Unger, Richard
Hi Jeevan, Yes, you can store your images, css and js in magnolia's resource workspace, and reference them from different projects. You can also define themes in the STK which combine these resources, and then reuse your themes in multiple projects. Regards from Vienna, Richard > -Ursprün

AW: [magnolia-dev] Building Magnolia CMS

2014-03-10 Thread Unger, Richard
IIRC the test code in magnolia uses clover for which you need a commercial license. I'd build with -Dskip.tests=true to avoid those problems (after all, you don't really need the tests). Regards from Vienna, Richard Von: dev-list-ow...@magnolia-cms.com [mailto:dev-list-ow...@magnolia-cms.com]

AW: [magnolia-dev] Drag & Drop - Product Team Protocol (2011.09.19)

2011-09-19 Thread Unger, Richard
Hello Magnolia Developers, I wanted to mention a few thoughts in relation to the point FLuiD / Drag n' Drop Support: We've implemented Drag n' Drop for paragraph moves in the custom templating-components module we created for our customer. We implemented it using jquery-ui "draggable" & "dropp

AW: [magnolia-dev] STK 2.0 - introduce opengraph meta tags ?

2011-11-03 Thread Unger, Richard
Hi Matthew, About the arbitrary parameters: we needed this functionality, it was actually very easy to implement: 1. Create a subclass of info.magnolia.module.templatingkit.sites.Site 2. Add your parameters, or simply add a HashMap with appropriate getters and setters to your s

AW: [magnolia-dev] Cross-Site Request Forgery

2011-12-12 Thread Unger, Richard
Hello Manuell, This kind of question has been a topic for us as well. It seems to me that the first line of defense is the authentication. On the Admin Interface communication may just be via POST requests, but the Admin Interface is protected using (configurable) authentication. So a CSRF atta

AW: [magnolia-dev] Fwd: [magnolia-user] CKEditor instead of FCKEditor

2012-01-19 Thread Unger, Richard
Hi Will, We're using ckEditor. AFAIK there are no legal reasons not to upgrade. Technically, it is not too difficult. The new ckEditor has some new features, fewer bugs, and a nicer design. I especially like the fact that you can expand the text-box to be any size you want. It also has a nice

AW: [magnolia-dev] Re: Magnolia 4.5 sneak preview !

2012-02-17 Thread Unger, Richard
Hi Boris! Personally, I like the icons much better. Saves space, doesn't require i18n, looks better. Regards from Vienna, Richard -Ursprüngliche Nachricht- Von: dev-list-ow...@magnolia-cms.com [mailto:dev-list-ow...@magnolia-cms.com] Im Auftrag von Magnolia Forums (on behalf of Boris

[magnolia-dev] XAReceiveFilter

2012-03-02 Thread Unger, Richard
Hi Magnolia Developers, A followup to my user-list mail about activation problems. I've been looking over the code for XAReceiveFilter, in an effort to understand how the problem might have started. We're on exchange-transactional-1.2.1 It seems there are definitely bugs that were fixed in 1.2.

[magnolia-dev] Workflow Question

2012-03-16 Thread Unger, Richard
Hello Magnolians, Perhaps I'm blind, but I can't figure out how to do the following: I need to (programmatically) get a list of the currently active Workflow-Instances for a given content. In particular, I need to retrieve the Workflow Instances that are waiting on the timed activation or dea

AW: [magnolia-dev] Re: Workflow Question

2012-03-20 Thread Unger, Richard
Hello Natascha, Thanks! That blog-entry did indeed help me solve the problem. However, I have to mention at this point that I find the solution extremely ugly and "hacky". Is the way to get at this information really only by digging into the (internal !) data-store of openWFE and manually parsi

[magnolia-dev] AW: How to connect to Magnolia Repository using JAVA

2012-03-21 Thread Unger, Richard
Hello Saqib, Do you mean from an externally running Java Process? Or from a class that is running within the Magnolia Webapp? For external access, you have 2 options: 1. With Magnolia 4.5 and beyond, you can try the new CMIS interfaces for standardized access to the content repository. 2. Befo

AW: [magnolia-dev] Am I stupid or is it Magnolia that is way too hard?

2012-03-29 Thread Unger, Richard
Hi Lamis, Ouch --> 2 weeks is not enough! Magnolia is a "big" and flexible system, with a correspondingly large amount of concepts to learn. If you're new to java, eclipse, maven, tomcat and j2ee development as well, you are in for a hard ride. My advice would be: - if possible, get an experie

AW: [magnolia-dev] Tools (was: Am I stupid...)

2012-04-10 Thread Unger, Richard
Hi Greg, I agree with Will on this. Quercus looks quite cool. I think Quercus could play a role in Magnolia as an alternate “templating language” – Magnolia could support JSP, Freemarker and PHP in addition. This might make the integration of some existing designs, webforms and simple applicat

[magnolia-dev] AW: [magnolia-user] Page editor: main bar always on top. Cast your vote!

2012-05-08 Thread Unger, Richard
Hi Magnolians, Ok guys, this is EXACTLY the type of thing that should be configurable. For some website designs a "fixed" (ie always visible) page-bar will work better, for other designs a "top" (ie at top of page, not visible when scrolled down) page-bar will work better. It just depends.

AW: [magnolia-dev] External links in menu. Again.

2012-05-09 Thread Unger, Richard
Hi Lauri, We have discussed this Issue at length when designing our templates. We don't use STK, so we have complete freedom to build our templates the way we want. We advised our customer to consider the following: As a general useability rule, it is a bad Idea to mix different link-types in

[magnolia-dev] filters-2.0.235.jar - is it necessary?

2012-05-21 Thread Unger, Richard
Hello Magnolia Developers, Magnolia 4.4.6 EE Bundle contains the JAR "filters-2.0.235.jar". This contains image and math classes from com.jhlabs. However, a quick search through the magnolia code shows that the import "jhlabs" is used only in the imaging module test-classes. My Question: -

AW: [magnolia-dev] filters-2.0.235.jar - is it necessary?

2012-05-21 Thread Unger, Richard
't use any custom image ops and don't use any modules that might define such ops (which should declare dependency in their pom), you are free to remove it. HTH, Jan On May 21, 2012, at 2:48 PM, Unger, Richard wrote: Hello Magnolia Developers, Magnolia 4.4.6 EE Bundle contains the JAR

[magnolia-dev] Discussion: magnolia lastAction and Publication-Date

2012-05-23 Thread Unger, Richard
Hi everyone, I recently filed a bug: http://jira.magnolia-cms.com/browse/MAGNOLIA-4415 which was closed as "Not an Issue". However, Jan encouraged me to post this issue to the user list for discussion, which I am now doing. The error I posted was this: When activating, magnolia activates the con

AW: [magnolia-dev] DefaultCacheKey and multi value URL parameters

2012-06-19 Thread Unger, Richard
Hi Gian, I saw your post with interest, but didn't respond at the time. If it is reproducible, I think it is worth filing a bug in Magnolia's JIRA, as it is definitely an issue. I think most users won't be affected by this, as the standard configuration disables the cache if any parameters are

AW: [magnolia-dev] Re: DefaultCacheKey and multi value URL parameters

2012-06-21 Thread Unger, Richard
Hi Gianluca, Yeah, extend "info.magnolia.module.cache.cachepolicy.Default" and override the "retrieveCacheKey(AggregationState)" method. Return a new class that extends "info.magnolia.module.cache.DefaultCacheKey". In your new CacheKey class, you'll need to take the multi-value parameters into

AW: [magnolia-dev] Basic question about current node

2012-06-21 Thread Unger, Richard
Hi Lamis, I don't really understand your question. Where are you trying to use the java code? Are you writing a model-class? In the model-class you can access the current content using "getContent()". Regards from Vienna, Richard -Ursprüngliche Nachricht- Von: dev-list-ow...@magnol

AW: [magnolia-dev] Re: Java-based link checker implementation

2012-07-30 Thread Unger, Richard
Hello Gavin, hello Jan, Since we were mentioned, a quick note on this from our point of view: Our customer works with a very large number of editors, many of whom do not have strong computer skills. Even tasks that seem basic to us developers, like finding content in the trees based on the node

AW: [magnolia-dev] Re: Activation issue with 4.5.2

2012-07-30 Thread Unger, Richard
Hi Andrew, I've used the Bundle release on a Mac, without problems. Just unpack the bundle somewhere, and then add a new Apache Tomcat 6 runtime to your server configuration in eclipse. Configure the runtime to use the apache folder from the bundle. Then create a new Server that uses your newly

AW: [magnolia-dev] [JIRA] Created: (MGNLWORKFLOW-3) Create configuration for the module

2012-08-08 Thread Unger, Richard
Hi Jozef, Do I understand from this that you have started working on a new Workflow layer, integrating jBPM? If so, that's exciting news. I was investigating extending / replacing the workflow layer, as OpenWFE has been dead for a number of years, and its corpse is starting to smell, if you wi

AW: [magnolia-dev] Drupal Website Development

2012-08-24 Thread Unger, Richard
Hi Sofia, Drupal is a well-established system, quick to get set up and running, with many contributions (plugins, templates, etc...) available. It's especially good for sites with a focus on community functions (forums, blogs, etc...), and it has an active user community so getting support is ea

AW: [magnolia-dev] Any experiences integrating Magnolia into an existing Java based web app?

2012-10-29 Thread Unger, Richard
Hello, Yes, I have seen this done. In my case Magnolia was integrated into an existing Spring web-application. Some requests are handled completely by the spring application, while some other requests are first handled by the application (to load data and check the request) and then rendered by

AW: [magnolia-dev] Re: Any experiences integrating Magnolia into an existing Java based web app?

2012-10-31 Thread Unger, Richard
Hi Dave (?), Unfortunately I can't provide any code samples, I was only consulting for that project and not closely involved In the code. Magnolia provides CMIS (Webservice) interfaces for accessing content, that's one way you could get at the content stored in magnolia. However, I think from

AW: [magnolia-dev] Import/Export via shell script

2013-02-28 Thread Unger, Richard
Hi Jürgen, I don't think this will be easy to do via shell-script, but a groovy script run inside magnolia's groovy shell could be a good solution. Regards from Vienna, Richard -Ursprüngliche Nachricht- Von: dev-list-ow...@magnolia-cms.com [mailto:dev-list-ow...@magnolia-cms.com] Im A

AW: [magnolia-dev] jBPM vs Activiti

2013-03-22 Thread Unger, Richard
Hi Arik, AFAIK magnolia is using Guice and not Spring, but maybe I'm confused... I looked at both BPM engines in some detail, and both have their pros and cons... in the end both are very good products. IMHO jBPM has the slight edge in terms of tooling with the jBPM Eclipse Workbench (or whatev