On Sep 25, 2009, at 3:40 PM, Hartmut Kern wrote:
Hey Grégory,
http://wiki.magnolia-cms.com/display/WIKI/Changing+paragraph+template+associations
Let me stop you there; I didn't write that page ;) What I did, is
migrating the wiki (from an old jsp-wiki to Confluence) and being
stupid by using my own account to migrate the pages - as a result, all
pages that were there before the migration appear as if created by me.
Doh!
your template - idea for the problem is excellent and I need it! The
idea is, that one have to change a paragraph in Content i.e. from
"eventsTextP" (a changed TextP from me ...) to "stkTextImage" -, I
wanted to use now in 4.1 - Context.
Good idea, but the .jsp throws exceptions and the method
SessionAccessControl is deprecated.
The SessionAccessControl
Query migrateQuery =
SessionAccessControl
.getQueryManager( request ).createQuery( nodeSearch, "xpath") ;
throws an exception. The reason, I could find:
http://jira.magnolia-cms.com/browse/MAGNOLIA-628
tells me:
Use the MgnlContext instead of the SessionAccessControl
I looked a bit around, but I am not able to find the right method
for this wonderful jsp.
Can you please help me?
Aren't you looking for MgnlContext.getQueryManager() ?
http://dev.magnolia-cms.com/ref/4.1.1/apidocs/info/magnolia/context/MgnlContext.html#getQueryManager(java.lang.String)
Cheers,
-g
ps: feel free to edit/complete/fix the page !
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------