Hey Grégory,
ok, you stopped me.
And:
Aren't you looking for MgnlContext.getQueryManager() ?
Yes I did, but as far as I see, that has some consequences, which
throws me from one problem to another. I don't have the experiences in
changing node - content in the repository.
But I can and will do it, if there is no solution written by some more
experienced person.
Because the reason someone gets to this idea is obvious a problem you
can have with Magnolia.
Thanks
Hartmut
So, if someone other, who has an idea could look to the .jsp in the
Wiki has time and an idea, it would be great.
Am 25.09.2009 um 15:49 schrieb Grégory Joseph:
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]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------