AnsweredAssumed Answered

How know all resource for One User. (SPARKWEB)

Question asked by RODs on Dec 14, 2010
Latest reply on Feb 15, 2011 by lenbo

Hello,

 

I'm use sparkweb for my project and it's very important that the user see all resource for contact. I see a variable resource in the abstractJID source code but she's not use for the creation of the roster item.

 

It is possible to know all resource for One User. Exemple :

toto@localhost/home

toto@localhost/dev

toto@localhost/test

 

and when i pass my mouse on "toto", i see Home / dev / test.

i can post you a screenShot with a other client.

And how is implemented.

Roster

=>Group[0]

   =>Contact[0]

          =>Ressource[0] = "home"

          =>Ressource[1] = "test"

   =>Contact[1]

          =>Ressource[0] = "home"

=>Group[1]

And with this hierarchy, it's so easy to acces all resource for One User.

 

For the time, i'm analyze the source code to find where is the bug because, we cannot acces at the resource list in the creation of the roster.

Can you help me to implements that hierarchy please.

 

Sorry for my very bad english.

 

RODs

Attachments

Outcomes