Starting with Magnolia (Training)

Hey,

I'm new to magnolia and on this site, you can make a training:
http://www.magnolia-cms.com/support-and-services/training.html

But I want to learn it by my self so I think the technical guide is the first place to go.

But when I look at the topics, there are different to the "Standard Training Curriculum"

Does the technical guide includes this topics? Is it enough to read and understand the technical guide, or
are there more important sources?

Beste regards,
jrost

--

-- 
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=ef3c822b-0cd3-4f92-9099-53f1347b9088

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Markus Malkusch | 1 Feb 11:18
X-Face
Favicon

internationalized NodeData

I want to store an internationalized attribute. AFAIS Magnolia uses the 
convention attributeName_isoCode. If I want to store the name in two languages 
I have to create the NodeData objects with the names "name_de" and "name_en". 
Plus there exists the exception "name" as a fallback?

Is there a convenient API which wraps around this convention?

Regards
Markus Malkusch

Re: Starting with Magnolia (Training)

Hi jrost,

You can learn independently for sure. Lots of people have. Where to start depends on how much you know about
content management and Java webapps. 

Start with the [url=http://documentation.magnolia-cms.com/technical-guide.html]Technical
Guide[/url] if you are a system architect or are evaluating different systems. It gives you a walkthrough
of the technology used in Magnolia CMS. The topics are not exactly the same as in the training but much is
common. To find out whether Magnolia CMS has the features you need, see also
[url=http://www.magnolia-cms.com/magnolia-cms/features.html]Features[/url] and [url=http://documentation.magnolia-cms.com/modules.html]Modules[/url].

Start with [url=http://documentation.magnolia-cms.com/editing/quick-guide.html]Quick Guide to
Creating a Site[/url] if you are the type that prefers to get hands dirty and learn by doing. From there, go
to [url=http://documentation.magnolia-cms.com/templating.html]Templating[/url]. Try the
[url=http://www.magnolia-cms.com/magnolia-cms/demo.html]online demo[/url] too.

If you want to develop your own Magnolia modules and customize the system, attending a training class would
be a good idea. Look at
[url=http://documentation.magnolia-cms.com/developing.html]Developing[/url] for dev setup instructions.

--Antti

--

-- 
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=ef3c822b-0cd3-4f92-9099-53f1347b9088

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------
(Continue reading)

Tobias Mattsson | 1 Feb 13:04

Re: Templating support object stk undefined

Hi,

Try changing the renderers set on your view resolvers to the ones from stk. They're in your blossom-servlet.xml or equivalent.


// Tobias

On Dec 19, 2011, at 2:14 PM, Magnolia Forums (on behalf of Jin Voon) wrote:

Hi,

In my Blossom paragraph template script, I am attempting to use the 'stk' objects:

[#assign teaserCount = ctx.index!stk.count(divIDPrefix)]

However, I'm getting 'Expression stk is undefined' exception.  Stacktrace can be found here.

http://pastebin.com/1SRhSCbD

I thought stk is a valid templating support object which I can use in my template?  Thanks.

--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=fbe4b1b6-6588-4219-af2d-caf3c0937402


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------
Tobias Mattsson | 1 Feb 13:32

Re: Blossom Command-Object

Hi,

When using free marker the model is exposed as free marker objects not request attributes. That's why the spring taglib can't find them.

You can customize the freemarker renderer to have it do this. Another alternative is to use springs freemarker macros instead. See http://static.springsource.org/spring/docs/2.5.x/reference/view.html#view-velocity-forms for more details.

There's also of course the possibility of using a JSP for this view.

// Tobias

On Jan 25, 2012, at 12:03 PM, Magnolia Forums (on behalf of Michael Thoden) wrote:

Hi,  

I'm trying to use the Spring Data-Binding with a blossom Template.
In the controller I'm adding my Command-Object to the Moddel-Map:
model.addAttribute("command", command);
But if I try to access the Command-Object by my Spring-Form:
< <at> form.form commandName="command" method="POST">
I always get the error:
javax.servlet.ServletException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is info.magnolia.module.templating.RenderException: Can't render template /templates/[......].ftl: IllegalStateException: Neither BindingResult nor plain target object for bean name 'command' available as request attribute

If I forward the command-object by an Reqest-Attribute the form is show but the data-binding is not working correctly because the Command-Object is created from scratch within the databinding and all field that are not in the form become null.

Is there something wrong with my data-binding?

Thank you and regards, Michael

--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=9bd8d683-1dd0-4602-a84b-cc518d3c815a


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Oracle 11g

Hi,

I am using Oracle as the Persitence Manager and every time I restart the webapp server (TOMCAT or JBOSS), the
Magnolia application ask me to reinstall the modules.

The magnolia.repositories.home is outside the webapp.

Thank you in advance for your help !

Eric

--

-- 
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=2258c5c0-b1ae-426b-b73f-a6465670ebb9

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Re: Starting with Magnolia (Training)

Thank you very much for your fast and helpful answer. I read the Technical Guide and now I will took a look at
the Features and Modules like you suggest. Also I will took a closer look the the STK and then start to create
my first Site :)

--

-- 
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=ef3c822b-0cd3-4f92-9099-53f1347b9088

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Re: Oracle 11g

Essentially, that must mean the repository is lost, one or another, and thus recreated at startup. If
Magnolia doesn't find nodes under /modules/ in the configuration workspace, it assumes the module it's
looking for needs to be installed (which is correct).

If you create content, say, in the website workspace, it's also lost after a restart, right ?

If so, I'll go ahead and assume there's something wrong with your configuration, but without further
details, it's hard to guess ;) Aren't you log files giving you any clue ? Otherwise, log files and
configuration files would help. Use something like pastie.org or some uploading service if you want to
share them.

--

-- 
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=2258c5c0-b1ae-426b-b73f-a6465670ebb9

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Will Scheidegger | 3 Feb 12:52
Picon

[magnolia-user] separate JAAS config for author and public not possible?

Dear Magnolians

Please excuse my ignorance, but I just now discovered something odd in the logs when starting up a Tomcat with an author and a public Magnolia instance which have different JAAS config files. The public instance starts up first (everything o.k.) followed by the author instance. And here is where things get interesting:

2012-02-03 12:45:15,471 INFO  fo.magnolia.cms.beans.config.PropertiesInitializer: Loading configuration at /path/to/tomcat/webapps/magnoliaAuthor/WEB-INF/config/default/magnolia.properties
Initializing Log4J
Initializing Log4J from [WEB-INF/config/default/log4j.xml]
2012-02-03 12:45:15,506 INFO  info.magnolia.cms.beans.config.ConfigLoader       : JAAS config file set by parent container or some other application
2012-02-03 12:45:15,513 INFO  info.magnolia.cms.beans.config.ConfigLoader       : Config in use /path/to/tomcat/webapps/magnoliaPublic/WEB-INF/config/jaas.config
2012-02-03 12:45:15,514 INFO  info.magnolia.cms.beans.config.ConfigLoader       : Please make sure JAAS config has all necessary modules (refer config/jaas.config) configured

So am I doing something wrong or does the first webapp with a JAAS configuration set the config for all following webapps (which would suck big time)?

Thanks for shedding some light on this!

-will



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

RE: [magnolia-user] separate JAAS config for author and public not possible?

Yes.

They are shared.

The first web app loading will prevent other jaas.config files to be loaded.

M.

 

From: user-list-owner <at> magnolia-cms.com [mailto:user-list-owner <at> magnolia-cms.com] On Behalf Of Will Scheidegger
Sent: venerdì, 3. febbraio 2012 12:53
To: Magnolia User-List
Subject: [magnolia-user] separate JAAS config for author and public not possible?

 

Dear Magnolians

 

Please excuse my ignorance, but I just now discovered something odd in the logs when starting up a Tomcat with an author and a public Magnolia instance which have different JAAS config files. The public instance starts up first (everything o.k.) followed by the author instance. And here is where things get interesting:

 

2012-02-03 12:45:15,471 INFO  fo.magnolia.cms.beans.config.PropertiesInitializer: Loading configuration at /path/to/tomcat/webapps/magnoliaAuthor/WEB-INF/config/default/magnolia.properties

Initializing Log4J

Initializing Log4J from [WEB-INF/config/default/log4j.xml]

2012-02-03 12:45:15,506 INFO  info.magnolia.cms.beans.config.ConfigLoader       : JAAS config file set by parent container or some other application

2012-02-03 12:45:15,513 INFO  info.magnolia.cms.beans.config.ConfigLoader       : Config in use /path/to/tomcat/webapps/magnoliaPublic/WEB-INF/config/jaas.config

2012-02-03 12:45:15,514 INFO  info.magnolia.cms.beans.config.ConfigLoader       : Please make sure JAAS config has all necessary modules (refer config/jaas.config) configured

 

So am I doing something wrong or does the first webapp with a JAAS configuration set the config for all following webapps (which would suck big time)?

 

Thanks for shedding some light on this!

 

-will

 

 

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Gmane