Hi Yves,
Ok, following this thread I understand a bit more where you are going.
While I know Spring, I don't know Spring Social, so please bear with me while I
try to understand what you are trying to achieve.
It looks to me like you have the following:
- you've created your own workspace and node-type. (that's advanced stuff!
consider using mgnl:contentNode, then it is more likely that you will be able
to use magnolia's helper functions when dealing with the node. mgnl:contentNode
nodes can have any properties you want)
- you've got a blossom template controller which you want to use to display
some data from your workspace --> no problem. Take a look at the NodeUtil and
PropertyUtil classes in magnolia. They will help you read nodes and properties
from JCR. Take a look at the ContentMap class. it will let you treat a Node
like a Map of properties, very handy.
MgnlContext.getJCRSession("workspaceName") will get you started with a JCR
session.
So now what I still don't really understand is your use-case, what are you
trying to do with spring social? Are you trying to get a login via facebook
working?
Regards from Vienna,
Richard
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:user-list-owner@magnolia-
> cms.com] Im Auftrag von Yves Tanas (via Magnolia Forums)
> Gesendet: Dienstag, 15. April 2014 02:13
> An: Magnolia User List
> Betreff: [magnolia-user] Re: Queries
>
> This is a blossom Template Controller testing out, how i can really get
> objects
> out of my jcr to test around with, as i am that inexperienced with this.
> Main Code is since line 108, the rest is what i did before to get there.
> I have let it in, so i maybe can watch over that later to see, what's
> happening
> on that nodes.
> Maybe this is someone of use or you can say me, there's a better way to do
> that without touching the UserManager.
> http://pastebin.com/eKXz2DiF
> As i said, i don't want to touch it, because this will be my most used output
> as
> i think, so i need to get used to use it correctly.
>
> --
> Context is everything: http://forum.magnolia-
> cms.com/forum/thread.html?threadId=dc82fcad-c120-4d7e-9178-
> a8125f5698e1
>
>
> ----------------------------------------------------------------
> 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: <[email protected]>
> ----------------------------------------------------------------
----------------------------------------------------------------
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: <[email protected]>
----------------------------------------------------------------